Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-665

Replication not possible via IPv6

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.10.1
    • Fix Version/s: 1.0.3, 1.1, 1.2
    • Component/s: Replication
    • Labels:
    • Environment:

      Linux x200 2.6.32-2 #2 SMP Wed Feb 17 01:00:03 CET 2010 x86_64 GNU/Linux

    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      I have a host which is only reachable via IPv6. While I can connect to a CouchDB running on this host just fine, I cannot replicate my database to it.

      This is due to the inet6-option missing from the gen_tcp.connect() call. I will attach a patch which fixes the issue.

      To test it, you can use a host which only has an AAAA record in the DNS. CouchDB will immediately return 404 if you want to replicate to it unless you add the inet6 option.

        Attachments

        1. COUCHDB-665-replication-ipv6.patch
          2 kB
          Filipe David Borba Manana
        2. couchdb-ipv6.patch
          2 kB
          Michael Stapelberg
        3. patch
          0.8 kB
          Michael Stapelberg

          Activity

            People

            • Assignee:
              fdmanana Filipe David Borba Manana
              Reporter:
              mstapelberg Michael Stapelberg

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment