加cdn 后ws 无法连接。怎么解决

nouning

问题描述

加cdn 后ws 无法连接。怎么解决
这里详细描述问题
用域名部署可以正常ws链接发送消息
域名加上cdn 后无法连接 报错WebSocket is closed before the connection is established.
直接把cdn开启ws 进入页面会提示
400 Bad Request
Sec-WebSocket-Key not found.
This is a WebSocket service and can not be accessed via HTTP.
See http://wiki.workerman.net/Error1 for detail.

266 1 0
1个回答

nitron
  • 暂无评论
×
🔝