Question

Emedding working for some playlists, not others (all were working until recently)


We use SoundCloud to embed our audio demos on our site. All was working until I was alerted early this morning that some work and some do not.

The playlists themselves are public, as are all tracks, and all settings appear identical.

A page that doesn't work: http://www.ikmultimedia.com/products/irigacousticstage/index.php?pp=irigacousticstage-audio

One that does work: http://www.ikmultimedia.com/products/mesa/index.php?pp=at-mesa-audio

Same embedding code, different playlists.

When I use curl to simulate the json connection, I get a 403 Forbidden for the playlist embedded on the first link which does not work.

curl -v "http://soundcloud.com/oembed" -d 'format=json' -d 'url=https://soundcloud.com/ikmultimedia/sets/irigacousticstage' -L -v -s -o /dev/null
* Hostname was NOT found in DNS cache
* Trying 52.84.38.102...
* Connected to soundcloud.com (52.84.38.102) port 80 (#0)
> POST /oembed HTTP/1.1
> User-Agent: curl/7.35.0
> Host: soundcloud.com
> Accept: */*
> Content-Length: 74
> Content-Type: application/x-www-form-urlencoded
>
} [data not shown]
* upload completely sent off: 74 out of 74 bytes
< HTTP/1.1 403 Forbidden
< Content-Type: text/html; charset=utf-8
< Content-Length: 1
< Connection: keep-alive
< Status: 403 Forbidden
< Cache-Control: no-cache
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Date
< Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin
< Access-Control-Allow-Methods: GET, PUT, POST, DELETE
< Date: Wed, 26 Apr 2017 14:43:46 GMT
< X-Frame-Options: SAMEORIGIN
* Server am/2 is not blacklisted
< Server: am/2
< X-Cache: Error from cloudfront
< Via: 1.1 dc313ef11f936e4b5265503c64842909.cloudfront.net (CloudFront)
< X-Amz-Cf-Id: NzrL1dPio80ihz7G7n15EaOq80xYNGMEXCQhlAY56yZ8GZJHd2h6EQ==
<
{ [data not shown]
* Connection #0 to host soundcloud.com left intact

3 replies

Userlevel 7
Badge +3
Hi there,

Apologies about this - we were experiencing difficulties with this and reported to our engineers. They have deployed a fix for this now so you should be all set.

Cheers
Mathis
I am having the same problem right now.

When I try with:
curl -v "http://soundcloud.com/oembed" -d 'format=json' -d 'url=https://soundcloud.com/forss/flickermood' -L -v -s -o /dev/null
It works.

When I try with:
curl -v "http://soundcloud.com/oembed" -d 'format=json' -d 'url=https://soundcloud.com/redejuntos/teste' -L -v -s -o /dev/null
I get HTTP/1.1 403 Forbidden

The one that does not work is a test audio I posted on my account.

Best,
Ricardo
Hello,

We're experiencing very similar issues suddenly, although we can't even curl https://soundcloud.com let alone any playlists/tracks.

We've tried this on different servers/installations and it only happens on a few ones for some reason, most servers and localhost ones seem to be working fine.

CURLing https://soundcloud.com returns the following error if it's of any help. We've also had to increase our timeout to 120 seconds to get it otherwise it would time out.

ERROR
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
Generated by cloudfront (CloudFront)
Request ID: Y3ESTePgvcZoOhlX4IwLdTmFmNQCvJfJ39aMt7fWUGTg1XYvf4vuDg==

Reply

    • :D
    • :?
    • :cool:
    • :S
    • :(
    • :@
    • :$
    • :8
    • :)
    • :P
    • ;)