[GODRIVER-1716] Can't connect to MongoDB cloud Created: 14/Aug/20  Updated: 27/Oct/23  Resolved: 17/Aug/20

Status: Closed
Project: Go Driver
Component/s: Connections
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dmytro Soltusyuk Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Made a connection like written on github. That doesn't work, and throws: exit status 1

Figured out this throws when I try to ping connection. 

Tried to make connection like was displayed on official mongodb website: https://www.mongodb.com/golang Italic

But there they do not make ping, and making magic with connection string I tried to compile my Go project, but when I wrote the API endpoints that retrieves the data from DB, I get 500 HTTP ERROR on every route, that was integrated with database.

Also, it doesn't connect to database without +srv within mongo and :// in connection string. I would like to get the right format for connection string to connect to MongoDB Atlas.



 Comments   
Comment by Divjot Arora (Inactive) [ 17/Aug/20 ]

dimasoltusyuk@gmail.com Thanks for following up on this! I'm closing out this ticket as "Works as Designed" but feel free to leave another comment or open a new ticket if you run into issues again.

Comment by Dmytro Soltusyuk [ 17/Aug/20 ]

I am really sorry for bothering your team. The issue was a firewall, that was configured only for one IP. Sorry again.

Comment by Esha Bhargava [ 17/Aug/20 ]

dimasoltusyuk@gmail.com Can you provide the repro code and the error message?

Generated at Thu Feb 08 08:36:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.