Error Establishing Connection With New Relic Service
app. Looking at my newrelic_agent.log, I can see these errors: [08/12/14 20:23:30 +0800 abc (6049)] ERROR : Error establishing connection with New Relic Service at collector.newrelic.com:443: [08/12/14 20:23:30 +0800 abc (6049)] ERROR : NewRelic::Agent::ServerConnectionException: Unexpected response from server (400): Bad Request [08/12/14 20:23:30 +0800 abc (6049)] INFO : Will re-attempt in 600 seconds So, do you guys know what's wrong? If you need more information, just ask, thanks in advance. KarlC 2014-08-12 12:32:53 UTC #2 Hey @amree, Would you be able to check your newrelic.yml file against a linting tool such as http://yamllint.com?Could you also check that the license key is correct and that there's no trailing spaces etc.? Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled Support Center Documentation Forums New Relic University
page in question below: Please share your agent version and other relevant versions below: New Relic .NET Agent (64-bit) v5.1.72.0 Please share your question/describe your issue below. Include any screenshots that may help us understand your question: We are trying to install New Relic .NET Agent. The agent must communicate with New Relic service via a proxy so we've configured the proxy setting https://discuss.newrelic.com/t/no-data-received/3943 in the config file. But we are not getting any info in New Relic APM.In our server, the New Relic agent Log is showing the next information: 2015-10-20 08:47:45,820 NewRelic INFO: Configuration file found in New Relic home directory: C:\ProgramData\New Relic.NET Agent\newrelic.config2015-10-20 08:47:46,726 NewRelic INFO: Reading https://discuss.newrelic.com/t/unable-to-connect-to-the-new-relic-service/30467 configuration from "C:\ProgramData\New Relic.NET Agent\newrelic.config"2015-10-20 08:47:46,773 NewRelic INFO: The New Relic .NET Agent v5.1.72.0 started (pid 4904) for virtual path '/mcm'2015-10-20 08:47:50,070 NewRelic ERROR: Unable to connect to the New Relic service at collector.newrelic.com:443 (Proxy: 192.168.80.20:9700) : Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadLine() at NewRelic.Agent.Core.DataTransport.HttpCollectorWire.GetResponse(WebRequest request) at NewRelic.Agent.Core.DataTransport.HttpCollectorWire.SendData(String method, ConnectionInfo connectionInfo, String serializedData) at NewRelic.Agent.Core.DataTransport.ConnectionHandler.SendDataOverWire[T](ICollectorWire wire, String method, Object[] data) at NewRelic.Agent.Core.DataTransport.ConnectionHandler.SendNonDat
Sign in Pricing Blog Support Search GitHub This repository Watch 110 Star 44 Fork 11 18F/myusa Code Issues 100 Pull requests https://github.com/18F/myusa/issues/503 2 Projects 0 Wiki Pulse Graphs New issue Errors are not being reported to New Relic #503 Closed polastre opened this Issue Dec 24, 2014 · 6 comments Projects None yet Labels bug devops p1 Milestone sprint15 Assignees No one assigned 2 participants polastre commented Dec 24, 2014 When a 500 error occurs, error establishing such as #483, the error is not propagated to New Relic. New Relic shows no errors for the last 7 days, yet I know I've caused a bunch of 500 errors reproducing #483 (and the logs show this). Need to enable error reporting in New Relic. /cc @dlapiduz and @yozlet polastre added bug p1 4-develop labels Dec 24, error establishing connection 2014 polastre added this to the sprint13 milestone Dec 24, 2014 polastre modified the milestone: sprint13, sprint14 Jan 5, 2015 yozlet referenced this issue Jan 6, 2015 Closed No New Relic data for production #502 18F member yozlet commented Jan 6, 2015 Both staging and production are seeing the same issues in the logs. First, it reports an invalid license key at startup: [01/05/15 20:07:37 +0000 ip-10-0-1-178 (6369)] ERROR : Invalid license key: b14104f4cbf99aeb59ef99bf6a0c2986b6369b83 ... but I've triple-checked this license, and it's identical to the one that NR's console says is ours. Then, we get failed attempts every 10 mins: [01/05/15 20:13:50 +0000 ip-10-0-1-178 (6369)] ERROR : Error establishing connection with New Relic Service at collector.newrelic.com:443: [01/05/15 20:13:50 +0000 ip-10-0-1-178 (6369)] ERROR : NewRelic::Agent::ServerConnectionException: Unexpected response from server (400): Unknown Version [01/05/15 20:13:50 +0000 ip-10-0-1-178 (6369)] INFO : Will re-attempt in 60 seconds I've been doing a bunch of Googling and reading yet found nothing. However, it does look like our NR gem is quite old, so I'm going t