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

mbus node does not always reconnect #429

Open
jonaz opened this issue Apr 1, 2023 · 1 comment
Open

mbus node does not always reconnect #429

jonaz opened this issue Apr 1, 2023 · 1 comment

Comments

@jonaz
Copy link
Member

jonaz commented Apr 1, 2023

stampzilla-mbus[2334]: time="2023-04-01T22:14:04.113409363+02:00" level=error msg="error fetching mbus data from device 3: write tcp 192.168.13.2:38246->192.168.13.42:10001: write: broken pipe" func="main.(*Worker).start" file="/home/jonaz/git/stampzilla-go/nodes/stampzilla-mbus/worker.go:100"

perhaps check with errors.Is(err, syscall.EPIPE) or just reconnect on all errors?

@jonaz
Copy link
Member Author

jonaz commented Sep 6, 2023

happend again.
time="2023-09-06T11:21:58.749557326+02:00" level=error msg="error fetching mbus data from device 2: write tcp 192.168.13.2:46166->192.168.13.42:10001: write: broken pipe" func="main.(*Worker).start" file="/home/jonaz/git/stampzilla-go/nodes/stampzilla-mbus/worker.go:100"

jonaz added a commit that referenced this issue Sep 7, 2023
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