Timeout on MongoDB Atlas connection

549 views
Skip to first unread message

Pierrick

unread,
Oct 23, 2018, 3:06:22 PM10/23/18
to mongodb-user
Hello,

Since yesterday (2018-10-22 at about 7PM UTC), we have a reachability issue when trying to connect from a nodejs app : "error MongoNetworkError: connection 104 to xxxxxxx.mongodb.net:27017 timed out".
It happens every 20 mins or more often sometimes (10, 5 or 2 minutes).

We didn't change anything in our side ? Is there something we can do ?

Cheers,
--
Pierrick

Kevin Adistambha

unread,
Oct 25, 2018, 10:47:24 PM10/25/18
to mongodb-user

Hi Pierrick,

Since yesterday (2018-10-22 at about 7PM UTC), we have a reachability issue when trying to connect from a nodejs app : “error MongoNetworkError: connection 104 to xxxxxxx.mongodb.net:27017 timed out”.

From the error message, it looks like there’s a network issue from the machine that’s hosting your app to Atlas. Can you confirm that you can connect using the mongo shell without any issue? Is the issue intermittent, or are you consistently cannot connect to Atlas? What is your Atlas instance type?

Please note that if you’re using Atlas, you can open a support ticket at MongoDB support page. If this issue is still unresolved, I would encourage you to open a ticket.

Best regards,
Kevin

Pierrick

unread,
Oct 28, 2018, 6:39:40 PM10/28/18
to mongodb-user
Hi Kevin,

The issue seems to be resolved without any change on my side.
It was intermittent during about 2-3 days.
Mongo shell used to report : 'Dropping all pooled connections to xxxx-shard-00-00-yyyy.gcp.mongodb.net:27017(with timeout of 5 seconds)'
Similarly, mongostat reported something like 'No data recieved' only for the primary host
I use a free tier instance for the moment.

Regards,
--
Pierrick
Reply all
Reply to author
Forward
0 new messages