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

ForceDisconnectException from the server


#1

We are using the New Relic Heroku add-on; followed the setup instructions; added the gem, set the ENV vars correctly; then double-checked everything. This show in our logs and no data is coming into the dashboard:

** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Environment: production
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Dispatcher: puma
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Application: StackShare Production GCP
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Deferring startup of agent reporting thread because puma may fork.
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Rake instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing deferred Rack::Builder instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Rack::Builder middleware instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing deferred Puma::Rack::Builder instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Puma::Rack::Builder middleware instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Sidekiq instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Net instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing ActiveStorage 5 instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Memcache instrumentation for dalli gem
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Dalli CAS Client Memcache instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing ActiveJob instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing http.rb instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Redis Instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing HTTPClient instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing Rails 3+ middleware instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing notifications based Active Record instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing middleware-based Excon instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing notification based Action View instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing notifications based Action Cable instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Installing notifications based Action Controller instrumentation
** [NewRelic][2019-11-08 01:06:36 +0000 web-59dbfdd475-j94n2 (6)] INFO : Finished instrumentation
Raven 2.7.4 ready to catch errors
** [NewRelic][2019-11-08 01:06:40 +0000 web-59dbfdd475-j94n2 (6)] INFO : Doing deferred dependency-detection before Rack startup
* Listening on tcp://0.0.0.0:5000
Use Ctrl-C to stop
** [NewRelic][2019-11-08 01:06:47 +0000 web-59dbfdd475-j94n2 (6)] INFO : Doing deferred dependency-detection before Rack startup
** [NewRelic][2019-11-08 01:06:47 +0000 web-59dbfdd475-j94n2 (6)] WARN : Agent received a ForceDisconnectException from the server, disconnecting. (410: Gone)

Please help


#2

Hey @rus1

I’m curious, do you have High Security Mode (HSM) enabled in your account, or in your Agent config?

I have seen this problem before when there is a mismatch in HSM settings.

HSM needs to be enabled on both sides to work, if you have it enabled only in the Agent config, you’ll see no data. If you have it only enabled in the NR UI, you’ll see no data.