Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1615

connecting to CBS 7.6 with non TLS bad credentials doesn't return ErrAuthenticationFailure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.1
    • None
    • None
    • None
    • 1
    • SDK12: Scp Fnc, FIT, Misc

    Description

      Attached is a program that does a connection with good credentials (hardcoded Administrator/password) and does non TLS connection to CBS. In gocb v2.8.0, this will return gocb.ErrAuthenticationFailure on CBS <=7.2 but it doesn't return a wrapped error in 7.6.

      The error returned is:

      invalid argument | {"status_code":4,"document_id":"SCRAM-SHA1","error_name":"EINVAL","error_description":"Invalid packet","opaque":6,"context":"Logic error: The server expects SASL STEP after returning CONTINUE from SASL START","last_dispatched_to":"localhost:11210","last_dispatched_from":"[::1]:57638","last_connection_id":"3fa9b163accbbe13/69208c0613990cb7"}

      Attachments

        Issue Links

          For Gerrit Dashboard: GOCBC-1615
          # Subject Branch Project Status CR V

          Activity

            People

              charles.dixon Charles Dixon
              tor.colvin Tor Colvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty