-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
T:bugType Bug (Confirmed)Type Bug (Confirmed)
Description
Having set up a simple privval.SignerServer using a FilePV across a UNIX connection, I'm getting lots of messages like these in the logs:
E[2020-09-17|12:02:46.336] SignerServer: handleMessage err="unknown msg: <nil> ({<nil>})"
E[2020-09-17|12:02:46.436] SignerServer: handleMessage err="unknown msg: <nil> ({<nil>})"
E[2020-09-17|12:02:46.536] SignerServer: handleMessage err="unknown msg: <nil> ({<nil>})"
These appear to be caused by signerEndpoint.ReadMessage() using a read deadline with a very low timeout (~100ms), and returning an empty message when the deadline triggers. This in turn causes it to send an error response. Dropping this empty message causes the entire privval connection to stall.
tendermint/privval/signer_endpoint.go
Line 93 in 2ac5a55
| err = se.conn.SetReadDeadline(deadline) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T:bugType Bug (Confirmed)Type Bug (Confirmed)