carvel-dev / kwt

Kubernetes Workstation Tools CLI
Apache License 2.0
157 stars 12 forks source link

[dns] retry connection on 'unexpected packet in response to channel open' error #3

Open cppforlife opened 5 years ago

cppforlife commented 5 years ago

after computer came back from sleep

07:24:43PM: debug: mdns.LocalIfaceMsgFilter: Checking on: 10.81.130.170:5353
ERROR: logging before flag.Parse: E1003 19:24:43.951572   39341 portforward.go:178] lost connection to pod
07:24:43PM: debug: KubePortForward: Finished port forwarding (err: %!s(<nil>))
07:24:43PM: debug: ReconnSSHClient: Received err: ssh: unexpected packet in response to channel open: <nil> (isEOF: false)
07:24:43PM: error: TCPProxy: Could not establish remote connection to '10.19.244.221:80': ssh: unexpected packet in response to channel open: <nil>
07:24:43PM: debug: mdns.LocalIfaceMsgFilter: Checking on: 10.81.130.170:5353
cppforlife commented 5 years ago

btw, pointing to ip that does not exist results in the following error

07:29:09PM: debug: ReconnSSHClient: Received err: ssh: rejected: connect failed (Connection timed out) (isEOF: false)
07:29:09PM: error: TCPProxy: Could not establish remote connection to '10.19.244.254:80': ssh: rejected: connect failed (Connection timed out)