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.

Better debug/error information

See original GitHub issue

For now there is no good way to handle internal error messages + debugging this errors.

For example: We have CloudFlare -> Nginx -> Node.js (engine.io ws server) cluster Pretty often I see such errors: *3712847 upstream prematurely closed connection while reading response header from upstream, client: 172.31.54.181, server: , request:

But I couldn’t debug this issue because If I’ll enable debug for ws. It will flash me with tones of useless information.

As well on Socket close event I have only forced close message and have no idea why and where. error event is also not fired.

socket closed and transport closed are also not very good info for searching an issue.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
konstantinzolotarevcommented, Mar 24, 2017

@darrachequesne I’ll try. but not sure about available free time )

0reactions
darrachequesnecommented, Oct 5, 2020

Closed due to inactivity, please reopen if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When to use the different log levels - Stack Overflow
For me, you should start with DEBUG , INFO , WARNING and ERROR . Developers should see all levels. SysAdmins up to INFO...
Read more >
Error Handling and Debugging Tips and Techniques for ...
Implementing Error Handling and Debugging Techniques for Microsoft Access, VBA, and Visual ... A text file is the best option for storing error...
Read more >
How to Debug Your Code - Codecademy
A software bug is an error that happens in an application causing it to return an invalid result or to function incorrectly.
Read more >
How to Debug JavaScript Errors - Rollbar
Debugging JavaScript errors in a production environment can be a difficult experience. ... More information is always better.
Read more >
Fix program errors and improve code - Visual Studio (Windows)
Build your code; Review the Error List; Use code analysis; Use Quick Actions to fix or refactor code; Run Code Cleanup; Debug your...
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