Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Problem Connecting Debug Dashboard to Websocket Server #16

Closed
sudden-break opened this issue Dec 5, 2018 · 4 comments
Closed

Problem Connecting Debug Dashboard to Websocket Server #16

sudden-break opened this issue Dec 5, 2018 · 4 comments

Comments

@sudden-break
Copy link

Hey I followed your guide/docs for installation and setup.
I run the php artisan websockets:serve command, travel to the debug dashboard url, select my app and click on connect.
I then receive the following error in the console:
WebSocket connection to 'wss://hipm.test/app/24e751527b7716d6c2be?protocol=7&client=js&version=4.3.1&flash=false' failed: Error during WebSocket handshake: Unexpected response code: 404

@stayallive
Copy link
Contributor

Same, is because I'm (and you probably) are developing on SSL (I with valet secure) which causes Pusher JS to default to the wss protocol wich has no port set (and also won't work without an certificate set).

@tshafer
Copy link

tshafer commented Dec 5, 2018

Same with me, I as well am using https, I do have a cert set up to use.

@vesper8
Copy link

vesper8 commented Dec 6, 2018

This has been resolved now with new instructions added for Laravel Valet (I was having this problem too and now it's working)

https://docs.beyondco.de/laravel-websockets/1.0/basic-usage/ssl.html#usage-with-laravel-valet

However as far as I know this is also causing the statistics/graph not to work and that hasn't been resolved yet

@mpociot
Copy link
Member

mpociot commented Dec 6, 2018

@vesper8 the statistics issue was also resolved in version 1.0.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants