Jump to content

Open Subtitles Error - Unauthorized


GrimReaper
Message added by GrimReaper,

Recommended Posts

Posted

Having the same issue, have the latest plug-in version, have reverted to 1.0.55 and installs latest after server reboot. No issues with credentials.

2024-07-11 20:13:17.796 Error SubtitleManager: Error searching for subtitles on Open Subtitles
*** Error Report ***
Version: 4.9.0.26
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #69057 SMP Fri Jan 12 17:02:28 CST 2024
OS/Process: x64/x64
Framework: .NET 8.0.6
Runtime: system/System.Private.CoreLib.dll
Processor count: 4
Data path: /config
Application path: /system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
at OpenSubtitles.OpenSubtitleComDownloader.SearchSubtitlesAsync(OpenSubtitleQuery[] queries, OpenSubtitleOptions options, CancellationToken cancellationToken)
at OpenSubtitles.OpenSubtitleComDownloader.SearchInternal(SubtitleSearchRequest request, Boolean useFilename, OpenSubtitleOptions options, CancellationToken cancellationToken)
at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
at Emby.Providers.Subtitles.SubtitleManager.<>c__DisplayClass17_0.<<SearchSubtitles>b__3>d.MoveNext()
Source: OpenSubtitles
TargetSite: Void MoveNext()

Q-Droid
Posted

Checked my logs and have been getting the Unauthorized error since 6am yesterday (July 10th).

 

Q-Droid
Posted (edited)

Another thing. I removed my OS credentials and restarted Emby. This made it switch to the non-VIP API (https://api.opensubtitles.com/api/v1/) and I was able to search and download subtitles.

It confirms what @mooncaptain posted.

 

Edited by Q-Droid
Posted

Yes I think this issue is isolated now to vip users. Has anyone been able to try the test build I posted on the previous page? I'm hoping that will resolve it.

KaptainKrypton
Posted

Same situation for me.  When my credentials are input, the OpenSubtitles plugin gives a readback during manual subtitle searching of: "No results found.  Have you configured subtitle downloading?"  

Whenever I deleted my VIP credentials, it allows manual subtitle searches to go through and downloads to happen.  Otherwise, when I run the scheduled subtitle task it displays percentage progress but my OpenSubtitles account reports no downloads against my 1,000 daily limit.

Q-Droid
Posted
7 hours ago, Luke said:

Yes I think this issue is isolated now to vip users. Has anyone been able to try the test build I posted on the previous page? I'm hoping that will resolve it.

I'm on 1.0.57 from the catalog. Is this test build different from that one? It has the same version.

mooncaptain
Posted
14 hours ago, Luke said:

OK please try this build of the plugin and let me know if it resolves your issue:

I dropped this file into /var/lib/emby/plugins

I rebooted. Checked my credentials. But it didn't work.

Also I can't seem to clear my credentials either - to test the non-vip option. Even when I delete them they come back when I refresh the opensubtitles page.

Posted
14 minutes ago, mooncaptain said:

I dropped this file into /var/lib/emby/plugins

I rebooted. Checked my credentials. But it didn't work.

Also I can't seem to clear my credentials either - to test the non-vip option. Even when I delete them they come back when I refresh the opensubtitles page.

I needed to restart the server after wiping credentials for it to stick. 

mooncaptain
Posted (edited)
10 minutes ago, Ren34 said:

I needed to restart the server after wiping credentials for it to stick. 

this didn't help. After clearing (deleting text) and saving credential page the credentials return on refresh. Also tried this and cleared the browser cache. and rebooted. the credentials still come back.

Where are they stored on the server?

Edited by mooncaptain
Posted

I had the same issue and this worked for me : remove my credential and save. Restart the server.
I now have to I leave the credential empty for it to work. As soon as I enter my credential it stop working. I have a VIP acount for opensubtitle.
No clue of what's going on here...
server v4.8.8.0
opensubtitles v1.0.57.0 i

 

Posted
4 hours ago, Q-Droid said:

I'm on 1.0.57 from the catalog. Is this test build different from that one? It has the same version.

Yes it is different. I just made a change for testing without increasing the version.

Posted
12 hours ago, Luke said:

Yes I think this issue is isolated now to vip users. Has anyone been able to try the test build I posted on the previous page? I'm hoping that will resolve it.

I just tried your test build.  No change.  Logs still say unauthorized.

mooncaptain
Posted

first off - the new dll isn't working for me. Same pattern in logs as before.

2nd I can't get unhooked from my vip account by deleting the credentials.

So... I created a new opensubtitles.com account - no vip and that worked.

I can now download subtitles just not very many.

Happy2Play
Posted

So there is a specific issue with only OS VIP user within Emby premiere plugin setup? 

 

Q-Droid
Posted
2 hours ago, Luke said:

Yes it is different. I just made a change for testing without increasing the version.

I tried it. Same as before.

no-auth (api.opensubtitles.com/api/v1) works.

VIP (vip-api.opensubtitles.com/api/v1) doesn't work.

Quote

        MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized

 

Happy2Play
Posted

That is where this get confusing as not all these unauthorized appear to be VIP or per say are not hitting vip-api.

Q-Droid
Posted

Does the plug-in check for VIP status and uses the non-VIP API if the member has a basic OS account? I have only tested with (VIP) and without credentials (anonymous).

 

chief2810
Posted
23 hours ago, Luke said:

HI, please try updating to the latest version of the Emby open subtitles plugin, then restart the server, reconfigure your open subtitles credentials, and see how things compare. Thanks.

I have updated it with this file and am still having issues 

Removing credentials fixes it 

VIP OS member 

mooncaptain
Posted

I spoke too soon. I did get a list of subtitles when I switched to a non-vip account but... I get a NotAcceptable error message attempting to download.

Now I'm going to try addic7ed - I can down load that but now I'll see if it will sync my 23.8fps file.

Happy2Play
Posted
31 minutes ago, mooncaptain said:

I spoke too soon. I did get a list of subtitles when I switched to a non-vip account but... I get a NotAcceptable error message attempting to download.

 

I will guess removing credentials puts you back in the bottom tier of OS daily limit of 5 downloads.

2024-07-11 15:44:50.366 Info SecurityManager: Not registered for MBSupporter
2024-07-11 15:44:50.367 Info OpenSubtitleComDownloader: Logging into OpenSubtitles-Emby-f
2024-07-11 15:44:50.619 Info HttpClient: POST https://api.opensubtitles.com/api/v1/login

As this become an issue for Emby non-premeire and OS VIP users.

Posted
14 hours ago, Ren34 said:

I just tried your test build.  No change.  Logs still say unauthorized.

HI, please attach the emby server log. Thanks.

Q-Droid
Posted (edited)

Attaching logs using the test plug-in in case there was debugging info in that build. One file with credentials (failed) and the other without (worked).

 

 

embyserver-OS_Anon.txt

embyserver-OS_VIP.txt

Edited by Q-Droid
Posted

Same problem here.

Emby VIP and OS VIP

mooncaptain
Posted

Current state - somehow my new non-vip login attempted or completed 20 downloads when I wasn't looking. I turned off the scheduled task.  Once the limit cleared after 24 hours I can now at least download subtitles.

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