tilt
tilt copied to clipboard
Pods that don't produce any output for a while result in intermittent "unexpected EOF" errors in Tilt console
Expected Behavior
- Tilt silently re-establishes log connection without emitting an error
Current Behavior
- If a Pod doesn't log for a while, presumably due to no I/O and the connection being idle, it gets closed and the following error emitted:
Error streaming web-7f9b8b65f4-wt97k logs: unexpected EOF
Steps to Reproduce
tilt upwith a Pod that runs indefinitely but is mostly silent/quiet (e.g.echo "hello world"; sleep infinity;")- Wait a while 😴
Context
We re-establish connection fine, I think it's just the connection being closed due to being idle.
This is case we handle in various ways (hence it re-establishing connection fine), we might just need to treat this error as expected and not log it (or only do it at Debug level?)
I see this often - glad to know we can ignore it.