Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-13583

cbq should display an error message when the query server cannot be reached as opposed to a log message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • query
    • Security Level: Public
    • Untriaged
    • No

    Description

      Mikes-MacBook-Pro:3.1.0 mikewied$ install/bin/cbq -engine="http://localhost:8093/"
      cbq> help;
      2015/02/23 17:41:14 ERROR: Post http://localhost:8093/query: dial tcp 127.0.0.1:8093: connection refused – main.HandleInteractiveMode() at interactive.go:77
      cbq> Mikes-MacBook-Pro:3.1.0 mikewied$

      I would expect something like "Could not connect to http://localhost:8093 - Connection refused".

      It also might be good to add some a message telling the user what to do to specify a different host and port to connect to.

      Attachments

        For Gerrit Dashboard: MB-13583
        # Subject Branch Project Status CR V

        Activity

          People

            isha Isha Kandaswamy (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty