Home >PHP Framework >Workerman >What to do if workerman 200 error occurs
workermanWhat should I do if there is a 200 error?
Solution to WebSocket code 200 error
WebSocket connection to ‘xxx’ failed: Error during WebSocket handshake: Unexpected response code 200
This problem is mainly a background problem, and the front-end address access is correct
I used Shiro's security framework in my own configured project, but this error occurred because I did not have open access permissions
Just open the access permissions here
If this is not the problem, you can also check to see if the backend does not have open permissions.
If the address is wrong, a 404 error will be reported instead of 200
The above is the detailed content of What to do if workerman 200 error occurs. For more information, please follow other related articles on the PHP Chinese website!