-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECONNRESET trying azure deploy webapp VS Code #2194
Comments
Same here, |
I am also facing the same issue. |
It's most likely related to this issue: microsoft/vscode-azurefunctions#2844 VS Code 1.66 upgraded to Node 16 which has been causing deployment issues for both Functions and App Service. Unfortunately, the only current known workaround is to downgrade VS Code to 1.65.x. We're currently investigating a proper fix. |
Is this error related to the issue? |
Until a fix is released in VS Code stable (hopefully the next major release), here are some options:
Here's some information on the bug we suspect is causing the issue with zip deploy. We suspect that it was a regression in the libuv library caused by libuv/libuv@ce15b84, which was included in Node.JS See this issue, and specifically this comment for more information. |
Closing as a duplicate of #2191. Follow along there, or the corresponding Azure Functions issue for further updates and discussion. |
Thanks, at the moment using az webapp up is handling things, although in a less than ideal manner. |
Fix has been released in version https://github.com/microsoft/vscode-azureappservice/releases/tag/v0.23.2 of the extension. |
Using VS Code, on my webapp's publish folder I select "Deploy to web app", after running for a while it reports ECONNRESET in the lower right popup. I've logged out/in, rebooted, you name it. After searching it appears v1.66 is the cause that many others are running into here. I was literally deploying fine yesterday then it just broke in an instance. Is it VS Code, an Azure extension, ??
Webapp I'm using is based off a basic asp.net core 3.1 project used as an example.
Very annoying, but I ended up using az webapp up to get my updated code deployed. Which also seems to have the problem that the runtime cannot be discovered when I run from my publish folder. If I run from the project folder it zips all my files and pushes it, which of course fails on the server ( also puts my source publicly viewable...). To get it to work I copied the csproj file into the publish folder and that satisfied az webapp enough to zip and push the right files. So, az webapp up needs to honor --runtime as well ( that seems to be a bug currently?)
Similar?
microsoft/vscode#146577
#2191
The text was updated successfully, but these errors were encountered: