Details
-
Task
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
None
-
golang 1.1.0
driver:master
Description
mongo_url : mongodb://abcd:abc%40abc@127.0.0.1:4002
code:
info := config.EngRds.Info()
m := DealRedisInfo(fmt.Sprintf("%s", info))
c := config.EngMgo.Database("rules").Collection("RedisInfo")
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
one, err := c.InsertOne(ctx, m)
fmt.Println(one, err)
error:
<nil> auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.