Open arybczak opened 7 years ago
[node.ntp-check:WARNING:ThreadId 4] [2017-11-06 14:36:25.96 UTC] Failed to create sockets, retrying in 5 sec... (reason: Network.Socket.socket: unsupported operation (Address family not supported by protocol))
If the NTP client fails (withNtpCheck
, used by runNode'
in Pos.Launcher.Scenario
) then everything stops. This doesn't happen on my system. It tries to bind IPv4 and IPv6 sockets. I remember there was discussion about this last week in the slack.
The "retrying in 5 sec" message is misleading.
@arybczak offtopic, but: any particular reason why you filed this issue here instead of YouTrack?
@neongreen No. Should I move it there?
It tries to bind IPv4 and IPv6 sockets. I remember there was discussion about this last week in the slack.
Right, I have ipv6 disabled in userspace (not kernel), so it might be the reason. But why did it stop working only recently?
But why did it stop working only recently?
AFAIK the ntp check was added only recently.
I recompiled apps with ipv6 support and the error is still there.
EDIT: Alright, turns out I didn't have ipv6 support in the kernel. After enabling it it works. The thing is that I see no reason for it to fail if ipv6 is not supported, something is not right there.
No. Should I move it there?
Preferably yes.
And preferably call it e. g. Node doesn't work without ipv6 support
, since now there are more details about the issue.
What is the ID of this issue on YouTrack? Can we close this issue on GitHub?
This is the result of running demo on master (36f4b82152df971fef531c4ccccd7e65f8e2e8e9):
It works fine on
cardano-sl-1.0
branch and master @ d4551608f725ff59f8ccd847f440444ccd6dab95 (2017-10-12), so something broke along the way.If you look closer at this commit, you'll see that it updates snapshot of time-warp-nt in stack.yaml, so I presume whatever causes this originates from there.
ab45e114754a06da88ee39e8f9d3dbdd59e28643~1 is fine, with ab45e114754a06da88ee39e8f9d3dbdd59e28643 I get this:
Note that this is a different error - when I was bisecting I was either getting this or the one I posted above.