Unable to debug asp.net core app in docker using VS 2019 or VS Code
Does this occur consistently? yes Repro steps: Majorly it seems to be happening because one of the domain is not working. Every time VS Code docker debugger runs, it errors out while trying to reach https://vsdebugger.blob.core.windows.net/vsdbg-16-9-20122-2/GetVsDbg.ps1 URL.
Seems like the issue is with blob.core.windows.net subdomain. None of the below URLs working:
- https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
- https://vsdebugger.blob.core.windows.net/vsdbg-16-9-20122-2/GetVsDbg.sh
- https://vsdebugger.blob.core.windows.net/vsdbg-16-9-20122-2/GetVsDbg.ps1
Action: docker-launch Error type: ECONNRESET Error Message: request to https://vsdebugger.blob.core.windows.net/vsdbg-16-9-20122-2/GetVsDbg.ps1 failed, reason: Client network socket disconnected before secure TLS connection was established
Version: 1.12.1 OS: win32 OS Release: 10.0.19042 Product: Visual Studio Code Product Version: 1.55.2 Language: en
Call Stack
ClientRequest.<anonymous> extension.bundle.js:2:3347819
ClientRequest.emit events.js:327:22
TLSSocket.socketErrorListener _http_client.js:426:9
TLSSocket.emit events.js:315:20
emitErrorNT destroy.js:92:8
emitErrorAndCloseNT destroy.js:60:3
processTicksAndRejections task_queues.js:84:21
Seems like it only occurs when I am not connected to VPN.