Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03E7896CE for ; Tue, 21 Feb 2012 13:46:59 +0000 (UTC) Received: (qmail 29421 invoked by uid 500); 21 Feb 2012 13:46:58 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 29358 invoked by uid 500); 21 Feb 2012 13:46:58 -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 29291 invoked by uid 99); 21 Feb 2012 13:46:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 13:46:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 13:46:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E6EA7332D52 for ; Tue, 21 Feb 2012 13:46:34 +0000 (UTC) Date: Tue, 21 Feb 2012 13:46:34 +0000 (UTC) From: "Jan Lehnardt (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <621841965.5800.1329831994947.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-665) Replication not possible via IPv6 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:comment-tabpanel&focusedCommentId=13212588#comment-13212588 ] Jan Lehnardt commented on COUCHDB-665: -------------------------------------- I can confirm Robert's observation. > curl -X PUT http://::1:5984/a {"ok":true} > curl -X PUT http://::1:5984/b {"ok":true} > curl -X PUT http://::1:5984/a/a -d '{}'{"ok":true,"id":"a","rev":"1-967a00dff5e02add41819138abb3284d"} > curl -X POST http://::1:5984/_replicate -d '{"source":"http://[::1]:5984/a","target":"http://[::1]:5984/b"}' -Hcontent-type:application/json {"ok":true,"session_id":"f1c4f5c26932d416cbac4b86c533756d","source_last_seq":1,"replication_id_version":2,"history":[{"session_id":"f1c4f5c26932d416cbac4b86c533756d","start_time":"Tue, 21 Feb 2012 13:43:37 GMT","end_time":"Tue, 21 Feb 2012 13:43:37 GMT","start_last_seq":0,"end_last_seq":1,"recorded_seq":1,"missing_checked":1,"missing_found":1,"docs_read":1,"docs_written":1,"doc_write_failures":0}]} > curl -X GET http://::1:5984/b/a {"_id":"a","_rev":"1-967a00dff5e02add41819138abb3284d"} > Replication not possible via IPv6 > ---------------------------------- > > Key: COUCHDB-665 > URL: https://issues.apache.org/jira/browse/COUCHDB-665 > Project: CouchDB > Issue Type: Bug > Components: 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 > Assignee: Filipe Manana > Priority: Blocker > Labels: ipv6 > Fix For: 1.1, 1.0.3, 1.2 > > Attachments: COUCHDB-665-replication-ipv6.patch, 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira