Jump to content

OpenSubtitles - 406 Error Not Acceptable


hollyeva

Recommended Posts

hollyeva

Hello, when trying to download subtitles I am receiving an error (406) not acceptable. Does anyone have any idea why? My credentials are correct. I've uploaded my server log for debug. 

Running Emby Version 4.8.1.0 on WD EX2 Ultra NAS. 

 

*** Error Report ***
Version: 4.8.1.0
Command line: /mnt/HD/HD_a2/Nas_Prog/embyserver/system/EmbyServer.exe -programdata /mnt/HD/HD_a2/emby -ffdetect /mnt/HD/HD_a2/Nas_Prog/embyserver/bin/ffdetect -ffmpeg /mnt/HD/HD_a2/Nas_Prog/embyserver/bin/ffmpeg -ffprobe /mnt/HD/HD_a2/Nas_Prog/embyserver/bin/ffprobe -nolocalportconfig -defaultdirectory /shares/Public -updatepackage emby-server-western_digital-mono-os5-any_{version}_arm.bin -noskia -noautorunwebapp
Operating system: Linux version 4.14.22-armada-18.09.3 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Thu Oct 27 08:25:39 UTC 2022 ga-18.09.3 Build-30
Framework: Mono: 6.12.0.182 (tarball Thu Jan 19 10:28:52 PM UTC 2023)
OS/Process: X86/X86
Runtime: mnt/HD/HD_a2/Nas_Prog/embyserver/lib/mono/4.5/mscorlib.dll
Processor count: 2
Data path: /mnt/HD/HD_a2/emby
Application path: /mnt/HD/HD_a2/Nas_Prog/embyserver/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: The remote server returned an error: (406) Not Acceptable. ---> System.Net.WebException: The remote server returned an error: (406) Not Acceptable.
at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <887d52df94a649318d9d6394bdacbad6>:0
--- End of inner exception stack trace ---
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x00839] in <f46ac234358a430d96fca67f9854bfb5>:0
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <f46ac234358a430d96fca67f9854bfb5>:0
at OpenSubtitles.OpenSubtitleComDownloader.DownloadSubtitlesToString (System.String id, OpenSubtitles.OpenSubtitleOptions options, System.Threading.CancellationToken cancellationToken) [0x00185] in <5ebf71e4cc4b43cda255946eddccf7c3>:0
at OpenSubtitles.OpenSubtitleComDownloader.GetSubtitlesInternal (System.String id, OpenSubtitles.OpenSubtitleOptions options, System.Threading.CancellationToken cancellationToken) [0x00175] in <5ebf71e4cc4b43cda255946eddccf7c3>:0
at Emby.Providers.Subtitles.SubtitleManager.DownloadSubtitles (MediaBrowser.Controller.Entities.BaseItem item, System.String subtitleId, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, System.Threading.CancellationToken cancellationToken) [0x0043b] in <465d5219b06049dc96eb141afb9612d0>:0
at Emby.Api.Subtitles.SubtitleService.Post (Emby.Api.Subtitles.DownloadRemoteSubtitles request) [0x000ca] in <2429534d9f41454f90134944855bd9a2>:0
at Emby.Server.Implementations.Services.ServiceController.GetTaskResult (System.Threading.Tasks.Task task) [0x00081] in <0cac6f1e304b4694a4618d07c28f0b16>:0
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x0018b] in <0cac6f1e304b4694a4618d07c28f0b16>:0
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00acb] in <0cac6f1e304b4694a4618d07c28f0b16>:0
Source: mscorlib
TargetSite: Void Throw()
InnerException: System.Net.WebException: The remote server returned an error: (406) Not Acceptable.
Source: System
TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult)
at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <592c5cca45dd4995b6e53e31bac2a687>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <887d52df94a649318d9d6394bdacbad6>:0

 

 

embyserver.txt

Link to comment
Share on other sites

chief2810

It’s because open subtitles have changed it so you can only download subtitles 5 times over a 24 hour period. 

If you then try and download over this it’ll throw an error. 

  • Like 2
Link to comment
Share on other sites

HI, to download more you'll need OpenSubtitles VIP access.

But stay tuned. We have a deal with OpenSubtitles that will benefit our Emby Premiere users, although we haven't rolled this out yet.

  • Like 1
Link to comment
Share on other sites

hollyeva

Oooh. So if my library is scheduled to download subtitles is it just picking 5 that don't have them? Or is that querying 5 times and capping it out immediately? 

Is it worth just paying for VIP or will the new benefit roll out soon?

Link to comment
Share on other sites

Aphazia82

I'm getting the same error. But I am a VIP member. So I would wait if i where you. Just started today. Yesterday everything was working fine

Link to comment
Share on other sites

Janco123

I get the same error, although I haven't downloaded any subtitles recently (and certainly not more than 5 times over a 24 hour period).

Link to comment
Share on other sites

Aphazia82

Tried an old  account . hasn't been used in months. Same error. I don;t think it has anything to do with that 5 downloads restriction

  • Agree 2
Link to comment
Share on other sites

Happy2Play

I can only guess they are making changes and we have to wait on the dev to push another update.  But sound like dev has another fix coming.

 

I can only guess either something is wrong with their tracking system or lots of users are appearing to be coming from the same address.  As this error appear to be their download system.

OpenSubtitles.com provider doesn't handle download quota properly · Issue #2153 · morpheus65535/bazarr (github.com)

Link to comment
Share on other sites

RobbyBobby

Just a "me too". I'm an Open Subtitles VIP member of many years and can no longer install subtitles with Emby.

Hope to see a fix from them or you  -- or both 😀 -- soon.

 

Link to comment
Share on other sites

Paxtor

I have the same problemon nvidia shield emby last beta version....

Subtitle Download Failed from Open Subtitles on Shield
L....
15. 4. 2024, 21:56:42
Subtitle Download Failed from Open Subtitles on Shield
NotAcceptable
Link to comment
Share on other sites

Happy2Play

Yep per the other topic looks like they worked out their issues.

Link to comment
Share on other sites

Q-Droid

Same here. It worked as recently as last night but not today.

Link to comment
Share on other sites

Q-Droid

Following up on this. Something is flakey on the Open Subtitles side and even their website is throwing occasional errors. It could very well be a networking or infrastructure problem that's affecting both their site and the API endpoint. After multiple attempts and getting this same error I was able to fetch a couple of the subtitles I needed.

 

Link to comment
Share on other sites

Paxtor

I have found out that subtitles can be installed via the computer.
However, it's not possible via the shield.

Link to comment
Share on other sites

Paxtor
22 hours ago, Paxtor said:

I have found out that subtitles can be installed via the computer.
However, it's not possible via the shield.

it already works on TV shield, it seems there was an error on OpenSubtitles...

Link to comment
Share on other sites

Q-Droid

It's an intermittent problem that comes and goes, most likely on the Open Subtitles end. For the last few days I've had the error from all devices and it's also worked from all devices. Hopefully they get it sorted soon if they haven't already.

Link to comment
Share on other sites

Hi, we are looking into this. But yes right now it is intermittent. Thanks.

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...