通过使用websocket
开放式连接采样器,我正在进行socketcluster
连接。我得到的响应代码为101,响应消息为切换协议和响应头,如下:
Response headers:
Connection: Upgrade
Sec-WebSocket-Accept: 8i/hUMajQLY5hYfg0hq9z1U1HxI=
Sec-WebSocket-Version: 13
Upgrade: websocket
WebSocket-Server: uWebSockets
我无法确定它是否在服务器中建立连接。在服务器端,我无法看到活跃用户。抛出一些错误如下:
1524146177889 - 原产地:工人(PID 14262)[警告] SocketProtocolError:Socket挂断了 在SCSocket._onSCClose(/home/centos/jioplay/node_modules/socketcluster/node_modules/socketcluster-server/scsocket.js:240:17) 在WebSocket.internalOnClose(/home/centos/jioplay/node_modules/socketcluster/node_modules/socketcluster-server/scsocket.js:75:10) at process.nextTick(/home/centos/jioplay/node_modules/uws/uws.js:445:27) at _combinedTickCallback(internal / process / next_tick.js:131:7) at process._tickCallback(internal / process / next_tick.js:180:9
请查找有关脚本和结果树enter image description here的附件。