Cannot play my library or mix through Spotify; security errors occur

  • 1
  • Problem
  • Updated 2 years ago
Device:
- macOS Sierra, version 10.12.5
- MacBook Pro (Retina, 15-inch, Mid 2015)
- Memory: 16 GB 1600 MHz DDR3

Browser: 
- Google Chrome Version 58.0.3029.110 (64-bit)

I'm currently having an issue where I cannot play tracks. When I click the link to play my mix, Spotify opens but nothing plays. 

Here are the errors I'm getting: 

[Report Only] Refused to frame 'spotify://' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.
(anonymous) @ init.aaebab7f9f77.js:223
domManip @ init.aaebab7f9f77.js:223
append @ init.aaebab7f9f77.js:223
openClient @ spotify-client.js?1495187245:1
forceClientOpen @ spotify-client.js?1495187245:1
init.aaebab7f9f77.js:223

Mixed Content: The page at 'https://www.last.fm/user/breynana' was loaded over HTTPS, but requested an insecure resource 'spotify://'. This content should also be served over HTTPS.
(anonymous) @ init.aaebab7f9f77.js:223
domManip @ init.aaebab7f9f77.js:223
append @ init.aaebab7f9f77.js:223
openClient @ spotify-client.js?1495187245:1
forceClientOpen @ spotify-client.js?1495187245:1
Photo of Breyana

Breyana

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 2 years ago

  • 1
Photo of Thomas Hooper

Thomas Hooper, Web developer

  • 59 Posts
  • 24 Reply Likes
There are a few of things you can try:
* Sometimes it takes a while to establish the connection with the Spotify client, so try pressing the play button again
* Disable adblockers
* Open spotify first, reload the last.fm page, and press the play button again
Photo of Breyana

Breyana

  • 3 Posts
  • 0 Reply Likes
I've tried all of these things. Still the same outcome.
Photo of Thomas Hooper

Thomas Hooper, Web developer

  • 59 Posts
  • 24 Reply Likes
Okay, a couple more things:
* Make sure the 'Allow Spotify to be opened from the web' option is enabled in Spotify's advanced settings
* Try clearing your cookies
Photo of Thomas Hooper

Thomas Hooper, Web developer

  • 59 Posts
  • 24 Reply Likes
Does it work for the track play buttons on artist pages?
Photo of Breyana

Breyana

  • 3 Posts
  • 0 Reply Likes
Clearing cookies worked!

I didn't try playing tracks on artist pages unfortunately but everything on the home page wouldn't play