microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
307 stars 106 forks source link

Error: Cannot find free local ports to map remote service ports #176

Closed larsf96 closed 3 years ago

larsf96 commented 3 years ago

Describe the bug After using >Bridge to Kubernetes - Configure in VS Code and starting the service, I get the following message. I see that another pod and svc is being created in the kubernetes cluster while my local service starts up, but after a short time I get the following message: Connection established. Cannot find free local ports to map remote service ports. Retry later. Stopping workload and cleaning up... Restore: Deployment 'abc' restored to original state with image 'abc'. Failed to establish a connection. Error: Cannot find free local ports to map remote service ports. Retry later.

The service crashes afterwards

To Reproduce Create a launch configuration for Bridge to Kubernetes, start the service

Environment Details Client used (VS Code/Visual Studio): VS Code, Mindaro Version mindaro.mindaro@1.0.120210517 Client's version: 1.56.1 Operating System: Mac OS

pragyamehta commented 3 years ago

@larsf96 Did this issue get resolved for you? If yes, can you share how it went away so that we can investigate it for future?