Page 1 of 1

[LINUX] HTTP Error 401: Unauthorized (caused by HTTPError())

Posted: Sun Oct 29, 2017 9:49 am
by Boo
Hi guys,

I'm new. I tried the web version first and I got this problem :
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError())
I found on this forum this command that fixed the issue for me :
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
I downloaded the TS3MusicBot on my Linux to give it a try.
I have this issue again :
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError())
IPv6 is already disabled and I don't know what to do.

Thanks guys, good job

Re: [LINUX] HTTP Error 401: Unauthorized (caused by HTTPError())

Posted: Sun Oct 29, 2017 1:14 pm
by Crypto90
Have you set anything at settings -> TS3MusicBot Settings -> Youtube Proxy? Thies field should normally be empty.

When does this error exactly appear? If you try to play a link?

401 error means that that the server where the call goes does not accept your request.

Also check the output of the command:
Code: Select all
ifconfig
If there is no more ipv6 visible.

If everything zill here looked right and it stil does not work, tell us for which links this exactly happen for you to test it out.
Does only youtube not work? Does soundcloud work?
Does radio playback work?

Also try to set your DNS at:
Code: Select all
/etc/resolv.conf
to:
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4
remove all other entries in this file, only set the google nameservers.

Re: [LINUX] HTTP Error 401: Unauthorized (caused by HTTPError())

Posted: Sun Oct 29, 2017 2:45 pm
by Boo
Radio is working fine.
When I'm researching in the YouTube tab and play the link, it's working. When I manually paste a YouTube link and play it, it's working.
When I'm researching in the SoundCloud tab and play the link, I get the issue. When I manually paste a SoundCloud link and play it, I get the issue.
Actually, only SoundCloud is not working.

I got Google nameservers before and there is no more IPv6 visible.

Thanks :)

Re: [LINUX] HTTP Error 401: Unauthorized (caused by HTTPError())

Posted: Sun Oct 29, 2017 3:52 pm
by Crypto90
Alright, thanks for your testing.
Probably soundcloud changed something on their server side, we will look into this issue. We have planned an update for monday, I look to get this into it to get fixed too.

Re: [LINUX] HTTP Error 401: Unauthorized (caused by HTTPError())

Posted: Mon Dec 18, 2017 9:30 am
by philippe
has been fixed.

I closed this topic.
If there are any more questions, please create a new thread.

Best regards
Philippe