Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

No data received -- ruby on rails



My newrelic account does not receive any data from my app. Looking at my newrelic_agent.log, I can see these errors:

[09/12/18 14:59:36 +0800 a (17866)] ERROR : Error establishing connection with New Relic Service at
[09/12/18 14:59:36 +0800 a (17866)] ERROR : OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed

Do you know what’s wrong? Thanks in advance.



Thanks for your post!

I’m happy to look into this error with you, but I’ll need a bit more information to troubleshoot.

It’d be great if you could respond with the following:

  • What version of our Ruby Agent are you using?

  • Was your application previously reporting and now it isn’t? Or has this application never reported to APM?

  • Could you send the output of this command from the server the agent is installed on?

      curl -v

    This will test the outgoing connection and incoming response.

Thank you!

  • About to connect() to port 443 (#0)
  • Trying… connected
  • Connected to ( port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • SSL connection using TLS_RSA_WITH_AES_128_CBC_SHA
  • Server certificate:
    subject:,O=“New Relic, Inc.“,L=San Francisco,ST=California,C=US
  • start date: Jan 19 00:00:00 2018 GMT
  • expire date: Apr 16 12:00:00 2021 GMT
  • common name: *
  • issuer: CN=GeoTrust RSA CA 2018,,O=DigiCert Inc,C=US

GET /status/mongrel HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Accept: /

< HTTP/1.1 200 OK
< Content-Type: text/plain
< Content-Length: 22
mongrel ==> up (true)


1.My application is using ruby 1.9.3
2.Never reported to APM
3.Above display.


Hi, which version of the New Relic Ruby Agent are you using?

Is your server behind a Proxy or Firewall by any chance?