Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
exCiteBE
Posts: 4
Joined: Tue Dec 13, 2016 11:16 am

Emby Problems

Tue Dec 13, 2016 11:21 am

Hi,

I'm experiencing some problems with Emby and OpenSubtitles downloads.
Emby doesn't seem to download any subtitles and I get these errors in my logs:

2016-12-13 06:15:20.6644 Error HttpClient: Error getting response from https://api.opensubtitles.org/xml-rpc
*** Error Report ***
Version: 3.0.8500.0
Command line: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/pbi/emby-amd64/bin/ffmpeg -ffprobe /usr/pbi/emby-amd64/bin/ffprobe -programdata /var/db/emby-server
Operating system: Unix 10.3.0.0
Processor count: 4
64-Bit OS: True
64-Bit Process: True
Program data path: /var/db/emby-server
Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Mon Aug 22 04:48:30 UTC 2016)
Application Path: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe
One or more errors occurred.
System.AggregateException


InnerException: System.Net.WebException
The remote server returned an error: (503) Backend fetch failed.

User avatar
SmallBrother
Site Admin
Posts: 3724
Joined: Sun Mar 04, 2012 12:59 pm
Location: Somewhere on this globe

Re: Emby Problems

Tue Dec 13, 2016 2:23 pm

The remote server returned an error: (503) Backend fetch failed.
I don't know about this particular case (Emby/API), but when I see this error I am pretty sure this is just a temporary error, occurring for everybody (not just API or only for Emby). Most probably, if you try again now, it will be okay. Yes?
Nowadays a VPN is a must for everyone. A VPN allows you safe surfing and protects you against spying governments and companies.
I advise AirVPN - from € 2,75 per month. Click the below banner for more info.


Image

exCiteBE
Posts: 4
Joined: Tue Dec 13, 2016 11:16 am

Re: Emby Problems

Tue Dec 13, 2016 3:02 pm

The remote server returned an error: (503) Backend fetch failed.
I don't know about this particular case (Emby/API), but when I see this error I am pretty sure this is just a temporary error, occurring for everybody (not just API or only for Emby). Most probably, if you try again now, it will be okay. Yes?
I've been getting these errors for a while now, so no subs are being downloaded for a couple of new episodes.

InnerException: System.AggregateException
One or more errors occurred.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x815fad360 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x8116faeb0 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x8116fab00 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80885cfd0 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x8088e8be0 + 0x0001f> in <filename unknown>:0
at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () <0x8103472a0 + 0x00c5a> in <filename unknown>:0
InnerException: System.Net.WebException
The remote server returned an error: (503) Backend fetch failed.
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x8103a6300 + 0x0020d> in <filename unknown>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x8103a5e60 + 0x00093> in <filename unknown>:0

2016-12-13 06:15:20.8438 Info HttpClient: HttpClientManager POST: https://api.opensubtitles.org/xml-rpc
2016-12-13 06:15:20.8876 Error HttpClient: Error getting response from https://api.opensubtitles.org/xml-rpc
*** Error Report ***
Version: 3.0.8500.0
Command line: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/pbi/emby-amd64/bin/ffmpeg -ffprobe /usr/pbi/emby-amd64/bin/ffprobe -programdata /var/db/emby-server
Operating system: Unix 10.3.0.0
Processor count: 4
64-Bit OS: True

User avatar
SmallBrother
Site Admin
Posts: 3724
Joined: Sun Mar 04, 2012 12:59 pm
Location: Somewhere on this globe

Re: Emby Problems

Tue Dec 13, 2016 3:18 pm

If you are getting this response NOW, then there is something else going on. Then you would have to wait for oss or someone else to help you further.

Meanwhile, please double check if this is NOW, because I see the same time stamp in your error:
From your first post:
2016-12-13 06:15:20.6644
From your recent post:
2016-12-13 06:15:20.8438

Also, isn't there something missing in your last error report?
From your first post:
Operating system: Unix 10.3.0.0
Processor count: 4
64-Bit OS: True

64-Bit Process: True
Program data path: /var/db/emby-server
Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Mon Aug 22 04:48:30 UTC 2016)
Application Path: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe
One or more errors occurred.
System.AggregateException

InnerException: System.Net.WebException
The remote server returned an error: (503) Backend fetch failed.



In your second post it stops after
Operating system: Unix 10.3.0.0
Processor count: 4
64-Bit OS: True


Because a complete error report helps a lot to find the cause.
Nowadays a VPN is a must for everyone. A VPN allows you safe surfing and protects you against spying governments and companies.
I advise AirVPN - from € 2,75 per month. Click the below banner for more info.


Image

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Emby Problems

Thu Dec 15, 2016 3:29 am

if you are getting that error, try to go to https://api.opensubtitles.org/xml-rpc using the browser - if you can see response, response should be:

Code: Select all

<methodResponse> <params> <param> <value> <struct> <member> <name>status</name> <value> <string>parse error. not well formed</string> </value> </member> <member> <name>seconds</name> <value> <double>0.001</double> </value> </member> </struct> </value> </param> </params> </methodResponse>
If you are getting something else, API could have temporary problem. In same time, you can try if www.opensubtitles.org is opening for you

exCiteBE
Posts: 4
Joined: Tue Dec 13, 2016 11:16 am

Re: Emby Problems

Wed Jan 25, 2017 8:53 am

I can open the URL from my laptop, even afr the last Emby update, no subtitles:

2017-01-25 07:46:45.3488 Info HttpClient: HttpClientManager POST: https://92.240.234.122/xml-rpc
2017-01-25 07:46:45.6781 Info HttpClient: HttpClientManager POST: https://92.240.234.122/xml-rpc
2017-01-25 07:46:46.5005 Info SubtitleManager: Saving subtitles to /VideoFiles/Series/Family Guy/Season 07/Family Guy - S07E13.dut.srt
2017-01-25 07:46:46.8458 Error App: Error in ffprobe
*** Error Report ***
Version: 3.1.2.0
Command line: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/pbi/emby-amd64/bin/ffmpeg -ffprobe /usr/pbi/emby-amd64/bin/ffprobe -programdata /var/db/emby-server
Operating system: Unix 10.3.0.0
64-Bit OS: True
64-Bit Process: True
Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Mon Aug 22 04:48:30 UTC 2016)
Processor count: 4
Program data path: /var/db/emby-server
Application directory: /usr/pbi/emby-amd64/lib/emby-server
System.Exception: ffprobe failed - streams and format are both null.
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async2.MoveNext () <0x81259b110 + 0x00a26> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80b4745a0 + 0x0001f> in <filename unknown>:0
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>c__async1.MoveNext () <0x812599d20 + 0x00460> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80b4745a0 + 0x0001f> in <filename unknown>:0
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>c__async0`1[T].MoveNext () <0x812598720 + 0x00a2f> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80d3f04e0 + 0x0001a> in <filename unknown>:0
at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>c__async7[TItemType,TIdType].MoveNext () <0x811fce1f0 + 0x0036f> in <filename unknown>:0
System.Exception
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async2.MoveNext () <0x81259b110 + 0x00a26> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80b4745a0 + 0x0001f> in <filename unknown>:0
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>c__async1.MoveNext () <0x812599d20 + 0x00460> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80b4745a0 + 0x0001f> in <filename unknown>:0
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>c__async0`1[T].MoveNext () <0x812598720 + 0x00a2f> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x810fd6000 + 0x00038> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x810fd5c10 + 0x00118> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x810fd5b40 + 0x000b3> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x80b01eb40 + 0x00042> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80d3f04e0 + 0x0001a> in <filename unknown>:0
at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>c__async7[TItemType,TIdType].MoveNext () <0x811fce1f0 + 0x0036f> in <filename unknown>:0

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Emby Problems

Wed Jan 25, 2017 12:24 pm

first of all , why emby is conencting to ? https://92.240.234.122/xml-rpc

this is wrong. it should be https://api.opensubtitles.org/xml-rpc and IP should be cloudflare, otherwise you will get certificate error.

exCiteBE
Posts: 4
Joined: Tue Dec 13, 2016 11:16 am

Re: Emby Problems

Wed Jan 25, 2017 12:28 pm

first of all , why emby is conencting to ? https://92.240.234.122/xml-rpc

this is wrong. it should be https://api.opensubtitles.org/xml-rpc and IP should be cloudflare, otherwise you will get certificate error.
I added to the emby jails hosts file (running on FreeNAS) as a test because downloading wasn't working.

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Emby Problems

Wed Jan 25, 2017 12:53 pm

so remove all hosts file concerning opensubtitles.org - otherwise it will not work on https

Return to “Programs using OS”

Who is online

Users browsing this forum: No registered users and 30 guests