solo-io / squash

The debugger for microservices
https://squash.solo.io
Apache License 2.0
1.74k stars 103 forks source link

squashctl prematurely ends the port-forwarding when using the CLI #249

Open christian-posta opened 4 years ago

christian-posta commented 4 years ago

You end up with this:

6:47
Squash will create a debugger pod in your target pod's namespace.
Creating service account squash-plank in namespace squash-debugger
Creating cluster role squash-plank-cr
Creating cluster role binding squash-plank-crb
All squashctl permission resources created.
Forwarding from 127.0.0.1:51259 -> 40777
Forwarding from [::1]:51259 -> 40777
2020/04/08 09:46:42 dialing:dial tcp 127.0.0.1:51259: connect: connection refused

https://github.com/solo-io/squash/blob/e42715ca201a662c7e09d0e9f44ea4061284c261/pkg/config/squash.go#L199

https://github.com/solo-io/squash/blob/e42715ca201a662c7e09d0e9f44ea4061284c261/pkg/config/squash.go#L188