-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignored "-proto_dist inet6_tcp" #2791
Comments
@dch You did some work on IPv6 a while back, know anything about this? |
Would also love to get CouchDB going using IPv6 to be able to deploy a cluster on Fly.io |
works fine here on FreeBSD but that shouldn't matter. If you find a working config for fly, let us know. for each node, just have [email protected] ... [email protected] etc for name field. the rest
|
Trying that I get
when using I'm also trying to debug with the Fly folks over at community.fly.io, so far having issues querying the instances IPv6 to try that instead of the hostname as mentioned over there. Okay so resolved the IP trying whereas all using the UI, haven't tried via API so far UPDATE seems like same errors happen using the API |
@CanRau appreciate this is frustrating but I think you should start off ensuring the erlang layer works first, getting distributed erlang working, and posting more of your config/setup, etc. I've just checked and a bare ipv6 e.g. the nxdomain error shows something is trying to resolve the domain and is being told NO. This isn't a couchdb problem, so I suggest you shell into the container, and start a shell inside to check DNS resolution. something like this:
I'm hoping 3 has a better outcome for you. Once you have that working, set up a pair of distributed erlang nodes using the same lines from Once that's working, you can come back to the couchdb side and see how you get on. You may find some more inspiration from my older couchdb 2.3 (but still relevant) notes-to-self the first time I set this up, https://hackmd.io/@dch/HJXCjUpeV its just a walk-through from the excellent couch docs anyway. I hope this works, having couchdb at fly would be a nice improvement. |
@CanRau Is this still an issue? |
Sorry I don't know as I'm not working on this anymore, so at least for me it's not and could be closed. |
I can make a test. |
Try it with the latest source from main or with 3.2.2. I can't say something to use inside docker, but you can test it... |
This still works perfectly for me, since 2.3.x til 3.2.2 atm. |
Closing wil close this for now, @sergey-safarov if you have a reproducible test case, please re-open this issue. |
Sorry for the long delay
And then use curl command to start replication
and in the response has
Tested on 2.3.1 and will recheck on the latest docker image |
I have reproduced the issue on I tarted replicaation using json {
"user_ctx": {
"name": "admin",
"roles": [
"_admin",
"_reader",
"_writer"
]
},
"source": {
"url": "http:https://ippbx-1a.la.example.com:5984/mydb",
"headers": {
"Authorization": "Basic XXXXXXXXXXXX"
}
},
"target": {
"url": "http:https://127.0.0.1:5984/mydb",
"headers": {
"Authorization": "Basic XXXXXXXXX"
}
},
"create_target": true,
"continuous": false
} in the CouchDB output I see
And the tcpdump output
In the vm.args
|
Issue recreated at #4668 |
Description
I cannot form cluster in ipv6 network
Steps to Reproduce
Expected Behaviour
CouchDB try resolve AAAA record
Your Environment
CouchDB resolve A record
Additional Context
None
The text was updated successfully, but these errors were encountered: