stampzilla-go
stampzilla-go copied to clipboard
mbus node does not always reconnect
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?
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"