We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When starting serf agent via cmdline with the arguments -iface and -discover, the process stops with a panic.
Provided command: serf agent -iface ens10 -discover swarm
serf agent -iface ens10 -discover swarm
Error message:
panic: reflect: call of reflect.Value.Int on zero Value goroutine 33 [running]: reflect.Value.Int(...) /goroot/src/reflect/value.go:961 github.com/hashicorp/go.net/ipv4.sysfd(0xa5b3a0, 0xc00000c7d0, 0xc00000c7d0, 0xa5b3a0, 0xc00000c7d0) /root/go/pkg/mod/github.com/hashicorp/[email protected]/ipv4/helper_unix.go:46 +0x2ca github.com/hashicorp/go.net/ipv4.(*dgramOpt).sysfd(0xc000077eb0, 0x95a0a0, 0x9a78e0, 0xc00012aa00) /root/go/pkg/mod/github.com/hashicorp/[email protected]/ipv4/helper_unix.go:25 +0x7f github.com/hashicorp/go.net/ipv4.(*dgramOpt).SetMulticastInterface(0xc000077eb0, 0xc00012a800, 0xc00000c7d0, 0xa5b3a0) /root/go/pkg/mod/github.com/hashicorp/[email protected]/ipv4/dgramopt_posix.go:59 +0x43 github.com/hashicorp/mdns.(*client).setInterface(0xc00012aac0, 0xc00012a800, 0xc00012aac0, 0x5) /root/go/pkg/mod/github.com/hashicorp/[email protected]/client.go:184 +0xe9 github.com/hashicorp/mdns.Query(0xc000387f80, 0x0, 0x0) /root/go/pkg/mod/github.com/hashicorp/[email protected]/client.go:72 +0x10b github.com/hashicorp/serf/cmd/serf/command/agent.(*AgentMDNS).poll(0xc00012a8c0, 0xc00033d740) /serf/cmd/serf/command/agent/mdns.go:127 +0xa4 created by github.com/hashicorp/serf/cmd/serf/command/agent.(*AgentMDNS).run /serf/cmd/serf/command/agent/mdns.go:115 +0x1f2
The text was updated successfully, but these errors were encountered:
related #571
Sorry, something went wrong.
yes, I encouter with this problem also.
No branches or pull requests
When starting serf agent via cmdline with the arguments -iface and -discover, the process stops with a panic.
Provided command:
serf agent -iface ens10 -discover swarm
Error message:
The text was updated successfully, but these errors were encountered: