How can I debug a 400 http status code?
simasch opened this issue · 1 comments
simasch commented
Hi,
I'm trying the echo example behind a web application firewall and see these requests:
info : GET /echo/info?t=1531127642858 0ms 200
info : GET /echo/078/ilarcpb2/websocket 0ms 400
info : POST /echo/078/o4yujssu/xhr_streaming?t=1531127643159 1ms (unfinished)
How can I debug the 400 error to see what the problem is?
Thanks, Simon
brycekahle commented
You need to inspect the HTTP response. The most likely reason is an invalid websocket request from this code:
sockjs-node/src/trans-websocket.coffee
Line 17 in 14a5c3c