Open andywahr opened 3 years ago
Hey @andywahr, thanks so much for providing this info. If you feel more comfortable, could you please send us a zip of your log directory at BridgeToKubernetes@microsoft.com? Having the full logs will be helpful!
Here are the logs, I stopped the EndpointManager process manually to flush the logs after the error. bridge-mindarocli-2021-04-09-12-41-15-45456.zip
Sorry also forgot to mention:
I'm also experiencing this with VS 2019 16.10.3 and Bridge to Kubernetes 0.1.
When the debug session is live the connection to the nodeport simply gets reset. Connecting to localhost:5000 on the machine running VS2019 works.
I've also tried running a backend service, and getting the same result (connection reset)
I'm trying to debug the Backend Container. I issue my test request without "Bridge to Kubernetes" running, I successfully call the service. When I run the Backend Container thru Bridge to Kubernetes, the client reports an immediate error: "HttpRequestException: The SSL connection could not be established, see inner exception. IOException: Unable to read data from the transport connection: Connection reset by peer. SocketException: Connection reset by peer"
To Reproduce
new HttpClientHandler() { ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator, }
I can provide snippets from the logs, would prefer to not just upload them all. Going thru them I did see 2 WARNGs:
1 tasks)\r\n at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.WaitForWorkloadStoppedAsync(CancellationToken cancellationToken)\r\n at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass17_0.<<WaitRemoteAgentChangeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func
1 func, FailureConfig failureConfig)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233029,"Source":"Microsoft.BridgeToKubernetes.Common","WatsonBuckets":null}