Page 1 of 1

Trouble Logging in to opensubtitles.com

Posted: 14 Oct 2024, 19:16
by random0munky
Hello,
I am having issues with trying to use opensubtitles.com as opensubtitles.org seems to have stopped working for me. Here is what I executed via command line:

Code: Select all

PS C:\WINDOWS\system32> filebot -script fn:properties --def net.filebot.WebServices.OpenSubtitles.v2=true
Load user-defined System Properties
* Read C:\Users\random\AppData\Roaming\FileBot\system.properties
Update user-defined System Properties
* Set net.filebot.WebServices.OpenSubtitles.v2 = true
Store user-defined System Properties
* Write C:\Users\random\AppData\Roaming\FileBot\system.properties
#FileBot System Properties
#Fri Oct 11 14:16:20 PDT 2024
net.filebot.WebServices.OpenSubtitles.v2=true

Done ?(?????)?
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> filebot -script fn:configure --def '[email protected]' 'osdbPwd=PASSWORD'
Store user preferences to [User Preference Node: /net/filebot at HKEY_CURRENT_USER\Software\JavaSoft\Prefs]
Set OpenSubtitles login details
Checking... Resource not available: https://api.opensubtitles.com/api/v1/login [400 Bad Request]
Failed to fetch resource: https://api.opensubtitles.com/api/v1/infos/user: Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Abort (?_?)
PS C:\WINDOWS\system32> filebot -clear-cache
Clear cache
* Delete C:\Users\random\AppData\Roaming\FileBot\cache\0 (12 MB)
* Delete C:\Users\random\AppData\Roaming\FileBot\cache\1 (46 KB)
PS C:\WINDOWS\system32> filebot -script fn:configure --def '[email protected]' 'osdbPwd=PASSWORD'
Initialize new disk cache: C:\Users\random\AppData\Roaming\FileBot\cache\0
Store user preferences to [User Preference Node: /net/filebot at HKEY_CURRENT_USER\Software\JavaSoft\Prefs]
Set OpenSubtitles login details
Checking... Resource not available: https://api.opensubtitles.com/api/v1/login [400 Bad Request]
Failed to fetch resource: https://api.opensubtitles.com/api/v1/infos/user: Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Abort (?_?)
PS C:\WINDOWS\system32>

Are there any additional steps that I need to take. Using Filebot v5.1.5 Windows 10. I posted this in the Discord support channel, but unfortunately no resolution could be made.

Thanks

Re: Trouble Logging in to opensubtitles.com

Posted: 15 Oct 2024, 03:15
by rednoah
There are no additional steps.


The log you have posted on Discord confirms that you are using the REST API already, except it's not working for you for unknown reasons, likely server-side reasons that are not under your control:

Console Output: Select all

Resource not available: https://api.opensubtitles.com/api/v1/login [400 Bad Request]
Failed to fetch resource: https://api.opensubtitles.com/api/v1/infos/user: Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user

Here's what I get:

Console Output: Select all

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

$ filebot -script fn:configure --def osdbUser="..." --def osdbPwd="..."
...
Set OpenSubtitles login details
Checking... OK
...
downloads_count: 0
remaining_downloads: 20
...



:idea: You could try changing your user or password. You could try using a VPN. You could try from a different location / WIFI. It does seem to work from where I'm at, so that could be a clue.

Re: Trouble Logging in to opensubtitles.com

Posted: 15 Oct 2024, 16:22
by random0munky
Thank you rednoah again for your response.

Yeah it is super weird. I have tried with a VPN and without, but still received the same result. Luckily, I was able to revert back to using opensubtitles.org which seems to be working in "most" instances. I'll stick with opensubtitles.org for now and if need be, re-visit this in the future. Thanks for posting your console output. Helps I am not going mad or anything.

Re: Trouble Logging in to opensubtitles.com

Posted: 03 Nov 2024, 15:07
by kermitou
Hi,

I've faced the same kind of problem, take car of one important point : the username requested by the opensubtitle API is not an email adress but a simple username :-)

Hope this will help, have nice day