mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-04-30 16:10:59 +00:00
![]() This commit modifies the logging behavior for client network errors (e.g., EOFs, timeouts) during the handshake process. They are now logged as warnings instead of errors, as they are not actionable from the server’s perspective. Here's some examples of such errors. Timeouts during the initial read phase: 2025-04-09T07:08:59.323Z error VictoriaMetrics/lib/vmselectapi/server.go:204 cannot perform vmselect handshake with client "<REDACTED>": cannot read hello: cannot read message with size 11: read tcp4 <REDACTED>-><REDACTED>: i/o timeout; read only 0 bytes EOFs occurring later in the handshake process: 2025-04-08T18:01:30.783Z error VictoriaMetrics/lib/vmselectapi/server.go:204 cannot perform vmselect handshake with client "<REDACTED>": cannot read isCompressed flag: cannot read message with size 1: EOF; read only 0 bytes By logging these as warnings, we reduce noise in error logs while preserving valuble information for debug. |
||
---|---|---|
.. | ||
api.go | ||
server.go |