You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have issues with connecting to MongoDB Atlas replicas. I have followed this doccumentation I have 3 MongoDB instances ( : ) from the replica set, configured in my Kubernetes service. They were taken from the "dig" command output, port is the default 27017.
In the Mongo database network config I have 0.0.0.0/0 so it is not restricting me from connecting.
Telnet from datadog pod is able to connect on 27017 for any of the three hosts.
I tried to troubleshoot with the following commands:
and successfuly connecting to the cluster address, but as far as I understand it is not correct to use Cluster host. I even tried, but the agent can't resolve shards hosts when using cluster host address.
Then with this one for connecting to the shard host:
MongoServerSelectionError: read ECONNRESET. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
The text was updated successfully, but these errors were encountered:
Looks like it is required for mongo atlas connectiivity. May be it is a good idea to be added to the "Configure with Kubernetes service annotations" documentation. It is part of the other examples, but not from that one.
The issue can be closed.
Hello,
I have issues with connecting to MongoDB Atlas replicas. I have followed this doccumentation I have 3 MongoDB instances ( : ) from the replica set, configured in my Kubernetes service. They were taken from the "dig" command output, port is the default 27017.
My current config looks like:
And this is the error from the "agent status" command:
Auth info of the user that I'm using:
In the Mongo database network config I have 0.0.0.0/0 so it is not restricting me from connecting.
Telnet from datadog pod is able to connect on 27017 for any of the three hosts.
I tried to troubleshoot with the following commands:
and successfuly connecting to the cluster address, but as far as I understand it is not correct to use Cluster host. I even tried, but the agent can't resolve shards hosts when using cluster host address.
Then with this one for connecting to the shard host:
I've got:
The text was updated successfully, but these errors were encountered: