Forums

Whitelist suggestion: Soundcloud API

Hi everyone,

It looks like https://api.soundcloud.com is blocked by the proxy. I use soundcloud frequently for streaming to users easily, and it would be great to see it whitelisted and may be useful to others in the future.

Thanks for the awesome service!

Hi ementian,

I've added api.soundcloud.com to the whitelist. You should be able to run something like

curl https://api.soundcloud.com/connect

to check that you get a redirect message from sound cloud etc.

Conrad

Thanks for the fast response Conrad! I can now connect to api.soundcloud.com fine, however it turns out that the SDK also wants to connect to soundcloud.com (without a subdomain), could you whitelist that as well? Sorry for the inaccurate first request.

The error message I'm getting is:

HTTPSConnectionPool(host='soundcloud.com', port=443): Max retries exceeded with url: /oembed.json?url=https%3A%2F%2Fsoundcloud.com%2XXXXX%XXXXX&client_id=XXXXX (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden',)))

Hi ementian,

Just changed whitelist. Should work now.

Conrad

There are some Python URL libraries that have a bug that prevents them from using https through a proxy. Maybe the library that you're using has that problem. A quick test tells me that requests is fine.