My App uses socket.io package + laravel-echo package, and when it connects, it makes two requests like this screenshot.

enter image description here

One request without sid parameter is fine, and my app can work normally.

enter image description here

However, the one with sid parameter request keeps failing, I don't know why.

enter image description here

And that request will retry, and still failing like this.

enter image description here

Sometimes the request with sid param will work, and no matter its success or failure, my app will work normally.

Why is this happening?

0

There are 0 best solutions below