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
No pods were restarted/failed during the connection, so this may be root caused by some tcp error that causes the connection to close. Should be handled by our retry logic, but instead the k8s go client panics.
What's interesting is the above code is the only place where the channel is ever closed. I suspect what's happening is the portforward object is not re-usable if it fails to connect - we'll have to re-build it for each dial attempt.
The console has the following messages, which may not be relevant but are worth including:
E0222 10:01:08.820313 85675 portforward.go:419] error closing listener: close tcp4 127.0.0.1:57176: use of closed network connection
E0222 10:01:08.820338 85675 portforward.go:419] error closing listener: close tcp6 [::1]:57176: use of closed network connection
The text was updated successfully, but these errors were encountered:
Getting a panic here that seems to be caused by some sort of race condition:
attacknet/pkg/kubernetes/port_forward.go
Line 120 in 6175dcd
No pods were restarted/failed during the connection, so this may be root caused by some tcp error that causes the connection to close. Should be handled by our retry logic, but instead the k8s go client panics.
The following channel is closed when PortForward() is called despite it has already being closed: https://github.com/kubernetes/client-go/blob/8c4efe8d079e405329f314fb789a41ac6af101dc/tools/portforward/portforward.go#L227-L229
What's interesting is the above code is the only place where the channel is ever closed. I suspect what's happening is the portforward object is not re-usable if it fails to connect - we'll have to re-build it for each dial attempt.
Stacktrace:
The console has the following messages, which may not be relevant but are worth including:
The text was updated successfully, but these errors were encountered: