vue-event-scheduler icon indicating copy to clipboard operation
vue-event-scheduler copied to clipboard

Connection to 'wss://ws-pusher_cluster.pusher.com/.... failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Open dejooyelese opened this issue 5 years ago • 9 comments

Has anyone been able to get this program to work using a pusher account? I am getting refused connections and the error:

webSocket connection to 'wss://ws-pusher_cluster.pusher.com/app/PUSHER_KEY?protocol=7&client=js&version=4.4.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

I have tried both using the .env file and hardcoding making a new pusher as documented in the "Getting Started" of the pusher dashboard but not making any progress. Help Please.

dejooyelese avatar Mar 21 '19 23:03 dejooyelese

Apologies for the errors you're facing. Are you sure you were connected to the internet when trying? If your errors persist, can you try cloning the repository and running the project.

Let me know how this goes.

HackAfro avatar Mar 24 '19 12:03 HackAfro

Yes I am connected to the internet, no cloning the repository and running it with my Pusher details in the .env does not solve the problem.

Capture

dejooyelese avatar Mar 28 '19 21:03 dejooyelese

I can see in the errors in the screenshot that you haven't replaced the placeholder PUSHER_KEY value with your actual pusher key. Please ensure that you've updated the values in the .env file and the App.vue file.

HackAfro avatar Mar 29 '19 09:03 HackAfro

Okay - thank you! I didn't realize App.vue also had PUSHER_KEY values that needed to be replaced.

New Problem when creating a test event: I do not understand the error so therefore don't know where to start trouble shooting. Help is again appreciated Capture

dejooyelese avatar Mar 29 '19 18:03 dejooyelese

Server Terminal Error:

Capture

dejooyelese avatar Mar 29 '19 18:03 dejooyelese

Might be far fetched but please look at your .env file and ensure it is similar to the snippet below:

PUSHER_ID=app-id
PUSHER_KEY=app-key
PUSHER_SECRET=app-secret
PUSHER_CLUSTER=cluster

HackAfro avatar Mar 29 '19 20:03 HackAfro

Capture

dejooyelese avatar Mar 29 '19 22:03 dejooyelese

I fixed the .env file to match the wording on the server.js file (I think the documentation in the README is different from what the file should be). Now there is no error and the submit button works but nothing appears on the screen. There is also no console errors.

It seems I am directly in line with the errors with this other user so I will be monitoring that post as well as this one. Thanks for all the help! https://github.com/HackAfro/vue-event-scheduler/issues/4

dejooyelese avatar Mar 29 '19 22:03 dejooyelese

New File Setup: Capture

dejooyelese avatar Mar 29 '19 22:03 dejooyelese