-
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
TypeError: Cannot read property 'accept-encoding' of undefined #39
Comments
I think I have a fix for this in the version I'm about to push out (before the end of the next week!). Leave this bug open, and I'll post here when I've published the new version and we can see if I fixed it. Out of curiosity, is there anything in newrelic_agent.log about failures in connecting to the collector? |
Yes there was an error about failed connection |
Fixed in b13179b. Thanks for the report! |
Upgraded to 0.10.1, still hit this issue, after {"name":"newrelic","hostname":"ip-10-176-145-152","pid":1746,"component":"data_sender","level":50,"msg":"Got 503 as a response code from the collector.","time":"2013-08-23T21:46:30.643Z","v":0}
|
This looks like a bug in the agent, but I'm going to need some help from you to figure out what's going on, because the request shouldn't be in scope with the logger like that. Can you send
to forrest@newrelic.com? Thanks! |
Closing this, as this ticket is a month old and a huge chunk of stuff related to this issue has changed in the interim. Reopen if you run into it again. |
Hi, can you reopen this issue. We're getting a very error but different trace on 1.3.1:
When we ran into this issue, this caused our node app to crash during startup, so it continually crashes. |
@othiym23 some additional info. A crash in the useragent module was the underlying problem. Once I resolved the issue with useragent, I no longer got the newrelic crash. Nevertheless, the newrelic crash should not have occurred since we do want to report that the useragent crash occurred. |
This is a tough bug to fix completely, because the crash is happening because of bad assumptions inside A repro case would be very helpful! |
We're seeing this something very similar after upgrading from 1.2.0 to 1.3.2:
It's possible the app is exiting anyway and this error happens during cleanup, still digging into it. |
In my case https://github.com/mattinsler/longjohn was causing this issue. As soon as I removed it my app started working agin. |
I'm seeing this issue in 1.5.2 (and earlier). |
Has this been fixed? I just started noticing this as well. We are running a Docker container on OpsWorks.
Thanks |
After I commented out |
@bernieperez @devinfoley Are you able to provide a repro case? Bugs for which we have repro cases get bumped in priority as we can fix them much faster. If you can't provide a repro case, we will still try to fix it, it just may take longer. Thanks! |
What information do you need for a repo case? |
@bernieperez The most useful is if you can put up a github repo with an example app the exhibits the behavior you see. If you see the behavior in your own app, but don't want to make it publicly visible, try making a tiny example app with just enough functionality to show the issue. Thanks! |
Got it, we are in the middle of a workout right now, but as an FYI we are using Docker with Phusion-Passenger to run our node app in production. |
We got it working again. Notice this in the error logs: Manually created a file newrelic_agent.log and chmod to 777 and it worked. I guess it was crashing when it couldn't create the agent file. Our real fix was to update the config:
with a valid file path. |
Hi everyone, This issue has multiple people reporting in their individual issues, and although they may look related, there is a good chance they are independent problems. Some may also have been resolved by now. I am going to close this issue, but I encourage anyone who still is having problems after updating to the latest version of the Node.js agent to open a new issue. Thanks for your understanding as we tidy up our issue tracker! |
NEWRELIC-5570 added sample app with injector of traffic
Add third party notices
changed repolinter workflow to check for community plus rules
We are getting this error occasionally. any idea?
The text was updated successfully, but these errors were encountered: