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

In case of IPv4 only w/ multiple interfaces reporting the same IP address, analytics will fail to start

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • Analytics Sprint 33

    Description

      When IPv6 is not optional, we will bind to the IPv4 addresses to avoid listening to the IPv6 addresses as well. This logic is broken when multiple addresses report the same IP address, which will result in:

      2023-11-28T08:56:13.108+00:00 ERRO CBAS.server.HttpServer [main] Failure starting an Http Server at: /127.0.0.1:8095
      java.net.BindException: Address already in use
      

      Note, this is actually the wrong address that is reported in the failure message- it does not report which address failed to bind, only the first address the server is configured with. That should also be fixed with this MB.

      Attachments

        Activity

          People

            umang.agrawal Umang
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty