vscode-azurefunctions: failed, reason: read ECONNRESET - Deploy to Function App
Does this occur consistently? Yes Repro steps:
- Create an azure function in VS Code
- Make the required changed in init.py
- Deploy to Function App from VS Code.
Action: azureFunctions.deploy Error type: ECONNRESET Error Message: request to https://kalinkaiaudiolowessdev.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS Code failed, reason: read ECONNRESET
Version: 0.24.0 OS: linux OS Release: 4.15.0-1095-azure Product: Visual Studio Code Product Version: 1.49.0 Language: en
Call Stack
ClientRequest.<anonymous> extension.js:363:15219
ClientRequest.emit events.js:228:7
TLSSocket.socketErrorListener _http_client.js:406:9
TLSSocket.emit events.js:223:5
emitErrorNT destroy.js:92:8
emitErrorAndCloseNT destroy.js:60:3
processTicksAndRejections task_queues.js:81:21
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 16 (2 by maintainers)
any update on this?
I had the same issue with VSCode in WSL2. However, I tried shutting down WSL2 using Powershell :
wsl --shutdown
Then re-opened the vscode project from a new WSL2 terminal, then tried deploying. And it worked.I am getting this same error with a basic HTTP NodeJS function. No matter what I try, this continues to fail. I have tried to publish it to two different directories/subscriptions (not sure what is the difference with Azure tbh).
WSL2 Windows 10 VSCode: 1.49.2 Node 12.14.1 Azure Functions Extension: v0.24.1