You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "sergey-safarov (via GitHub)" <gi...@apache.org> on 2023/06/30 09:02:20 UTC

[GitHub] [couchdb] sergey-safarov commented on issue #2791: ignored "-proto_dist inet6_tcp"

sergey-safarov commented on issue #2791:
URL: https://github.com/apache/couchdb/issues/2791#issuecomment-1614358860

   Sorry for the long delay
   I have reproduced the issue.
   In my installation, I have 3  node cluster that works IPv6 only (on the server no IPv4 address on the network interface card).
   But when I try to replicate the database from another server I can see "A" DNS requests.
   To start replications on my filesystem created `/tmp/json.txt` with content
   ```
   {
     "source": {
       "headers": {},
       "url": "http://admin:pass@example.com:5984/alerts"
     },
     "target": {
       "headers": {},
       "url": "http://admin:pass@127.0.0.1:5984/alerts"
     },
     "continuous": false,
     "create_target": false
   }
   ```
   And then use curl command to start replication
   ```
   curl -s -S \
     -H 'Content-Type: application/json' \
     -H 'Accept: application/json, text/javascript' \
     --data-binary @/tmp/json.txt \
     http://admin:pass@127.0.0.1:5984/_replicate
   ```
   and in the response has
   ```
   {"error":"replication_auth_error","reason":"{session_request_failed,\"http://source.local:5984/_session\",\"admin\",\n                        {conn_failed,{error,nxdomain}}}"}
   ```
   Tested on 2.3.1 and will recheck on the latest docker image


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org