Cannot login to OpenSubtitles (error 429)

Any questions? Need some help?
Post Reply
redlukas
Posts: 5
Joined: 01 Dec 2017, 18:35

Cannot login to OpenSubtitles (error 429)

Post by redlukas »

Running filebot 5.1.6

Code: Select all

$ filebot -script fn:configure
Enter OpenSubtitles username: [email protected]
Enter OpenSubtitles password: heregoesmypassword
Store user preferences to [User Preferences: /home/rl/FileBot_5.1.6-portable/data/1000/prefs.properties at /home/rl/FileBot_5.1.6-portable/data/1000/prefs.properties]
Set OpenSubtitles login details
Checking... https://api.opensubtitles.com/api/v1/login [429 Client Error 429]
Abort (×_×)
The same error occurs when I try to login on using the GUI (has been happening for at least a few months, but I have barely used Filebot in this period).

The login details are correct, I have used them to login in opensubtitles.com via the browser.

I have only checked with the cable connection, the only one I have. I am not using a VPN or anything similar.

Thanks!
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot login to OpenSubtitles (error 429)

Post by rednoah »

429 Too Many Requests means the OpenSubtitles API is rate limiting you. Maybe it'll work again if you try again after a day or two. Maybe someone else with the same public IP is abusing the API. Could by anything.

:arrow: OpenSubtitles support may be able to tell you why your IP is being blocked.

:arrow: You could try to open a hotspot on your phone and then access the internet from a different IP that way.
:idea: Please read the FAQ and How to Request Help.
Leokosta
Posts: 10
Joined: 08 Apr 2017, 18:25

Re: Cannot login to OpenSubtitles (error 429)

Post by Leokosta »

i have the same error. Using version 4.7.9 no error. Version 5.1.6 a get the error.

I solved by opening the Powershell and typing:

Shell: Select all

filebot -script fn:properties --def net.filebot.WebServices.OpenSubtitles.v2=true
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot login to OpenSubtitles (error 429)

Post by rednoah »

You can switch between the new REST API and old XML-RPC API if one happens to work better for you than the other. They run on different servers and would thus likely have different unrelated rate limits. The old XML-RPC API may get shut down permanently in the not too distant future though. That's up the OpenSubtitles maintainers.

:idea: OpenSubtitles REST API › Configure FileBot to use the old OpenSubtitles XML-RPC API

:idea: Note that the net.filebot.WebServices.OpenSubtitles.v2 settings has no effect if you're using FileBot 5.1.6 so the 429 Too Many Requests issue has likely resolved itself as would be expected from a temporary rate limit.
:idea: Please read the FAQ and How to Request Help.
Leokosta
Posts: 10
Joined: 08 Apr 2017, 18:25

Re: Cannot login to OpenSubtitles (error 429)

Post by Leokosta »

Thanks for answering. I am using 5.1.6 , and have this problem for weeks now. Just after I input the command, it was resolved. I tested also on portable 4.7.9, was not having issues. Not sure why the command solved the issue, since it has no effect on 5.1.6. It would have been a big coincidence if right after the command, the problem fixed itself.
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot login to OpenSubtitles (error 429)

Post by rednoah »

:idea: 4.7.9 uses the XML-RPC API.

:idea: 5.1.6 uses the REST API by default. The REST API is giving you the 429 Too Many Requests response.


:idea: You could set / unset net.filebot.WebServices.OpenSubtitles.v2 to confirm that that setting indeed makes a difference or not:

Shell: Select all

filebot -script fn:properties --def net.filebot.WebServices.OpenSubtitles.v2=

:idea: You can set / unset net.filebot.WebServices.OpenSubtitles.v1 to force 5.1.6 to use the XML-RPC or the REST API, whichever works best for you:

Shell: Select all

filebot -script fn:properties --def net.filebot.WebServices.OpenSubtitles.v1=true
:idea: Please read the FAQ and How to Request Help.
Leokosta
Posts: 10
Joined: 08 Apr 2017, 18:25

Re: Cannot login to OpenSubtitles (error 429)

Post by Leokosta »

Tested here. Both are working, 5.1.6 and 4.7.9 . Thank you
Post Reply