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

Replication not possible via IPv6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 0.10.1
    • 1.0.3, 1.1, 1.2
    • Replication
    • Linux x200 2.6.32-2 #2 SMP Wed Feb 17 01:00:03 CET 2010 x86_64 GNU/Linux

    • 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

            fdmanana Filipe David Borba Manana
            mstapelberg Michael Stapelberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            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