group-chat-app-laravel-pusher icon indicating copy to clipboard operation
group-chat-app-laravel-pusher copied to clipboard

WebSocket connection to ´wss://ws-your-pusher-app-cluster.p [...]' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Open frutos93 opened this issue 7 years ago • 7 comments

Tried the tutorial at blog.pusher and wanted to test first the repository. git cloned it, configured everything, pusher keys, cluster and db and I'm getting an error, in console:

app.js:33022 WebSocket connection to 'wss://ws-your-pusher-app-cluster.pusher.com/app/your-pusher-key?protocol=7&client=js&version=4.1.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

followed by app.js:34627 OPTIONS https://sockjs-your-pusher-app-cluster.pusher.com/pusher/app/your-pusher-key/181/m3mgqno5/xhr_streaming?protocol=7&client=js&version=4.1.0&t=1504896024763&n=1 net::ERR_NAME_NOT_RESOLVED

Any ideas?

frutos93 avatar Sep 08 '17 18:09 frutos93

run 'npm run dev'

Ar4ics avatar Sep 25 '17 05:09 Ar4ics

@frutos93 did you solve this issue? i am facing the same problem even though i put my app key and cluster.

preranamaharjan avatar Apr 24 '18 09:04 preranamaharjan

Been a while but from what I remember I had the cluster code wrong, I think.. First of all verify the code that you're putting is the correct one

frutos93 avatar Apr 24 '18 13:04 frutos93

@frutos93 @preranamaharjan did you solve the issue?

JoseYepez avatar Jul 03 '18 15:07 JoseYepez

I am getting same issue. any solutions to it.

Getting this after deployment ( main.05df8c6d.js:1 WebSocket connection to 'wss://ws-your_cluster.pusher.com/app/APP_KEY?protocol=7&client=js&version=4.1.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED)

NehaBhandari24 avatar May 11 '19 20:05 NehaBhandari24

I am getting the same error no way out please help me

MuhammedRishdhi avatar Aug 12 '20 08:08 MuhammedRishdhi

main.05df8c6d.js:1 WebSocket connection to 'wss://ws-your_cluster.pusher.com/app/APP_KEY?protocol=7&client=js&version=4.1.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Can you change it your_cluster and APP_KEY in use the pusher ex: your_cluster -- mt1 and APP_KEY -- sad1sad54d5sa4d5

Ramesh-php avatar Oct 22 '21 09:10 Ramesh-php