-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled ECONNRESET crashes app #120
Comments
Thanks for the detailed report! Regardless of whether or not New Relic is ultimately at fault, we're going to show up in pretty much all your asynchronous stacktraces, due to how New Relic's transaction tracer works. The fault here is in how those errors are causing your process to crash. It probably is a bad interaction between something in your app and one of New Relic's dependencies, but there's nothing that jumps out at me in your dependencies list as being a problem. I will say that you're one version behind, and 1.3.2 includes a substantial rewrite of the connection layer between You might try boosting the logging label to |
What exactly should I be looking for in the traces? Here are the logs around one of the crashes: looks like a mongodb disconnect? Although I haven't seen that before... Here is another one after I tried to restart... |
I think the first thing to do is to determine if there's a common origin for these errors so we can start trying to put together some test cases to try to reproduce this. How are you handling errors on client requests right now? |
Hi @jessefulton, We've done a lot to improve how the agent connects to New Relic. We believe your issue may be resolved at this point. Please upgrade to the latest version of the agent to see if it works better for you. I am going to close this issue now, but please feel free to reopen it if you continue to see issues. You may notice temporary connection issues from time to time due to network congestion, but the agent saves data and reports it the next time it is able to connect. If you experience continued connection failures in a short period of time, or anything that harms the execution of your app, please let us know. Thanks! |
chore: add elasticsearch app skeleton for ignite rotation
…/axios-and-newrelic-1.6.0 build(deps): bump axios and newrelic
Release v7.0.0
….yml added create release workflow 🎉
….yml added create release workflow 🎉
…ests test: pin versioned tests to < 13.3.1 until newrelic#120 is fixed
I am consistently getting the following error which crashes my whole app:
It appears that the source of this call can be from any number of external calls I'm making, but the log always shows New Relic as the culprit. As soon as I disable the New Relic module, things run smoothly. I've looked at #75, but it doesn't seem to explain much. Is there something specific I should be looking out for? I'm using restify to make the majority of my external API calls (both over http and https)...
I'm on node v0.10.26 and using newrelic v1.3.1.
Below is a list of my dependencies - would any of these conflict with new relic?
The text was updated successfully, but these errors were encountered: