Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1467

When hostname is used instead of IP in server config N1QL query fails on Docker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • backlog-2.0, .backlog
    • 2.4.7
    • library
    • None

    Description

      https://forums.couchbase.com/t/curlexception-couldnt-connect-to-server-on-queryasync-using-docker/13482/6

       

      Workaround: (from forum post)

      "We were able to resolve this issue by not changing the hostname of the couchbase server. The configuration for the Couchbase server we had was changing the hostname to a named address instead of letting it default to an IP address. Once we removed the hostname change, everything is working as expected.

      I still find it odd that Get worked under these circumstances but Query did not. We suspect it is related to the way the IP address is resolved from the hostname, but we're not sure. It's possibly a bug with Couchbase where it fails lookup the IP of a named host for the index service for queries, but this is pure speculation."

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jmorris Jeff Morris
            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