Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35456 invoked from network); 6 Sep 2010 22:22:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Sep 2010 22:22:14 -0000 Received: (qmail 27096 invoked by uid 500); 6 Sep 2010 22:22:13 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 27028 invoked by uid 500); 6 Sep 2010 22:22:13 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 27008 invoked by uid 99); 6 Sep 2010 22:22:13 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 22:22:13 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 22:21:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o86MLYNj007746 for ; Mon, 6 Sep 2010 22:21:34 GMT Message-ID: <10750066.45331283811694502.JavaMail.jira@thor> Date: Mon, 6 Sep 2010 18:21:34 -0400 (EDT) From: "Michael Stapelberg (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-665) Replication not possible via IPv6 In-Reply-To: <1041607056.461731266933507944.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stapelberg updated COUCHDB-665: --------------------------------------- Attachment: couchdb-ipv6.patch The new version of the patch does not always add the inet6 option (which only works on systems where /proc/sys/net/ipv6/bindv6only == 0) but checks which kind of hostname this is. > Replication not possible via IPv6 > ---------------------------------- > > Key: COUCHDB-665 > URL: https://issues.apache.org/jira/browse/COUCHDB-665 > Project: CouchDB > Issue Type: Bug > Components: Database Core, Replication > Affects Versions: 0.10.1 > Environment: Linux x200 2.6.32-2 #2 SMP Wed Feb 17 01:00:03 CET 2010 x86_64 GNU/Linux > Reporter: Michael Stapelberg > Priority: Blocker > Attachments: couchdb-ipv6.patch, patch > > Original Estimate: 0.25h > Remaining Estimate: 0.25h > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.