[GODRIVER-875] The golang driver is not able to parse the atlas DNS response for the connect URI Created: 13/Mar/19  Updated: 14/Mar/19  Resolved: 14/Mar/19

Status: Closed
Project: Go Driver
Component/s: Authentication
Affects Version/s: 1.0.0-rc2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Syed Gillani Assignee: Jeffrey Yemin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by GODRIVER-874 The golang driver is not able to pars... Closed
Related
related to GODRIVER-829 Go 1.11 LookupSRV cannot unmarshal DN... Closed

 Description   

Given a Mongo Atlas URI, e.g., `mongodb+srv://user:pass@cluster-1.mongodb.net/db?retryWrites=true` The driver results in the following error : 

`lookup cluster-1.mongodb.net on 175.XX.XX.X:XX: cannot unmarshal DNS message`

 



 Comments   
Comment by Jeffrey Yemin [ 14/Mar/19 ]

Hi syd,

This looks like a duplicate of GODRIVER-829, so please put a watch on that ticket for updates.

Comment by Syed Gillani [ 13/Mar/19 ]

Hi Jeff,

Following are details regarding my configuration:

Platform: MacOS and Docker Golang Image

Version: Tried for both 1.11 and 1.12

Connection from command line: Yeah I'm able to connect from command and MongoDB Spring boot driver (from same machine and server).

Comment by Jeffrey Yemin [ 13/Mar/19 ]

Hi syd,

Sorry to hear you're having trouble. When you get a chance please provide some further details:

  • Platform you're running your application on
  • Version of Go
  • Whether you're able to successfully connect from the mongo shell on the same server as your application is running on
Generated at Thu Feb 08 08:35:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.