Soundcloud 403 error for a range of IPs

2019-02-18 19:40发布

问题:

We have several servers, with exactly the same configurations (CentOS 6 + Plesk). On all our servers using an IP range beginning by 51 until 149, when we test this command in the terminal being connected to one of these servers: curl -v https://api.soundcloud.com/v1/playlists/29604379.json?consumer_key=xxxxxxxxxx (with a real key instead of "xxxx") it always responds with:

HTTP/1.1 403 Forbidden
Content-Type: text/html
Date: Tue, 19 Jan 2016 14:15:37 GMT
Server: ECS (pox/A5DD)
Content-Length: 345

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>403 - Forbidden</title>
    </head>
    <body>
        <h1>403 - Forbidden</h1>
    </body>
</html>

While we have the correct response to this request on servers with IP beginning by 5, 37, or , 151. The problem seems to be on servers with IPs between 51 and 149, like if these IPs are blocked by Soundcloud.
We have almost 50 VPS with IPs between 51 and 149, and that's the same for all, while there is no problem on others (around 50 VPS too).

Any help would be very much appreciated! Thanks

回答1:

Here is an officle answer from soundcloud : https://www.soundcloudcommunity.com/soundcloud/topics/403-forbidden-when-using-ovh-vpn

our Trust & Safety engineers needed to block OVH for SoundCloud, as it was causing a lot of spam and fake activity to come through. :-/