sergey-safarov commented on issue #2791:
URL: https://github.com/apache/couchdb/issues/2791#issuecomment-1625131253
I have reproduced the issue on `apache/couchdb:3.3.2` docker image.
I tarted replicaation using json
```json
{
"user_ctx": {
"name": "admin",
"roles": [
"_admin",
"_reader",
"_writer"
]
},
"source": {
"url": "http://ippbx-1a.la.example.com:5984/mydb",
"headers": {
"Authorization": "Basic XXXXXXXXXXXX"
}
},
"target": {
"url": "http://127.0.0.1:5984/mydb",
"headers": {
"Authorization": "Basic XXXXXXXXX"
}
},
"create_target": true,
"continuous": false
}
```
in the CouchDB output I see
> Jul 07 09:21:51 ippbx-1b.la.example.com docker[3677369]: [error]
2023-07-07T09:21:51.599467Z [email protected] <0.6095.0> --------
couch_replicator_httpc: auth plugin initialization failed
"http://ippbx-1a.la.example.com:5984/mydb/"
{session_request_failed,"http://ippbx-1a.la.example.com:5984/_session","admin",{conn_failed,{error,nxdomain}}}
Jul 07 09:21:51 ippbx-1b.la.example.com docker[3677369]: [error]
2023-07-07T09:21:51.599676Z [email protected] <0.6095.0> --------
throw:{replication_auth_error,{session_request_failed,"http://ippbx-1a.la.example.com:5984/_session","admin",{conn_failed,{error,nxdomain}}}}:
Replication 69411eb9179c970995746a1ecd781fac+create_target failed to start
"http://ippbx-1a.la.example.com:5984/mydb/" -> "http://127.0.0.1:5984/mydb/"
doc
<<"shards/00000000-7fffffff/_replicator.1688721035">>:<<"477deb9261a9927a1d20e90f2a001b31">>
stack:[{couch_replicator_httpc,setup,1,[{file,"src/couch_replicator_httpc.erl"},{line,62}]},{couch_replicator_api_wrap,db_open,3,[{file,"src/couch_replicator_api_wrap.erl"},{line,68}]}]
And the tcpdump output
```
09:23:15.476762 IP 127.0.0.1.56494 > 127.0.0.1.domain: 63155+ A?
ippbx-1a.la.example.com. (40)
09:23:15.476905 IP 127.0.0.1.domain > 127.0.0.1.56494: 63155* 0/1/0 (140)
09:23:15.476996 IP 127.0.0.1.55970 > 127.0.0.1.domain: 52657+ A?
ippbx-1a.la.example.com. (40)
09:23:15.477078 IP 127.0.0.1.domain > 127.0.0.1.55970: 52657* 0/1/0 (140)
```
In the vm.args
```
[centos@ippbx-1b ~]$ grep proto_dist /opt/couchdb/etc/vm.args
-proto_dist inet6_tcp
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]