WebSocket not working on spotify.com

NWJS Version : v0.29.1
Operating System : Win10 x64

Expected behavior

new WebSocket(address) work ok

Actual behavior

new WebSocket(address) produce error “WebSocket connection to ‘wss://gew-dealer.spotify.com/?access_token=…’ failed: Error in connection establishment: net::ERR_NOT_IMPLEMENTED”

How to reproduce

In console logs you will see net::ERR_NOT_IMPLEMENTED errors

Another way:

  • open nw.js dev console
  • execute window.location.href = ‘https://open.spotify.com
  • execute new WebSocket(‘wss://gew-dealer.spotify.com’);

will generate same error.

In Chrome all works fine. And if I start Fiddler on my computer then in nw.js all works fine too. Can anybody explain why?

Author: Fantashit

1 thought on “WebSocket not working on spotify.com

Comments are closed.