Jump to content

opensubtitles plugin not working


gtpvkr
Go to solution Solved by gtpvkr,

Recommended Posts

Prerequisites:

  1. I imported my account to new opensubtitles.com site from org 
  2. And added new logins in plugin
  3. I've premium subscription
  4. When i click on search button , I see the following exception in logs

 

image.png.768e25dee3f353e04c3f71b8e875e097.png

 

2024-02-08 16:11:51.631 Info HttpClient: POST https://api.opensubtitles.com/api/v1/login
2024-02-08 16:11:51.728 Error HttpClient: Error getting response from https://api.opensubtitles.com/api/v1/login
    *** Error Report ***
    Version: 4.8.0.80
    Command line: C:\4.7.11\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/4.7.11/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: C:\4.7.11\programdata
    Application path: C:\4.7.11\system
    System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
     ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
     ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
       --- End of inner exception stack trace ---
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       --- End of inner exception stack trace ---
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
       at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
    Source: System.Net.Http
    TargetSite: Void MoveNext()
    InnerException: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    Source: System.Net.Sockets
    TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
    InnerException: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
    Source: 
    TargetSite: 
    
2024-02-08 16:11:51.729 Error SubtitleManager: Error searching for subtitles on Open Subtitles
    *** Error Report ***
    Version: 4.8.0.80
    Command line: C:\4.7.11\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/4.7.11/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: C:\4.7.11\programdata
    Application path: C:\4.7.11\system
    System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
     ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
     ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
       --- End of inner exception stack trace ---
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       --- End of inner exception stack trace ---
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at OpenSubtitles.OpenSubtitleComDownloader.Login(OpenSubtitleOptions options, CancellationToken cancellationToken)
       at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
       at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
    Source: System.Net.Http
    TargetSite: Void MoveNext()
    InnerException: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    Source: System.Net.Sockets
    TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
    InnerException: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
    Source: 
    TargetSite: 
    

Link to comment
Share on other sites

6 hours ago, Sammy said:

I didn't know they changed from .org to .com.

 

Link to comment
Share on other sites

6 hours ago, gtpvkr said:

@Luke please help me on this

Are you using a vpn? If so try turning it off and ensuring that windows is fully up to date.

Link to comment
Share on other sites

@Luke I see diffent api hitting now but same issue 

2024-02-10 14:40:57.875 Info HttpClient: GET https://vip-api.opensubtitles.com/api/v1/infos/languages
2024-02-10 14:40:58.276 Error HttpClient: Error getting response from https://vip-api.opensubtitles.com/api/v1/infos/languages
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\4.7.11\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/4.7.11/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: C:\4.7.11\programdata
    Application path: C:\4.7.11\system
    System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
     ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
     ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
       --- End of inner exception stack trace ---
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       --- End of inner exception stack trace ---
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
       at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
    Source: System.Net.Http
    TargetSite: Void MoveNext()
    InnerException: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    Source: System.Net.Sockets
    TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
    InnerException: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
    Source: 
    TargetSite: 
    
2024-02-10 14:40:58.277 Error SubtitleManager: Error searching for subtitles on Open Subtitles
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\4.7.11\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/4.7.11/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: C:\4.7.11\programdata
    Application path: C:\4.7.11\system
    System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
     ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
     ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
       --- End of inner exception stack trace ---
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
       at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
       at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       --- End of inner exception stack trace ---
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at OpenSubtitles.OpenSubtitleComDownloader.GetOpenSubtitlesLanguages(OpenSubtitleOptions options, CancellationToken cancellationToken)
       at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
       at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
    Source: System.Net.Http
    TargetSite: Void MoveNext()
    InnerException: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    Source: System.Net.Sockets
    TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)

Edited by gtpvkr
Link to comment
Share on other sites

@Luke I have connected with my mobile network and could see it is searching subtitle but while downloading i see below error

 

Screenshot 2024-02-10 150453.png

Link to comment
Share on other sites

tenchiowo

Hi Luke, unfortunately I am seeing the same issue as well with searching for and retrieving subtitles.

  • I am a VIP User of OpenSubtitles
  • I restarted the server and then tried to download subtitle so that the log file is smaller so you don't have to filter through all of the noise. 
  • I have tried retrieving subtitles multiple days and restarted the server multiple times to make sure it was not a network issue. 

This is all I am seeing when searching. 

image.png.b4feaea81841743ddba449470959aede.png

Taking a look at the OS website there are multiple subtitles available. 

Let me know if you require anything else, 

embyserver.txt

Link to comment
Share on other sites

Neminem

@tenchiowolooking at your logs, it looks like you login or password is not accepted.

Are you using user name or email as login name ?

It should be user name.

2024-02-18 08:10:03.031 Error SubtitleManager: Error searching for subtitles on Open Subtitles
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.19045
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 22
    Data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at OpenSubtitles.OpenSubtitleComDownloader.Login(OpenSubtitleOptions options, CancellationToken cancellationToken)
       at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
       at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()

Link to comment
Share on other sites

tenchiowo

Thanks for the quick reply and when trying to figure this issue out and seeing the logs I thought the same thing. I also checked the firewall to ensure that somehow it was not being geo blocked. Not too much has changed with my setup as I have been able to download subtitles in the past without issue aside from the server upgrade. 

 

Annnnd... It was because I was logging into the opensubtitles.org and not opensubtitles.com where my username had not been imported as of yet. Once I did so everything worked again.. 

 

Thanks for being the second pair of eyes and making me re-think the issue again it is much appreciated. 

Link to comment
Share on other sites

  • Solution

@LukeWindows is fully upto date and no vpn used.

issue started when switched .com .

I just downgraded plugin to 1.0.34 version and works fine with org credentials. 
 

as work around i disabled write permission to that dll file for now. 

Edited by gtpvkr
Link to comment
Share on other sites

McMovies
12 hours ago, gtpvkr said:

I just downgraded plugin to 1.0.34 version and works fine with org credentials. 

how to downgrade?

im facing the same issue i will downgrade as well. 

Link to comment
Share on other sites

McMovies
Quote

No results found. Have you configured subtitle downloading?

I get this error now. :( everything is entered correctly. 

Link to comment
Share on other sites

@McMoviesgo to plugins catlog tab , find open subtitles plugin and open it, in plugin in detail page you can see drop down with list of versions, select required one and install.

now restart.( read below before restart)

please note that emby automatically updates plugin to latest version.

Inoder to prevent that you need go to physical plugins folder in your server and find related .dll file and update permissions to read only. ( this you need to do before restarting)

Link to comment
Share on other sites

McMovies

@gtpvkrthanks. downgraded it successfully. 
does it take time to work? im getting "too many request" in logs. So old version also not yet working.
if i go to individual move and try to download sub it says -  "No results found. Have you configured subtitle downloading?"

is there any cache somewhere or something i need to delete,  already restarted server. 

.org version always worked for me, never had any issue. ( btw im in the last  v4.7.xx server version, with no intent to upgrade to v4.8)

Link to comment
Share on other sites

Can you check the installed plugin version, it won’t take time, as soon as you restarted it should work.

 

check in the logs if it is pointing to org or .com

Link to comment
Share on other sites

roaku
2 minutes ago, McMovies said:

@gtpvkrthanks. downgraded it successfully. 
does it take time to work? im getting "too many request" in logs. So old version also not yet working.
if i go to individual move and try to download sub it says -  "No results found. Have you configured subtitle downloading?"

is there any cache somewhere or something i need to delete,  already restarted server. 

.org version always worked for me, never had any issue. ( btw im in the last  v4.7.xx server version, with no intent to upgrade to v4.8)

The org api is still up for vip users only, but will be going away altogether at some point.

I think it makes more sense for you to spend your troubleshooting effort on the current version of the plugin, which is compatible with the current and future version of the opensubtitles api. Do you have a log from when the current version of the plugin was giving you trouble?

https://blog.opensubtitles.com/opensubtitles/saying-goodbye-to-opensubtitles-org-api-embrace-the-20-black-friday-treat

Link to comment
Share on other sites

iiiJoe

I had to transfer over to .com as well and this took several hours for migration. When I tried searching for subtitles the search yielded nothing until migration was complete. After that everything worked great. Hope this helps 

Link to comment
Share on other sites

McMovies

@roakuim VIP user in org. But now i reverted back to 1.0.52.0 for obvious reasons. 

Quote

> Do you have a log from when the current version of the plugin was giving you trouble?


my logs are flushed after 48hours, cant exactly pinpoint when it started giving trouble. as plugin autoupdate and my server auto-restarts for updates
After migrating to .com it was working absolutely fine.
Guess, i was able to manually download subs for individual move untill last week. recently only when i tried to download manually it started to give me error on my face. 

here is genrally what the log says for quite some time now.: 
 

Error SubtitleManager: Error downloading subtitles from Open Subtitles
	*** Error Report ***
	Version: 4.7.14.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_arm64.deb
	Operating system: Linux version 6.1.21-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SM
	Framework: .NET 6.0.20
	OS/Process: arm64/arm64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
	 ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
	 ---> System.Net.Sockets.SocketException (104): Connection reset by peer
	   --- End of inner exception stack trace ---
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
	   at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
	   at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
	   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
	   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at OpenSubtitles.OpenSubtitleComDownloader.GetOpenSubtitlesLanguages(OpenSubtitleOptions options, CancellationToken cancellationToken)
	   at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
	   at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
	Source: System.Net.Sockets
	TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
	   at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
	   at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
	   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
	   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
	InnerException: System.Net.Sockets.SocketException: Connection reset by peer

 

and once in a while this - 

> Info HttpClient: GET https://vip-api.opensubtitles.com/api/v1/infos/languages 
> Error HttpClient: Error getting response from https://vip-api.opensubtitles.com/api/v1/infos/languages 

Edited by McMovies
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...