question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

400 Bad Request on POST

See original GitHub issue

This seems to be isolated to Windows 8.1 running Chrome 44, basically all of the POST /socket.io/?EIO=3&transport=polling&t=L7wyBG2 HTTP/1.1 always return 400 (Bad Request).

This is with socket.io 1.4.4

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
btmdavecommented, Jan 20, 2016

Ok, so this turned out be related to pdf.js which was included on our page and was overriding xmlhttprequest prototype. I’ll close this out.

0reactions
qiuyu0112commented, Dec 20, 2019

I make http request: GET /socket.ioEIO=4&transport=websocket&t=1576482213&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9%2EeyJhcHBfaWQiOiIxNWRmNGQzZiIsImNsaWVudCI6IndpbmRvd3MiLCJwbGF0Zm9ybSI6InZvcCIsInRpbWVzdGFtcCI6MTU3NjQ4MjIxMywiaXAiOiIxMjQuMTI4LjUuNDYiLCJ1eF90aW1lIjoxNTc2NDgyMjEzMTI1fQ%2EZ585Vd6CbrN2utmxOxIDH%2DNbCQAOROW0Zj50WVtf3PI HTTP/1.1 host: msg01-open.e.vhall.com Sec-WebSocket-Key: zH6fjF8L9iFsomPyehKlUw== Sec-WebSocket-Version: 13 User-Agent: WebSocket++/0.8.1 Connection: Keep-Alive

HTTP/1.1 400 Bad Request Content-Type: application/json Access-Control-Allow-Origin: * Date: Mon, 16 Dec 2019 07:43:37 GMT Connection: close Transfer-Encoding: chunked

22 {“code”:3,“message”:“Bad request”} 0

any helper

Read more comments on GitHub >

github_iconTop Results From Across the Web

400 BAD request HTTP error code meaning? - Stack Overflow
A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow...
Read more >
How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 (Bad Request) status code indicates that the server cannot or will not process the request due to something that is perceived...
Read more >
400 Bad Request Error: What It Is and How to Fix It
The 400 Bad Request Error is an HTTP response status code indicating that the server was unable to process the request sent by...
Read more >
How to Fix the 400 Bad Request Error - Lifewire
The 400 Bad Request error is an HTTP status code that means that the request you sent to the website server, often something...
Read more >
HTTP Error 400 Bad Request: What It Is and How to Fix It
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found