I am also getting a similar issue with 401 (started approx 20th March)
It was failing from work, and the api.soundcloud.com
was resolving to a set of IP's
Trying from home, and the code would work.
This has not stopped, and my DNS is now resolving to a similar IP set as my work address.
Definitely seems to be a soundcloud issue as they are changing DNS / settings etc
To update this with some data:
- This was from my home network, when it was working:
nslookup api.soundcloud.com
Server: 172.64.36.1
Address: 172.64.36.1#53
Non-authoritative answer:
api.soundcloud.com canonical name = d3ad8414wy4gwn.cloudfront.net.
Name: d3ad8414wy4gwn.cloudfront.net
Address: 99.86.107.49
Name: d3ad8414wy4gwn.cloudfront.net
Address: 99.86.107.53
Name: d3ad8414wy4gwn.cloudfront.net
Address: 99.86.107.62
Name: d3ad8414wy4gwn.cloudfront.net
Address: 99.86.107.50
This was from my work address (not working) sadly I did not have nslookup installed on the server to check with
ping api.soundcloud.com
PING d3ad8414wy4gwn.cloudfront.net (13.224.236.51) 56(84) bytes of data.
64 bytes from server-13-224-236-51.lhr62.r.cloudfront.net (13.224.236.51): icmp_seq=1 ttl=245 time=10.9 ms
64 bytes from server-13-224-236-51.lhr62.r.cloudfront.net (13.224.236.51): icmp_seq=2 ttl=245 time=13.9 ms
64 bytes from server-13-224-236-51.lhr62.r.cloudfront.net (13.224.236.51): icmp_seq=3 ttl=245 time=8.43 ms
64 bytes from server-13-224-236-51.lhr62.r.cloudfront.net (13.224.236.51): icmp_seq=4 ttl=245 time=13.2 ms
And now my new data from home (now also failing)
nslookup api.soundcloud.com
Server: 172.64.36.1
Address: 172.64.36.1#53
Non-authoritative answer:
api.soundcloud.com canonical name = d3ad8414wy4gwn.cloudfront.net.
Name: d3ad8414wy4gwn.cloudfront.net
Address: 13.35.195.35
Name: d3ad8414wy4gwn.cloudfront.net
Address: 13.35.195.39
Name: d3ad8414wy4gwn.cloudfront.net
Address: 13.35.195.65
Name: d3ad8414wy4gwn.cloudfront.net
Address: 13.35.195.60
Update 02/04/2020
Home: Working
Office: Failing
Home
nslookup api.soundcloud.com
Server: 172.64.36.1
Address: 172.64.36.1#53
Non-authoritative answer:
api.soundcloud.com canonical name = d3ad8414wy4gwn.cloudfront.net.
Name: d3ad8414wy4gwn.cloudfront.net
Address: 52.85.71.53
Name: d3ad8414wy4gwn.cloudfront.net
Address: 52.85.71.56
Name: d3ad8414wy4gwn.cloudfront.net
Address: 52.85.71.47
Name: d3ad8414wy4gwn.cloudfront.net
Address: 52.85.71.46
Work:
nslookup api.soundcloud.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
api.soundcloud.com canonical name = d3ad8414wy4gwn.cloudfront.net.
Name: d3ad8414wy4gwn.cloudfront.net
Address: 143.204.188.51
Name: d3ad8414wy4gwn.cloudfront.net
Address: 143.204.188.52
Name: d3ad8414wy4gwn.cloudfront.net
Address: 143.204.188.56
Name: d3ad8414wy4gwn.cloudfront.net
Address: 143.204.188.60