我使用插座.io2.1.1在AngularJS的my mean stack网站上。
当我们称之为IP时,该网站运行良好:
https://47.52.108.146/1/#/edit/
https://www-source.qiniu.com/en
)最重要的是。但是,控制台
https://www.funfun.ink/1/#/edit/
反复显示错误:
GET https://www.funfun.ink/pathSocketIO/?EIO=3&transport=polling&t=MHOgXNw&sid=CIzEAy8ZnhMciGuOAAAf 400 ()
POST https://www.funfun.ink/pathSocketIO/?EIO=3&transport=polling&t=MHOgcU6&sid=CIzEAy8ZnhMciGuOAAAf 400 ()
WebSocket connection to 'wss://www.funfun.ink/pathSocketIO/?EIO=3&transport=websocket&sid=4Z1-Nc7ElaAA22X9AAAg' failed: Error during WebSocket handshake: Unexpected response code: 400
我试图在CDN中添加一个规则,不在CDN中缓存任何内容
/pathSocketIO
,但没用。