Echo Version
2.x
Laravel Version
10
PHP Version
8.1
NPM Version
7
Database Driver & Version
No response
Description
Assuming that for private channels, the connection will be re-established automatically once the network is disconnected. All private channels are protected by tokens; if the token expires, it will result in a normal Socket connection but authentication failure on the laravel-echo-server. Since no handler function is bound to the error event, the client fails to handle this scenario.
Steps To Reproduce
Establish a connection with a valid token, wait for the token to expire, and then disconnect the network.
Echo Version
2.x
Laravel Version
10
PHP Version
8.1
NPM Version
7
Database Driver & Version
No response
Description
Assuming that for private channels, the connection will be re-established automatically once the network is disconnected. All private channels are protected by tokens; if the token expires, it will result in a normal Socket connection but authentication failure on the laravel-echo-server. Since no handler function is bound to the error event, the client fails to handle this scenario.
Steps To Reproduce
Establish a connection with a valid token, wait for the token to expire, and then disconnect the network.