-
Notifications
You must be signed in to change notification settings - Fork 46
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
IPv6 and Gulden #183
Comments
This is fixed in .21 pre-release and fix will be included in official .21 release and onward as well. re-open if issue continues in these releases |
Running 2.1.0.21, there still seems something weird with the RPC binding Test 1: Dual stack, bind the RPC only to [::1]:9232 Gulden configuration: After starting gulden, it binds on the localhost both IPv4 and IPv6, while it should only have been IPv6: Test 2: IPv6 only (1/2), bind the RPC only to [::1]:9232: Gulden configuration: After starting gulden Gulden-cli: Although it does listen on [::1]:9232 Test 3: IPv6 only (2/2), bind the RPC to [::1]:9232 and 127.0.0.1:9232: Gulden configuration: The results are the same as test 2: debug.log: Gulden-cli: Netstat: Expected behavour: |
This is complicated a bit by the fact that we don't handle the RPC socket code ourselves but use
|
Describe the issue
When configuring an Ubuntu with IPv6 only and no IPv4 (only on loopback device which has 127.0.0.1 and ::1) the RPC won't start and block won't sync.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
RPC only seems to bind to 127.0.0.1 when:
Expected behaviour
If IPv4 is configured, it should work on IPv4 (which it does)
If IPv4 and IPv6 is configured, both should work
If IPv6 only, it should work
Actual behaviour
With IPv6 only in the debug.log or putting onlynet=ipv6 in .Gulden/Gulden.conf:
Binding RPC on address 127.0.0.1 port 9232 failed.
Loading addresses from DNS seeds (could take a while)
0 addresses found from DNS seeds
Adding fixed seed nodes as DNS doesn't seem to be available.
With IPv6 and IPv4 (without IPv4 gateway) so it has only IPv6 capable internet connectivity:
RPC starts
debug.log: 74 addresses found from DNS seeds
Won't sync, probably because it want's to connect to an IPv4 address, but it can't because it has no IPv4 internet connectivity
Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
What version of Gulden are you using?
Gulden version v2.1.0.19
Machine specs:
Any extra information that might be useful in the debugging process.
https://pastebin.com/raw/xwrrBFuq
The text was updated successfully, but these errors were encountered: