Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Internal Server Error 500 on Linux VPS but OK elsewhere #17811
Comments
|
Most likely your VPS' IP/IP range is banned by soundcloud. Can you watch it in browser from VPS? |
|
Tried command w3m www.soundcloud.com and yep.. My VPS seems to be banned. |
|
VPS companies have a static IP range given to them, so unless you can buy an outside IP which ain't banned by them or be able to convince them to unban you it won't matter where you buy your VPS from. But since the IPv4 range has been allocated down to the last number, that might not be possible. |
|
Ouch.. Alright, didn't know about that, thanks for the info. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Youtube-dl (and in general Curl) can't access soundcloud.com, it returns the Internal Server Error code 500. So the JSON info can't be downloaded by ytdl. All this happens only on my Virtual Private Server (VPS). All works like a charm on Windows or a virtual Ubuntu machine on VirtualBox.
What could be the solution? I've tried putting a proxy with --proxy, doesn't help.
Maybe I need to add some custom headers? If yes, what needs to be the content of the headers?
Need your help. Thanks!