Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

syn request timeout error #91

Closed
quan8 opened this issue Nov 27, 2018 · 0 comments
Closed

syn request timeout error #91

quan8 opened this issue Nov 27, 2018 · 0 comments

Comments

@quan8
Copy link
Contributor

quan8 commented Nov 27, 2018

Run multiple nodes (15+) nodes. Got the timeout issue on sync. Two errors occur multiple times in the log:


time="2018-11-27T10:57:27+11:00" level=error msg="n.requestSync(peerAddr, knownEvents)" Error="read tcp 127.0.0.1:47930->127.0.0.1:12011: i/o timeout" this_id=828847531 z_trace="goroutine 20465 [running]:\ngithub.com/Fantom-foundation/go-lachesis/src/log.(*Hook).Fire(0xc0001a6ea0, 0xc0611e3f80, 0x0, 0x0)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/log/hook.go:97 +0x18f\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.LevelHooks.Fire(0xc0001bdd70, 0x2, 0xc0611e3f80, 0xe0aa055c06af, 0xc004b0aad6)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/hooks.go:28 +0x91\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.(*Entry).fireHooks(0xc0611e3f80)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:223 +0x8c\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.Entry.log(0xc00010d740, 0xc05457bf80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:201 +0xf6\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.(*Entry).Error(0xc0611e3f20, 0xc0590a9d20, 0x1, 0x1)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:277 +0xae\ngithub.com/Fantom-foundation/go-lachesis/src/node.(*Node).pull(0xc04eabc000, 0xc000023830, 0xf, 0x0, 0x0, 0xc000000005, 0xc05e16d500)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/node/node.go:403 +0x2fd\ngithub.com/Fantom-foundation/go-lachesis/src/node.(*Node).gossip(0xc04eabc000, 0xc000023830, 0xf, 0xc04eebcf60, 0xa, 0xc0006f27b0)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/node/node.go:358 +0x49\ngithub.com/Fantom-foundation/go-lachesis/src/node.(*Node).lachesis.func2()\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/node/node.go:211 +0x49\ngithub.com/Fantom-foundation/go-lachesis/src/node.(*nodeState).goFunc.func1(0xc04eabc000, 0xc09e1a91a0)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/node/state.go:53 +0x53\ncreated by github.com/Fantom-foundation/go-lachesis/src/node.(*nodeState).goFunc\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/node/state.go:51 +0x66\n"


time="2018-11-27T10:57:29+11:00" level=error msg="Failed to decode incoming command" error="write tcp 127.0.0.1:12015->127.0.0.1:49216: write: broken pipe" z_trace="goroutine 13832 [running]:\ngithub.com/Fantom-foundation/go-lachesis/src/log.(*Hook).Fire(0xc0001a6fc0, 0xc05c2f8fc0, 0x0, 0x0)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/log/hook.go:97 +0x18f\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.LevelHooks.Fire(0xc0003103f0, 0x2, 0xc05c2f8fc0, 0xe0aaa592e6d7, 0xc02db1f68d)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/hooks.go:28 +0x91\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.(*Entry).fireHooks(0xc05c2f8fc0)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:223 +0x8c\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.Entry.log(0xc00010d980, 0xc098711f80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:201 +0xf6\ngithub.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus.(*Entry).Error(0xc05c2f8f00, 0xc098fe5f00, 0x1, 0x1)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/vendor/github.com/sirupsen/logrus/entry.go:277 +0xae\ngithub.com/Fantom-foundation/go-lachesis/src/net.(*NetworkTransport).handleConn(0xc04e875260, 0xc51a00, 0xc0689d4648)\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/net/net_transport.go:336 +0x3ad\ncreated by github.com/Fantom-foundation/go-lachesis/src/net.(*NetworkTransport).listen\n\t/home/qn/work/src/github.com/Fantom-foundation/go-lachesis/src/net/net_transport.go:320 +0x440\n"

@quan8 quan8 closed this as completed Nov 29, 2018
andrecronje pushed a commit that referenced this issue Dec 9, 2018
add calling PrintStat() on CTRL+C in debug mode
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant