XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      golang 1.1.0
      driver:master


    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kristofer Brandow (Inactive)
            Reporter:
            xiaohan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: