Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: code '401 Unauthorized' (200) #227

Open
dothackjhe opened this issue Apr 21, 2019 · 34 comments
Open

Error: code '401 Unauthorized' (200) #227

dothackjhe opened this issue Apr 21, 2019 · 34 comments

Comments

@dothackjhe
Copy link

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?

@dominiquevilain
Copy link

Same issue for me. Any clue ?

@heynando
Copy link

heynando commented Apr 4, 2020

same here. how to solve?

@Trisky
Copy link

Trisky commented Apr 4, 2020

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

@elmerenges
Copy link

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

@StarCaller
Copy link

yep, signed in, problem solved /
thanks!

@oscard0m
Copy link

oscard0m commented Apr 5, 2020

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 :)

@Trisky
Copy link

Trisky commented Apr 6, 2020

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

@oscard0m
Copy link

oscard0m commented Apr 6, 2020

@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 💪

@oscard0m
Copy link

oscard0m commented Apr 6, 2020

@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

@quinncomendant
Copy link

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.

@oscard0m
Copy link

oscard0m commented Apr 9, 2020

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.

@oscard0m
Copy link

oscard0m commented Apr 9, 2020

@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!

@koullis22
Copy link

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

any other idea/fix?

@oscard0m
Copy link

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?

@comesta
Copy link

comesta commented Apr 10, 2020

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

@koullis22
Copy link

koullis22 commented Apr 10, 2020

@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

@oscard0m
Copy link

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

@aidastamo
Copy link

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?

@oscard0m
Copy link

@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

@oscard0m
Copy link

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? :)

@koullis22
Copy link

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

old

new

@oscard0m
Copy link

@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?

@koullis22
Copy link

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

0.11 file is named "VLSub.luac"

@oscard0m
Copy link

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

@elmerenges
Copy link

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

@oscard0m
Copy link

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

@oscard0m
Copy link

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

@koullis22
Copy link

koullis22 commented Apr 10, 2020

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?

@oscard0m
Copy link

oscard0m commented Apr 10, 2020

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

@koullis22
Copy link

koullis22 commented Apr 10, 2020

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

@oscard0m
Copy link

oscard0m commented Apr 10, 2020

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

Which version of vlsub worked for you? @koullis22

@koullis22
Copy link

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

@comesta
Copy link

comesta commented Apr 11, 2020

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

@informagico
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests