Skip to content
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

Program terminates after "timeout: no recent network activity" #137

Open
aabbtree77 opened this issue Jul 15, 2023 · 2 comments
Open

Program terminates after "timeout: no recent network activity" #137

aabbtree77 opened this issue Jul 15, 2023 · 2 comments

Comments

@aabbtree77
Copy link

aabbtree77 commented Jul 15, 2023

sudo IFACE=edgevpn0 ADDRESS=10.1.0.7/24 EDGEVPNCONFIG=config.yaml ./edgevpn --log-level debug

{"level":"INFO","time":"2023-07-16T21:14:35.648+0300","caller":"cmd/util.go:361","message":" \tedgevpn Copyright (C) 2021-2022 Ettore Di Giacinto\nThis program comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions."}
{"level":"INFO","time":"2023-07-16T21:14:35.649+0300","caller":"cmd/util.go:363","message":"Version: v0.23.1 commit: 99b768e\n"}
{"level":"INFO","time":"2023-07-16T21:14:35.649+0300","caller":"node/node.go:118","message":" Starting EdgeVPN network"}
{"level":"DEBUG","time":"2023-07-16T21:14:35.663+0300","caller":"node/node.go:154","message":" Generating host data"}
2023/07/16 21:14:35 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
{"level":"INFO","time":"2023-07-16T21:14:35.688+0300","caller":"node/node.go:172","message":" Node ID: 12D3KooWMN6g7aXyDS7swwx2hfoPPFbjNpj36NADVJQzehid2Usv"}
{"level":"INFO","time":"2023-07-16T21:14:35.689+0300","caller":"node/node.go:173","message":" Node Addresses: [/ip4/127.0.0.1/tcp/42435 /ip4/127.0.0.1/udp/45993/quic-v1/webtransport/certhash/uEiABXQ05UrrXIJjbgCOsyDb0hsQh03EemayjzahuxjSitw/certhash/uEiD6ANUnuFVQwZU92dFRdYCHgK7weI89InhAybLPYBMJ6g /ip4/127.0.0.1/udp/49236/quic /ip4/127.0.0.1/udp/49236/quic-v1 /ip4/192.168.13.146/tcp/42435 /ip4/192.168.13.146/udp/45993/quic-v1/webtransport/certhash/uEiABXQ05UrrXIJjbgCOsyDb0hsQh03EemayjzahuxjSitw/certhash/uEiD6ANUnuFVQwZU92dFRdYCHgK7weI89InhAybLPYBMJ6g /ip4/192.168.13.146/udp/49236/quic /ip4/192.168.13.146/udp/49236/quic-v1 /ip6/::1/tcp/45349 /ip6/::1/udp/39528/quic-v1/webtransport/certhash/uEiABXQ05UrrXIJjbgCOsyDb0hsQh03EemayjzahuxjSitw/certhash/uEiD6ANUnuFVQwZU92dFRdYCHgK7weI89InhAybLPYBMJ6g /ip6/::1/udp/49235/quic /ip6/::1/udp/49235/quic-v1]"}
{"level":"INFO","time":"2023-07-16T21:14:35.690+0300","caller":"discovery/dht.go:104","message":" Bootstrapping DHT"}
{"level":"DEBUG","time":"2023-07-16T21:14:35.690+0300","caller":"node/node.go:195","message":" Network started"}
{"level":"DEBUG","time":"2023-07-16T21:14:35.902+0300","caller":"discovery/dht.go:149","message":" Connection established with bootstrap node: {QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb: [/dnsaddr/bootstrap.libp2p.io]}"}
{"level":"DEBUG","time":"2023-07-16T21:14:36.115+0300","caller":"discovery/dht.go:149","message":" Connection established with bootstrap node: {QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa: [/dnsaddr/bootstrap.libp2p.io]}"}
{"level":"DEBUG","time":"2023-07-16T21:14:36.165+0300","caller":"discovery/dht.go:149","message":" Connection established with bootstrap node: {QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN: [/dnsaddr/bootstrap.libp2p.io]}"}
{"level":"DEBUG","time":"2023-07-16T21:14:36.566+0300","caller":"discovery/dht.go:149","message":" Connection established with bootstrap node: {QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt: [/dnsaddr/bootstrap.libp2p.io]}"}
{"level":"DEBUG","time":"2023-07-16T21:14:37.520+0300","caller":"discovery/dht.go:149","message":" Connection established with bootstrap node: {QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ: [/ip4/104.131.131.82/tcp/4001]}"}
{"level":"DEBUG","time":"2023-07-16T21:14:37.520+0300","caller":"discovery/dht.go:204","message":" Announcing ourselves..."}
{"level":"DEBUG","time":"2023-07-16T21:14:44.654+0300","caller":"discovery/dht.go:207","message":" Successfully announced!"}
{"level":"DEBUG","time":"2023-07-16T21:14:44.654+0300","caller":"discovery/dht.go:210","message":" Searching for other peers..."}
{"level":"DEBUG","time":"2023-07-16T21:14:44.696+0300","caller":"discovery/dht.go:223","message":" Found peer: {12D3KooWQkcNF85tjvR9hkyp6N33QZdYAQHFLHPzc1PrSX52yNQY: [/ip4/207.246.110.127/tcp/4001/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit /ip4/127.0.0.1/udp/32914/quic /ip4/192.168.13.105/udp/32914/quic /ip6/::1/tcp/38221 /ip6/::1/udp/53739/quic /ip4/108.35.98.211/udp/16889/quic-v1/webtransport/certhash/uEiA9YpEMG8QNQEFuNYdZIlIzFSFXFUDyfrO7YJ5z8LN9Jw/certhash/uEiCjBQ78GNIEmxp4PMJcEjRx_NwM1cWkOO84x47Y3SLFug/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/192.168.13.105/tcp/38851 /ip4/192.168.13.105/udp/32914/quic-v1 /ip4/108.35.98.211/tcp/16889/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/108.35.98.211/udp/16889/quic-v1/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/207.246.110.127/udp/4001/quic/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit /ip4/127.0.0.1/udp/32914/quic-v1 /ip4/127.0.0.1/udp/51094/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip4/192.168.13.105/udp/51094/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip6/::1/udp/53739/quic-v1 /ip4/127.0.0.1/tcp/38851 /ip6/::1/udp/59784/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip4/207.246.110.127/udp/4001/quic-v1/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit]}"}
{"level":"DEBUG","time":"2023-07-16T21:15:07.460+0300","caller":"discovery/dht.go:225","message":" Failed connecting to {12D3KooWQkcNF85tjvR9hkyp6N33QZdYAQHFLHPzc1PrSX52yNQY: [/ip4/207.246.110.127/tcp/4001/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit /ip4/127.0.0.1/udp/32914/quic /ip4/192.168.13.105/udp/32914/quic /ip6/::1/tcp/38221 /ip6/::1/udp/53739/quic /ip4/108.35.98.211/udp/16889/quic-v1/webtransport/certhash/uEiA9YpEMG8QNQEFuNYdZIlIzFSFXFUDyfrO7YJ5z8LN9Jw/certhash/uEiCjBQ78GNIEmxp4PMJcEjRx_NwM1cWkOO84x47Y3SLFug/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/192.168.13.105/tcp/38851 /ip4/192.168.13.105/udp/32914/quic-v1 /ip4/108.35.98.211/tcp/16889/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/108.35.98.211/udp/16889/quic-v1/p2p/12D3KooWNJXFBqbzxesjL6womRwyac5eNwKJzDL7PiHkbyVmaj7z/p2p-circuit /ip4/207.246.110.127/udp/4001/quic/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit /ip4/127.0.0.1/udp/32914/quic-v1 /ip4/127.0.0.1/udp/51094/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip4/192.168.13.105/udp/51094/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip6/::1/udp/53739/quic-v1 /ip4/127.0.0.1/tcp/38851 /ip6/::1/udp/59784/quic-v1/webtransport/certhash/uEiBhPaykk2nZApt3bd9sXBDWq30rRuCb3wYUZDkUcnpKMw/certhash/uEiATHCBtdPGcMMWdkf8AEJ13AyZsj0gz5AAy3EbBynW1DA /ip4/207.246.110.127/udp/4001/quic-v1/p2p/12D3KooWMPkgD3i4RLWprxSQbSYAVAchJeeYeb5BjF36zAotpZr1/p2p-circuit]}"}
{"level":"DEBUG","time":"2023-07-16T21:15:07.460+0300","caller":"discovery/dht.go:223","message":" Found peer: {12D3KooWGKqjcufab1y5hoh6YbgsvnArgoxHcxgM3fYiS3Pjmqn4: [/ip4/192.168.13.105/udp/51028/quic-v1/webtransport/certhash/uEiAsA3TX4av2nR9fCsA6LIyN1XF4vrX9VJ2BJlW5ZZMmTQ/certhash/uEiCqlloA4Ydo2mTklY_O-wgEIlEkj7d-Skdp1xD1Nx_Z9A /ip4/45.63.86.86/udp/4001/quic/p2p/12D3KooWNtR88ioXqQcuqRYs4WberhAuqXj23MeyAyPjpmLHyqWp/p2p-circuit /ip4/45.32.172.61/udp/4001/quic/p2p/12D3KooWBVb8ke82dS5Hk9FoS5jyQgBwkcnPv6m1Ub7j7ZPhPfVC/p2p-circuit /ip4/192.168.13.105/tcp/39835 /ip4/192.168.13.105/udp/42536/quic /ip6/::1/udp/59577/quic-v1/webtransport/certhash/uEiAsA3TX4av2nR9fCsA6LIyN1XF4vrX9VJ2BJlW5ZZMmTQ/certhash/uEiCqlloA4Ydo2mTklY_O-wgEIlEkj7d-Skdp1xD1Nx_Z9A /ip4/45.63.86.86/tcp/4001/p2p/12D3KooWNtR88ioXqQcuqRYs4WberhAuqXj23MeyAyPjpmLHyqWp/p2p-circuit /ip4/45.32.172.61/tcp/4001/p2p/12D3KooWBVb8ke82dS5Hk9FoS5jyQgBwkcnPv6m1Ub7j7ZPhPfVC/p2p-circuit /ip4/192.168.13.105/udp/42536/quic-v1 /ip6/::1/tcp/45209 /ip4/45.63.86.86/udp/4001/quic-v1/p2p/12D3KooWNtR88ioXqQcuqRYs4WberhAuqXj23MeyAyPjpmLHyqWp/p2p-circuit /ip4/127.0.0.1/tcp/39835 /ip4/127.0.0.1/udp/42536/quic /ip6/::1/udp/33067/quic /ip6/::1/udp/33067/quic-v1 /ip4/45.32.172.61/udp/4001/quic-v1/p2p/12D3KooWBVb8ke82dS5Hk9FoS5jyQgBwkcnPv6m1Ub7j7ZPhPfVC/p2p-circuit /ip4/127.0.0.1/udp/42536/quic-v1 /ip4/127.0.0.1/udp/51028/quic-v1/webtransport/certhash/uEiAsA3TX4av2nR9fCsA6LIyN1XF4vrX9VJ2BJlW5ZZMmTQ/certhash/uEiCqlloA4Ydo2mTklY_O-wgEIlEkj7d-Skdp1xD1Nx_Z9A]}"}

...

{"level":"DEBUG","time":"2023-07-16T23:51:21.685+0300","caller":"discovery/dht.go:223","message":" Found peer: {12D3KooWHD4TCEyafxzda9H3rooNwraPnZFCJfJngHaUktU3NAYA: [/ip4/127.0.0.1/tcp/40061 /ip4/127.0.0.1/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/192.168.8.109/tcp/40061 /ip6/::1/udp/43490/quic /ip6/::1/udp/43490/quic-v1 /ip4/104.238.187.126/udp/4001/quic/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/154.53.60.79/udp/4001/quic/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/192.168.8.109/udp/60081/quic-v1 /ip6/::1/tcp/35681 /ip4/154.53.60.79/tcp/4001/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/154.53.60.79/udp/4001/quic-v1/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/127.0.0.1/udp/60081/quic /ip4/127.0.0.1/udp/60081/quic-v1 /ip4/192.168.8.109/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip6/::1/udp/54679/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/104.238.187.126/udp/4001/quic-v1/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/104.238.187.126/tcp/4001/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/192.168.8.109/udp/60081/quic]}"}
{"level":"DEBUG","time":"2023-07-16T23:51:30.181+0300","caller":"discovery/dht.go:225","message":" Failed connecting to {12D3KooWHD4TCEyafxzda9H3rooNwraPnZFCJfJngHaUktU3NAYA: [/ip4/127.0.0.1/tcp/40061 /ip4/127.0.0.1/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/192.168.8.109/tcp/40061 /ip6/::1/udp/43490/quic /ip6/::1/udp/43490/quic-v1 /ip4/104.238.187.126/udp/4001/quic/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/154.53.60.79/udp/4001/quic/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/192.168.8.109/udp/60081/quic-v1 /ip6/::1/tcp/35681 /ip4/154.53.60.79/tcp/4001/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/154.53.60.79/udp/4001/quic-v1/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/127.0.0.1/udp/60081/quic /ip4/127.0.0.1/udp/60081/quic-v1 /ip4/192.168.8.109/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip6/::1/udp/54679/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/104.238.187.126/udp/4001/quic-v1/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/104.238.187.126/tcp/4001/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/192.168.8.109/udp/60081/quic]}"}
{"level":"DEBUG","time":"2023-07-16T23:51:42.448+0300","caller":"discovery/dht.go:204","message":" Announcing ourselves..."}
{"level":"DEBUG","time":"2023-07-16T23:51:46.709+0300","caller":"discovery/dht.go:207","message":" Successfully announced!"}
{"level":"DEBUG","time":"2023-07-16T23:51:46.709+0300","caller":"discovery/dht.go:210","message":" Searching for other peers..."}
{"level":"DEBUG","time":"2023-07-16T23:51:46.768+0300","caller":"discovery/dht.go:223","message":" Found peer: {12D3KooWL7XFd2KPiYbvNJMxjZwqtkbeBSG6rnR8tGUvbJxdJFZj: [/ip4/161.97.103.8/tcp/4001/p2p/12D3KooWNLxpb8ufYRXTvkUB91VPww4k7y1YBaVeEJRjGDX8ocW1/p2p-circuit /ip4/127.0.0.1/tcp/43601 /ip4/127.0.0.1/udp/38462/quic /ip4/192.168.8.109/tcp/43601 /ip6/::1/udp/40329/quic /ip6/::1/udp/59774/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip4/127.0.0.1/udp/55473/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip4/192.168.8.109/udp/38462/quic-v1 /ip6/::1/tcp/41077 /ip4/192.168.8.109/udp/38462/quic /ip4/54.39.17.76/udp/4001/quic-v1/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/161.97.103.8/udp/4001/quic/p2p/12D3KooWNLxpb8ufYRXTvkUB91VPww4k7y1YBaVeEJRjGDX8ocW1/p2p-circuit /ip4/54.39.17.76/udp/4001/quic/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/54.39.17.76/tcp/4001/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/127.0.0.1/udp/38462/quic-v1 /ip4/192.168.8.109/udp/55473/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip6/::1/udp/40329/quic-v1]}"}
{"level":"DEBUG","time":"2023-07-16T23:51:58.851+0300","caller":"discovery/dht.go:225","message":" Failed connecting to {12D3KooWL7XFd2KPiYbvNJMxjZwqtkbeBSG6rnR8tGUvbJxdJFZj: [/ip4/161.97.103.8/tcp/4001/p2p/12D3KooWNLxpb8ufYRXTvkUB91VPww4k7y1YBaVeEJRjGDX8ocW1/p2p-circuit /ip4/127.0.0.1/tcp/43601 /ip4/127.0.0.1/udp/38462/quic /ip4/192.168.8.109/tcp/43601 /ip6/::1/udp/40329/quic /ip6/::1/udp/59774/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip4/127.0.0.1/udp/55473/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip4/192.168.8.109/udp/38462/quic-v1 /ip6/::1/tcp/41077 /ip4/192.168.8.109/udp/38462/quic /ip4/54.39.17.76/udp/4001/quic-v1/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/161.97.103.8/udp/4001/quic/p2p/12D3KooWNLxpb8ufYRXTvkUB91VPww4k7y1YBaVeEJRjGDX8ocW1/p2p-circuit /ip4/54.39.17.76/udp/4001/quic/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/54.39.17.76/tcp/4001/p2p/12D3KooWLgLY5EpNKg49p2KMCx9mszFoGPFEJ8x44wBdmZwsNEz4/p2p-circuit /ip4/127.0.0.1/udp/38462/quic-v1 /ip4/192.168.8.109/udp/55473/quic-v1/webtransport/certhash/uEiAURErl2a5kD81f7qwuGUA5apTE8lzm6ujU0yrdXS0SBw/certhash/uEiBfisE5y3VroKsi5t-ic0OJQXPSqrjqtkfYzWtHe7Ukeg /ip6/::1/udp/40329/quic-v1]}"}
{"level":"DEBUG","time":"2023-07-16T23:51:58.851+0300","caller":"discovery/dht.go:223","message":" Found peer: {12D3KooWHD4TCEyafxzda9H3rooNwraPnZFCJfJngHaUktU3NAYA: [/ip4/127.0.0.1/udp/60081/quic /ip4/127.0.0.1/udp/60081/quic-v1 /ip4/192.168.8.109/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip6/::1/udp/54679/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/104.238.187.126/udp/4001/quic-v1/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/104.238.187.126/tcp/4001/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/192.168.8.109/udp/60081/quic /ip4/127.0.0.1/tcp/40061 /ip4/127.0.0.1/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/192.168.8.109/tcp/40061 /ip6/::1/udp/43490/quic /ip6/::1/udp/43490/quic-v1 /ip4/104.238.187.126/udp/4001/quic/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/154.53.60.79/udp/4001/quic/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/192.168.8.109/udp/60081/quic-v1 /ip6/::1/tcp/35681 /ip4/154.53.60.79/tcp/4001/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/154.53.60.79/udp/4001/quic-v1/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit]}"}
{"level":"DEBUG","time":"2023-07-16T23:52:07.900+0300","caller":"discovery/dht.go:225","message":" Failed connecting to {12D3KooWHD4TCEyafxzda9H3rooNwraPnZFCJfJngHaUktU3NAYA: [/ip4/127.0.0.1/udp/60081/quic /ip4/127.0.0.1/udp/60081/quic-v1 /ip4/192.168.8.109/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip6/::1/udp/54679/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/104.238.187.126/udp/4001/quic-v1/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/104.238.187.126/tcp/4001/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/192.168.8.109/udp/60081/quic /ip4/127.0.0.1/tcp/40061 /ip4/127.0.0.1/udp/35008/quic-v1/webtransport/certhash/uEiBamcm0uMnwHUlB8lotCZ1LaNH8gWqgnZhDI8Ecv8SReg/certhash/uEiDeuCP0iG6_dRw-Omh_8GMGF0k5t_OiyQKkkedKNrjk0Q /ip4/192.168.8.109/tcp/40061 /ip6/::1/udp/43490/quic /ip6/::1/udp/43490/quic-v1 /ip4/104.238.187.126/udp/4001/quic/p2p/12D3KooWF6asfk6suLodGAHqA3KnUKdDEWE7ommSaNdV7tTyvbpe/p2p-circuit /ip4/154.53.60.79/udp/4001/quic/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/192.168.8.109/udp/60081/quic-v1 /ip6/::1/tcp/35681 /ip4/154.53.60.79/tcp/4001/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit /ip4/154.53.60.79/udp/4001/quic-v1/p2p/12D3KooWFy5AxPyrrDxDkgiZxgdLmStkogxUt2M9WsXW16b6kjNN/p2p-circuit]}"}
{"level":"DEBUG","time":"2023-07-17T00:07:37.886+0300","caller":"discovery/dht.go:147","message":" failed to dial QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ:\n * [/ip4/127.0.0.1/tcp/4001] dial tcp4 127.0.0.1:4001: connect: connection refused\n * [/ip4/104.131.131.82/tcp/4001] dial tcp4 0.0.0.0:42435->104.131.131.82:4001: i/o timeout\n * [/ip4/127.0.0.1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/104.131.131.82/udp/4001/quic-v1] timeout: no recent network activity"}
{"level":"DEBUG","time":"2023-07-17T00:07:49.036+0300","caller":"discovery/dht.go:147","message":" failed to dial QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb:\n * [/ip6/2604:1380:4602:5c00::3/tcp/4001] dial tcp6 [2604:1380:4602:5c00::3]:4001: connect: network is unreachable\n * [/ip6/::1/tcp/4001] dial tcp6 [::1]:4001: connect: connection refused\n * [/ip4/127.0.0.1/tcp/8081/ws] failed to WebSocket dial: failed to send handshake request: Get "http://127.0.0.1:8081\": dial tcp 127.0.0.1:8081: connect: connection refused\n * [/ip4/127.0.0.1/tcp/4001] dial tcp4 127.0.0.1:4001: connect: connection refused\n * [/ip6/2604:1380:4602:5c00::3/tcp/443/tls/sni/am6.bootstrap.libp2p.io/ws] failed to WebSocket dial: failed to send handshake request: Get "https://am6.bootstrap.libp2p.io:443\": dial tcp [2604:1380:4602:5c00::3]:443: connect: network is unreachable\n * [/ip6/2604:1380:4602:5c00::3/udp/4001/quic-v1] INTERNAL_ERROR (local): write udp6 [::]:49235->[2604:1380:4602:5c00::3]:4001: sendto: network is unreachable\n * [/ip4/147.75.87.27/tcp/443/tls/sni/am6.bootstrap.libp2p.io/ws] failed to WebSocket dial: failed to send handshake request: Get "https://am6.bootstrap.libp2p.io:443\": dial tcp 147.75.87.27:443: connect: no route to host\n * [/ip4/147.75.87.27/tcp/4001] dial tcp4 147.75.87.27:4001: connect: no route to host\n * [/ip6/::1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/127.0.0.1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/147.75.87.27/udp/4001/quic-v1] timeout: no recent network activity"}
{"level":"DEBUG","time":"2023-07-17T00:07:49.066+0300","caller":"discovery/dht.go:147","message":" failed to dial QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa:\n * [/ip4/127.0.0.1/tcp/4001] dial tcp4 127.0.0.1:4001: connect: connection refused\n * [/ip6/2604:1380:45d2:8100::1/tcp/4001] dial tcp6 [2604:1380:45d2:8100::1]:4001: connect: network is unreachable\n * [/ip6/::1/tcp/4001] dial tcp6 [::1]:4001: connect: connection refused\n * [/ip4/172.17.0.1/udp/4001/quic] context deadline exceeded\n * [/ip4/10.66.201.1/udp/4001/quic] context deadline exceeded\n * [/ip4/172.17.0.1/tcp/4001] dial tcp4 0.0.0.0:42435->172.17.0.1:4001: i/o timeout\n * [/ip4/147.75.198.209/tcp/4001] dial tcp4 0.0.0.0:42435->147.75.198.209:4001: i/o timeout\n * [/ip4/147.75.198.209/udp/4001/quic] timeout: no recent network activity\n * [/ip4/10.66.201.1/tcp/4001] dial tcp4 0.0.0.0:42435->10.66.201.1:4001: i/o timeout\n * [/ip4/127.0.0.1/udp/4001/quic] timeout: no recent network activity"}
{"level":"DEBUG","time":"2023-07-17T00:07:49.075+0300","caller":"discovery/dht.go:147","message":" failed to dial QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN:\n * [/ip6/2604:1380:45e3:6e00::1/tcp/4001] dial tcp6 [2604:1380:45e3:6e00::1]:4001: connect: network is unreachable\n * [/ip4/127.0.0.1/tcp/8081/ws] failed to WebSocket dial: failed to send handshake request: Get "http://127.0.0.1:8081\": dial tcp 127.0.0.1:8081: connect: connection refused\n * [/ip6/::1/tcp/4001] dial tcp6 [::1]:4001: connect: connection refused\n * [/ip4/127.0.0.1/tcp/4001] dial tcp4 127.0.0.1:4001: connect: connection refused\n * [/ip6/2604:1380:45e3:6e00::1/udp/4001/quic-v1] INTERNAL_ERROR (local): write udp6 [::]:49235->[2604:1380:45e3:6e00::1]:4001: sendto: network is unreachable\n * [/ip4/139.178.91.71/tcp/4001] dial tcp4 0.0.0.0:42435->139.178.91.71:4001: i/o timeout\n * [/ip4/127.0.0.1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/139.178.91.71/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip6/::1/udp/4001/quic-v1] timeout: no recent network activity"}
{"level":"DEBUG","time":"2023-07-17T00:08:02.074+0300","caller":"discovery/dht.go:147","message":" failed to dial QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt:\n * [/ip6/2604:1380:40e1:9c00::1/tcp/4001] dial tcp6 [2604:1380:40e1:9c00::1]:4001: connect: network is unreachable\n * [/ip4/127.0.0.1/tcp/8081/ws] failed to WebSocket dial: failed to send handshake request: Get "http://127.0.0.1:8081\": dial tcp 127.0.0.1:8081: connect: connection refused\n * [/ip6/::1/tcp/4001] dial tcp6 [::1]:4001: connect: connection refused\n * [/ip4/127.0.0.1/tcp/4001] dial tcp4 127.0.0.1:4001: connect: connection refused\n * [/ip6/2604:1380:40e1:9c00::1/udp/4001/quic-v1] INTERNAL_ERROR (local): write udp6 [::]:49235->[2604:1380:40e1:9c00::1]:4001: sendto: network is unreachable\n * [/ip4/145.40.118.135/tcp/4001] dial tcp4 0.0.0.0:42435->145.40.118.135:4001: i/o timeout\n * [/ip6/::1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/127.0.0.1/udp/4001/quic-v1] timeout: no recent network activity\n * [/ip4/145.40.118.135/udp/4001/quic-v1] timeout: no recent network activity"}
{"level":"DEBUG","time":"2023-07-17T00:08:02.074+0300","caller":"discovery/dht.go:204","message":" Announcing ourselves..."}
{"level":"DEBUG","time":"2023-07-17T00:08:12.096+0300","caller":"discovery/dht.go:207","message":" Successfully announced!"}
{"level":"DEBUG","time":"2023-07-17T00:08:12.096+0300","caller":"discovery/dht.go:210","message":" Searching for other peers..."}
{"level":"DEBUG","time":"2023-07-17T00:08:22.116+0300","caller":"discovery/dht.go:204","message":" Announcing ourselves..."}
{"level":"DEBUG","time":"2023-07-17T00:08:32.140+0300","caller":"discovery/dht.go:207","message":" Successfully announced!"}
{"level":"DEBUG","time":"2023-07-17T00:08:32.140+0300","caller":"discovery/dht.go:210","message":" Searching for other peers..."}
panic: close of closed channel

goroutine 512334 [running]:
github.com/mudler/edgevpn/pkg/discovery.(*DHT).FindClosePeers.func1.1()
/home/runner/work/edgevpn/edgevpn/pkg/discovery/dht.go:196 +0x1a8
created by github.com/mudler/edgevpn/pkg/discovery.(*DHT).FindClosePeers.func1
/home/runner/work/edgevpn/edgevpn/pkg/discovery/dht.go:160 +0x173
$

@aabbtree77
Copy link
Author

The error persists whenever edgevpn runs longer, say for two hours. After that the VPN connection gets lost and there is no way to reconnect to this Ubuntu 22.04 remote machine anymore.

We are now testing awl which also relies on go-libp2p, to see if this is something specific to the EdgeVPN code base.

These reports could also be relevant:

cloudflare/cloudflared#1007

https://devsday.ru/blog/details/66786

@aabbtree77 aabbtree77 changed the title panic: close of closed channel Program terminates after "timeout: no recent network activity" Jul 17, 2023
@aabbtree77
Copy link
Author

I can attest that anywherelan (awl) does not bring this error after long runs, so it is very likely that this is the bug specific to the edgevpn code, not the go-libp2p internals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant