[GODRIVER-702] Auth error Created: 14/Dec/18 Updated: 27/Oct/23 Resolved: 04/Jan/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | xiaohan | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
golang 1.1.0 |
||
| Description |
|
mongo_url : mongodb://abcd:abc%40abc@127.0.0.1:4002
code: info := config.EngRds.Info() m := DealRedisInfo(fmt.Sprintf("%s", info)) one, err := c.InsertOne(ctx, m)
error: <nil> auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed. |
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 04/Jan/19 ] |
|
Closing due to inactivity. |
| Comment by Kristofer Brandow (Inactive) [ 19/Dec/18 ] |
|
xiaohan, can you attempt to use the connection string you provided with the mongo shell that ships with the database? It uses similar connection string parsing as the Go driver. --Kris |
| Comment by xiaohan [ 19/Dec/18 ] |
|
hi kris.brandow I can use the client (Robo 3T 1.2.1) connection to work normally
|
| Comment by Kristofer Brandow (Inactive) [ 17/Dec/18 ] |
|
Hi xiaohan, Do these credentials work when you use them with the shell? --Kris |