Friday, 28 April 2017

Meteor - ECONNRESET and not able to use Longjohn

We have a business application developed in Meteor (node.js), which is deployed to the Galaxy hosting plan for Meteor.

On our production server we are getting some errors that are causing server reboots:

2017-04-27 09:37:17-07:00events.js:72
2017-04-27 09:37:17-07:00 throw er; // Unhandled 'error' event
2017-04-27 09:37:17-07:00 ^
2017-04-27 09:37:17-07:00Error: read ECONNRESET
2017-04-27 09:37:17-07:00 at errnoException (net.js:905:11)
2017-04-27 09:37:17-07:00 at TCP.onread (net.js:559:19)

This was intermittent for awhile - most days does not happen , sometimes once or twice a day.

As of yesterday, it happened over 10 times through the work day, with a downtime of 3-4 mins to restart each time, this is over 30 mins of downtime in the work day. This is unacceptable!

Galaxy support has said they do not see any issues on their end, and recommended the longjohn NPM package.

It seems longjohn does NOT work with Meteor. If I require it anywhere, the Meteor app will hang when loading indefinitely and never fully start up. I remove the require line, it loads up properly.

So right now, Galaxy says they do not see an issue, this issue does not happen on development, on development server our capabilities are limited, and the package we can install to expand on the stack traces does not work with Meteor...

I feel out of luck right now, but need to find a way to locate this issue and either address or work-around it!

I hope anyone is able to help. Galaxy support and the official forums have not had any supportive responses at all...



via n drosos

No comments:

Post a Comment