laravel-echo-server
laravel-echo-server copied to clipboard
Can't subscribe to private channel with latest versions of socket.io-client
Can't subscribe to private channel with latest versions of socket.io-client. With socket.io-client^3.0.0 when i try to subscribe private channel i'm getting error "Bad handshake method". Downgrading client to ^2.3.0 solves the problem.
Solution is to update laravel-echo-server to support socket.io-client^3.0.0.
Thanks for reporting. There are some breaking changes in Socket.io 3.0 so please I will investigate this as time permits. Thanks
I have a fork here that is already ported to v3 and was made to be Docker-ready: https://github.com/renoki-co/echo-server
However, I don't have a bad handshake method, but I do have an issue regarding reconnection: https://github.com/laravel/echo/issues/295, and I was redirected here tho.