atom-pair icon indicating copy to clipboard operation
atom-pair copied to clipboard

Refused to Load Stript -> PusherError: 1006

Open 6temes opened this issue 7 years ago • 6 comments

Atom: 1.19.4 AtomPair: 2.0.13 Os: MacOS Sierra 10.12.6

I am having the following errors:

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:2382 
WebSocket connection to 'wss://ws.pusherapp.com/app/51b1aeb8afea05887e26?protocol=7&client=js&version=2.2.3&flash=false' failed: Invalid frame header

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:117 
Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":1006}}}

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:2382 
WebSocket connection to 'wss://ws.pusherapp.com/app/51b1aeb8afea05887e26?protocol=7&client=js&version=2.2.3&flash=false' failed: Invalid frame header

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:117 
Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":1006}}}

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:1051 
Refused to load the script 'http://js.pusher.com/2.2.3/xhr.js' because it violates the following Content Security Policy directive: "script-src 'self'".

/Users/user/.atom/packages/atom-pair/lib/pusher/pusher.js:1051 
Refused to load the script 'http://js.pusher.com/2.2.3/xhr.js' because it violates the following Content Security Policy directive: "script-src 'self'".

I tried to connect from 2 different networks (to discard a network problem)

6temes avatar Aug 31 '17 02:08 6temes

Hi,

Error 1006 is usually caused by a misbehaving proxy server. Could you ensure that your system is not configured to use any proxy?

kn100 avatar Aug 31 '17 09:08 kn100

I'm seeing the same issue, but no proxy.

simmerz avatar Sep 12 '17 15:09 simmerz

Have you modified any of the config files to for example use your own Pusher app instance?

kn100 avatar Sep 12 '17 16:09 kn100

No, only set up my own Pusher app's key and secret in the settings pane. I have a free account.

simmerz avatar Sep 12 '17 18:09 simmerz

None of the networks has a proxy.

6temes avatar Sep 16 '17 09:09 6temes

Atom: 1.21.0 AtomPair: 2.0.13 Win 7

I am also experiencing the same issue (with similar error log, except line numbers)

Newly created pusher app with configured "Enable client events", I also double checked my key:secret in case somehow those are causing it.

no proxies on my network

dmitrymatveev avatar Oct 11 '17 07:10 dmitrymatveev