You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http_json_handler: Don't have err failed to write response log entire error #119
One of these frequently leads to massive "log bombs", that spans thousands of characters and crowds out all content in the CLI logs (and looks quite concerning)
Nov 17 01:49:48 <node_name> cosmovisor[1541013]: 1:49AM ERR failed to write responses err="write tcp 127.0.0.1:26657->127.0.0.1:34266: i/o timeout" module=rpc-server res=[{"id":998254319713,"jsonrpc":"2.0","result":{"total_count":"329048","txs":$MASSIVE_AMOUNT_OF_TEXT
There are some \n characters in this output that end up breaking into multiple lines as well, and breaking parsing formats.
Can we make a smaller result serialization here, that just has a truncated / trimmed amount of data, that gets output to the CLI?
This would significantly reduce the size of logs, and the amount of information that can be easily gleaned by scrolling through them.
Activity
cason commentedon Jan 16, 2023
More comprehensively, I think we should prevent any blob, arbitrary/unstructured data content, from being printed to the logs.
spec: migrate v0.7.1. into v0.34 (#9262)