Open kartiksprajapati opened 3 years ago
Just came across the same issue downgrading worked
And, downgraded version is also not safe
yaa... that's true I think so... I will try that package soon...
Because socket.io is using version 2 https://github.com/tlaverdure/laravel-echo-server/blob/6a4125d96d238c2e99c09c9918925ef6322aca35/package.json#L32 the client must also use version 2
When i downgraded socket.io-client to 2.3.0 it works
Because socket.io is using version 2
the client must also use version 2
Here is discussion how to get it working for me works with socket.io-client v4 https://github.com/laravel/echo/issues/290#issuecomment-950324453
Is this will be fixed or never ?
Describe the bug Whenever I try to connect with
laravel-echo-server
with the latestsocket.io-client
andlaravel-echo
, it does not connect to the laravel-echo-server, however If I downgradesocket.io-client
version to 2.3.0, it works like charm.I don't know why it is failing
To Reproduce Steps to reproduce the behavior:
laravel-echo
andsocket.io-client
on freshvue
project.src/main.js
socket.io
inlaravel-echo-server/package.json
Expected behavior It should connect to the
laravel-echo-server
but won't connectAdditional context But, if the
socket.io-client
downgrade to v2.3.0 it works, not working with the latest version.