我有一个socket.io网站,当我使用https而不是http时为网站添加前缀。为什么是这样?这个错误信息是什么?我怎么能阻止这个?谢谢!
错误讯息:
WebSocket connection to 'ws://theland.herokuapp.com/socket.io/?EIO=3&transport=websocket&sid=<a HEXSTRING that is irrrelevant>' failed: Error during WebSocket handshake`: 'Sec-WebSocket-Accept' header is missing