Uploaded image for project: 'Couchbase Elasticsearch Connector'
  1. Couchbase Elasticsearch Connector
  2. CBES-296

Increase DNS SRV lookup timeout?

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • 0

    Description

      When connecting to Capella from laptop, DNS SRV lookup sometimes fails with

      INFO  c.c.core - [com.couchbase.core][DnsSrvLookupFailedEvent][15s] DNS SRV lookup failed (timed out).
      

      The connector then tries to connect directly to the DNS SRV address as if it were a normal hostname, and gets:

      2023-03-30T19:12:19,013-07:00 [cb-events] WARN  c.c.endpoint - [com.couchbase.endpoint][EndpointConnectionFailedEvent][1331ms] Connect attempt 1 failed because of UnknownHostException: <capella-endpoint>.cloud.couchbase.com: nodename nor servname provided, or not known {"bucket":"default","circuitBreaker":"DISABLED","coreId":"0x2234fa8600000001","remote":"cb.3gfsbvwq0waytrlq.cloud.couchbase.com:11207","type":"KV"}
      

      Restarting the connector resolves the issue, at least temporarily.

      Attachments

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

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty