[GODRIVER-3092] Cannot connect to Mongo on UNIX socket Created: 10/Jan/24 Updated: 07/Feb/24 |
|
| Status: | In Code Review |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.13.2 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Michael Okoko | Assignee: | Qingyang Hu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Description |
Detailed steps to reproduce the problem?Previous go driver versions were able to connect via UNIX sockets formatted like this: Recently, this seems to be broken and now gives this error: I think it could be related to the URL parsing that was added in this commit https://github.com/mongodb/mongo-go-driver/pull/1373/files#diff-f8f709cd4fe1c51ef99b7a9731b69373e4e4119ebfdeca319763200b30e8dec4 Definition of done: what must be done to consider the task complete?Clients can be connected successfully via UNIX sockets The exact Go version used, with patch level:$ go version The exact version of the Go driver used:$ go list -m go.mongodb.org/mongo-driver Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.The operating system and version (e.g. Windows 7, OSX 10.8, ...)Security VulnerabilitiesIf you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here |
| Comments |
| Comment by Githook User [ 07/Feb/24 ] |
|
Author: {'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}Message: GODRIVER-3092 Fix UNIX socket in URL parsing. (#1521) |
| Comment by PM Bot [ 10/Jan/24 ] |
|
Hi michaelsokoko@gmail.com, thank you for reporting this issue! The team will look into it and get back to you soon. |