Make sendErrorMessage response available on server
See original GitHub issueNote: for support questions, please use one of these channels: stackoverflow or slack
You want to:
- [] report a bug
- request a feature
Current behaviour
Apologies if this is my misunderstanding of NodeJS streams.
The HTTP body of sendErrorMessage
is readable on the client but does not appear to be accessible server side.
I’m currently investigating a number of 400 errors produced here but it looks like this could be 1 of 4 Server.errorMessages
.
Are the response bodies available server side or would it be possible to add some debug logging that includes the body before sending the response?
Steps to reproduce (if the current behaviour is a bug)
Expected behaviour
Setup
- OS:
- browser:
- engine.io version:
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
HTTP response status codes - MDN Web Docs - Mozilla
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
Read more >Best Practices for REST API Error Handling - Baeldung
The simplest way we handle errors is to respond with an appropriate status code. Here are some common response codes: 400 Bad Request...
Read more >Error handling - Apollo GraphQL Docs
Making errors actionable on the client and server Apollo Server's variety of error codes enables requesting clients to respond differently to different error...
Read more >How to send error http response in express/node js?
In Node with ExpressJS you can use res.status() to send the error: return res.status(400).send({ message: 'This is an error!' });.
Read more >Troubleshooting error log messages in Microsoft Outlook ...
This error message occurs if there is a loss of network connectivity or your mail server is unavailable. To resolve this issue, check...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closed by https://github.com/socketio/engine.io/commit/7096e98a02295a62c8ea2aa56461d4875887092d, included in
engine.io@5.1.0
.Syntax:
@darrachequesne any chance you can take a look through the PR so we can move this issue forward ?
I’m open to any and all suggestions 😃