Open ghost opened 8 years ago
The same here
+1
In the following ways to solve
const socket = io('http://hjguang.emicmh.com/5b0663f07a75d800207ea6c4', { transports: ['websocket'] });
But some of my customer's browser does not support 'websocket', all the way I must be compatible with the 'polling' socket-io@2.1.0 socket.io-client@2.1.0
Hi, I have this error when execute the websocket-bench...
_> websocket-bench -a 40 -c 10 -p websockets -t socket.io 'https://netbar.com:9876' -v
Launch bench with 40 total connection, 10 concurent connection 0 message(s) send by client 1 worker(s) WS server : socket.io Benchmark Options {"generatorFile":"/usr/local/lib/node_modules/websocket-bench/lib/generator.js","type":"socket.io","transport":"websockets","verbose":true} trying : 10 ... SocketIO Worker error: {"type":"TransportError","description":400} SocketIO Worker error: {"type":"TransportError","description":400} ....