"ERR_INVALID_HTTP_RESPONSE" error received in Chrome #3018
-
Hi, I am using Mongoose version 7.14. When I send a request from Postman, I receive a response successfully. However, when I send the same request from Chrome, the request sometimes fails even though the Chrome returns the following error: Here is my sample code:
How to fix this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We do not offer support for previous releases unless you are a paying customer, in which case you need to contact Support as per your contract |
Beta Was this translation helpful? Give feedback.
-
No, there is no HTTP and WebSocket listening on the same port; please understand the technologies you are working with, there is an HTTP connection that is upgraded to WebSocket. There is only one connection.
If you absolutely need multi-threading, take the time to go through the user guide (linked above) and tutorials, there is one that shows you how to do multi-threading. |
Beta Was this translation helpful? Give feedback.
We do not offer support for previous releases unless you are a paying customer, in which case you need to contact Support as per your contract
Please migrate to latest release
https://github.com/cesanta/mongoose/releases/tag/7.16
I don't know what is Postman
I don't see you upgrading the connection
Please see our documentation, and follow the guidelines in our tutorials.
https://mongoose.ws/documentation/tutorials/websocket/websocket-server/
If you still have a problem:
Please sniff your network (using Wireshark, for example) and observe the traffic.
If, after your network inspection, you find an actual issue, feel free to open an issue, fill the issue template, and provide us with pertin…