After websocket is called using workerman, 200 error is returned.

Source: Internet
Author: User
After websocket is called with workerman, the system returns the 200 error. Please help us to reply to the discussion (solution)

It indicates that you are connected to an http port, not a websocket port.

Your websocket server is faulty.



Well, what you said seems to have awakened me, but how can I judge whether my website is http or websockt !!

It indicates that you are connected to an http port, not a websocket port.

Well, how can I determine whether it is http or websockt? please kindly advise. I really don't know QQ !!!

Your websocket server is faulty.

How can I understand it?

The websocket protocol is built on the http protocol, but an additional header is added to the http header.
If your request returns, it indicates that the path is successful (200)
Php itself does not support websocket server development. it must be hard written using socket.
So I said there was a problem with your websocket server.

The websocket protocol is built on the http protocol, but an additional header is added to the http header.
If your request returns, it indicates that the path is successful (200)
Php itself does not support websocket server development. it must be hard written using socket.
So I said there was a problem with your websocket server.

Well, although I 'd like to hear from you, I know it's impossible... but the problem is solved. thank you ....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.