exebetche/vlsub

Error: code '401 Unauthorized' (200)

dothackjhe opened this issue Β· 34 comments

I've been having this error when trying to download a subtitle for movies since a day or two ago. How do I fix this?

Same issue for me. Any clue ?

same here. how to solve?

It seems that the useragent is being rejected or something like that by the server. Tried changing the useragent in the code for Chrome's one but didn't help.

https://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC

Just register on https://www.opensubtitles.org and provide your username and password for the addon in the Show config menu.

yep, signed in, problem solved /
thanks!

Just register on https://www.opensubtitles.org and provide your username and password for the addon in the Show config menu.

Thanks for sharing @elmerenges, even applying the credentials (I did not have them before, I still get 401 Unauthorized.


It seems that the useragent is being rejected or something like that by the server. Tried changing the useragent in the code for Chrome's one but didn't help.

https://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC

@Trisky trying to access to wiki's address I get a 503, is it working for you the link? I would like to try with Postman the Same Request and get more info from there :)

@dominguezcelada
Yes, it indeed works for me now. Maybe it was down yesterday?

Sure thing trying the same request with postman would help debug the issue.

@dominguezcelada
Yes, it indeed works for me now. Maybe it was down yesterday?

Sure thing trying the same request with postman would help debug the issue.

@Trisky Yes! Now https://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC link is working. Still getting 401. I will try to take a look this afternoon (Barcelona, Spain timezone) and give it a try with Postman. I will try to post whatever I find πŸ’ͺ

@dominguezcelada
Yes, it indeed works for me now. Maybe it was down yesterday?
Sure thing trying the same request with postman would help debug the issue.

@Trisky Yes! Now https://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC link is working. Still getting 401. I will try to take a look this afternoon (Barcelona, Spain timezone) and give it a try with Postman. I will try to post whatever I find πŸ’ͺ

  • Tried doing it with https:// + port 443 but no luck. (adding my credentials of too).
  • I'm not being able to put Charles Proxy in the middle of VLC and MacOS to capture the exact request done by VLC. Any help or tool you may know to get that?

Also, I found this post on opensubtitles forum. Let's see if it's something on their end:
https://forum.opensubtitles.org/viewtopic.php?f=8&t=17115

In case it's not obvious: you also must confirm your email address via the link in the OpenSubtitles.org Account Confirmation email. Works for me.

In case it's not obvious: you also must confirm your email address via the link in the OpenSubtitles.org Account Confirmation email. Works for me.

That's an important point @quinncomendant! But in my case, yes, I confirmed my account through the activation link.

Thanks for the point because it could be the reason for somebody having problems.

@dominguezcelada
Yes, it indeed works for me now. Maybe it was down yesterday?
Sure thing trying the same request with postman would help debug the issue.

@Trisky Yes! Now https://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC link is working. Still getting 401. I will try to take a look this afternoon (Barcelona, Spain timezone) and give it a try with Postman. I will try to post whatever I find πŸ’ͺ

  • Tried doing it with https:// + port 443 but no luck. (adding my credentials of too).
  • I'm not being able to put Charles Proxy in the middle of VLC and MacOS to capture the exact request done by VLC. Any help or tool you may know to get that?

Also, I found this post on opensubtitles forum. Let's see if it's something on their end:
https://forum.opensubtitles.org/viewtopic.php?f=8&t=17115

I tried it today and it's working to me too! πŸ₯³ 🍾 πŸŽ‰

What is mandatory for sure is to have set up the user and password for the configuration. Here you can find more details.

Thanks @quinncomendant, @Trisky and everybody for helping and assisting here!

i have the same error.
registered to opensubtitles as suggested ..saved in config but still the same error.

any other idea/fix?

i have the same error.

registered to opensubtitles as suggested ..saved in config but still the same error.

any other idea/fix?
Mmm... not really

Can you share with us:

  • Operating System Used + version
  • VLC version
  • vlsub version

Checks you can do:

  • vlsub -> show config -> assure path of config matches the one where you have placed the extension
  • Did you verified your credentials by doing a login on opensubtitles website?

Error: code '401 Unauthorized' (200)
I’ve the same error as when I click "Search by hash" or "Search by name", I get this error: Code 401 Unauthorized (200). It happens everytime since 2 weeks!
For this I flolowed you advices by :

  1. I Created an account as a new user at https://www.opensubtitles.org/en/newuser
  2. I followed the link in the confirmation email subject "OpenSubtitles.org Account
  3. Then I gave the β€œconfirmation" as required
  4. After that I get logged with my username and password
  5. I just get many items of this Opensubtiles.org
  6. Here what I can see….without knowing what to do.
    The same error is still there.
    So Please help us

01-Subtitle org

@dominguezcelada
-Windows 10 latest version
-VLC 3.0.8
-vlsub 0.11 (doesnt show config path in this version)
also tried vlsub 0.9 without success

-Yes still logged in opensubtitles

Error: code '401 Unauthorized' (200)
I’ve the same error as when I click "Search by hash" or "Search by name", I get this error: Code 401 Unauthorized (200). It happens everytime since 2 weeks!
For this I flolowed you advices by :

  1. I Created an account as a new user at https://www.opensubtitles.org/en/newuser
  2. I followed the link in the confirmation email subject "OpenSubtitles.org Account
  3. Then I gave the β€œconfirmation" as required
  4. After that I get logged with my username and password
  5. I just get many items of this Opensubtiles.org
  6. Here what I can see….without knowing what to do.
    The same error is still there.
    So Please help us

01-Subtitle org

@comesta I'm assuming you entered your user and password on vlsubs's config, right?

@comesta @koullis22 One idea that comes to my mind is to assure the user and password you are introducing on vlsub are the right ones. This could be one of the reasons you still get this issue.

Also, make sure you have the latest vlsub and VLC versions

I am using Mac, and when I click on Show Config, the VLSub popup just disappears and nothing happens. If I try to open VLSub again, VLC crashes. Does anyone have a solution for Mac?

@dominguezcelada
-Windows 10 latest version
-VLC 3.0.8

πŸ‘ latest version, πŸ†’

-vlsub 0.11 (doesnt show config path in this version)
also tried vlsub 0.9 without success

I don't see this version on vlsub releases. The one I'm
using which is the latest stable is 0.10.2. You need to get your extesion get installed properly so you see the Show Condig button to introduce your credentials. On Mac looks like this:

image

-Yes still logged in opensubtitles

I am using Mac, and when I click on Show Config, the VLSub popup just disappears and nothing happens. If I try to open VLSub again, VLC crashes. Does anyone have a solution for Mac?

To me happens randomly sometimes, but I don't think is the same bug as the one we are talking about. Maybe you should open a new issue or find an existing one with this issue? :)

@dominguezcelada
I dont know maybe it was updated from vlc team?

old

new

@dominguezcelada
I dont know maybe it was updated from vlc team?

old

new

Mmm... not sure. I think this extension is independent from VLC releases. In my case I had v0.9 (I'm using Mac) and upgraded to 0.10.2 just in case. Checking the changelog on vlsub's I don't see any 0.11 version. Maybe you can try to remove vlsub extensions you have and isntall 0.10.2?

just added 10.2 also but no success again..even changed password.still get the same error.

0.11 file is named "VLSub.luac"

just added 10.2 also but no success again..even changed password.still get the same error.

0.11 file is named "VLSub.luac"

Where are you downloading the versions from? If you download it from here. The file is .lua not .luac (I don't know Lua programming language so not sure the difference, I guess one is compiled and the other not).

just added 10.2 also but no success again..even changed password.still get the same error.
0.11 file is named "VLSub.luac"

Where are you downloading the versions from? If you download it from here. The file is .lua not .luac (I don't know Lua programming language so not sure the difference, I guess one is compiled and the other not).

Try from here:
https://github.com/videolan/vlc/tree/master/share/lua/extensions

just added 10.2 also but no success again..even changed password.still get the same error.
0.11 file is named "VLSub.luac"

Where are you downloading the versions from? If you download it from here. The file is .lua not .luac (I don't know Lua programming language so not sure the difference, I guess one is compiled and the other not).

Try from here:
https://github.com/videolan/vlc/tree/master/share/lua/extensions

Nice source @elmerenges ! Seems that there is a more up to date version and there has been recent activity! I'm going to install it that one :)

image

just added 10.2 also but no success again..even changed password.still get the same error.
0.11 file is named "VLSub.luac"

Where are you downloading the versions from? If you download it from here. The file is .lua not .luac (I don't know Lua programming language so not sure the difference, I guess one is compiled and the other not).

Try from here:
https://github.com/videolan/vlc/tree/master/share/lua/extensions

Nice source @elmerenges ! Seems that there is a more up to date version and there has been recent activity! I'm going to install it that one :)

image

Just FYI, 0.11.1 not working for me (MacOS + VLC)... (the Extension does not pop up when trying to open).

0.11.1 doesnt even open for me. although shows it in view when click nothing happens

maybe im getting wrong or unfinished file? or not added in correct folder path?

where should be dropped?

0.11.1 doesnt even open for me. although shows it in view when click nothing happens

maybe im getting wrong or unfinished file? or not added in correct folder path?

where should be dropped?

Same to me.

Give a try on 0.10.2

doesnt work either
edit:
changed password again now worked..

doesnt work either
edit:
changed password again now worked..

Which version of vlsub worked for you? @koullis22

im using 0.11.....i can check 10.2 but at the moment i get server overload

@koullis22 @dominguezcelada thank you waouh after 2 weeks of research...
Now it works
Gracias

Thank you @dominguezcelada switched from 0.11 to 0.10.2 and I was able to insert username and password on Show Config and I'm back on track!