Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

SocketIO Worker error: {"type":"TransportError","description":400} #47

Open
ghost opened this issue Sep 1, 2016 · 3 comments
Open

SocketIO Worker error: {"type":"TransportError","description":400} #47

ghost opened this issue Sep 1, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2016

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}
....

@MihaelIsaev
Copy link

The same here

@jiaguolin
Copy link

+1

@jiaguolin
Copy link

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'
[email protected]
[email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants