Error sending log data - Error: read ECONNRESET - gatsby-build-newrelic

Hello!

I just recently came across New Relic so this might not be the correct group to post this in, if so please let me know!

I was interested in trying out the gatsby-build-newrelic plugin because I’ve been having some really long build times and it would be great to get some more insight. I have set-up everything correctly and the plugin seems to indicate that it’s working from the first log it says like:
[@] gatsby-build-newrelic: Streaming logs
and
info [@] gatsby-build-newrelic: Will post benchmark data to: https://metric-api.eu.newrelic.com/metric/v1

But after a while I get run into these errors:
[@] winston-to-newrelic-logs: Error sending log data - Error: connect ECONNREFUSED 185.221.87.237:443
and:
[@] winston-to-newrelic-logs: Error sending log data - Error: read ECONNRESET
and finally before finishing the build it says:
[@] gatsby-build-newrelic: Error sending trace data FetchError: request to https://trace-api.eu.newrelic.com/trace/v1 failed, reason: read ECONNRESET

Would be great to get some help on this because I’m completely now to it :pray:

1 Like

Hello there, I noticed an open issue recently on the gatsby-build-newrelic repo, which seems to be related: https://github.com/newrelic-experimental/gatsby-build-newrelic/issues/28

I suggest posting there as the issue is open and still active - the maintainers will be aware and able to respond there most effectively. I’ve also posted a link there back to this thread, to make sure the report is seen.

1 Like