Home >PHP Framework >Workerman >What to do if workerman 200 error occurs

What to do if workerman 200 error occurs

藏色散人
藏色散人Original
2020-04-09 09:17:513330browse

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

What to do if workerman 200 error occurs

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn