-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Deployment to Azure Function Fails with reason: read ECONNRESET #146470
Comments
I have the same problem when deploy to web app Version: 1.66.0 (user setup) |
I am also experiencing this issue deploying a function app. Reverting to version 1.65.2 (user setup) fixed the issue. |
Looks like an extension issue but maybe something with our proxy solution has changed? |
@jrieken that seems plausible; we released an update about a week ago but a significant volume of comments appeared just yesterday. Also, users have said that downgrading VSCode to 1.65.2 causes it to work again. So it seems like some change in VSCode caused this--either the Node 16 upgrade or proxy changes (sounds more likely). |
Agreed! |
There were no changes to the network proxy support in 1.66. @ebrenton Do you also see this with the proxy support in user settings disabled? |
Sames issue. Running 1.66.0 now. It worked just fine last week. Visual Studio Code 1.66.0 installed / updated on 3/30/22. |
I am also seeing this issue after upgrade today. |
@jrieken @chrmarti I outlined this in #146577, but will repeat here in case it provides more context to the issue: I found that setting |
Very likely regressed with libuv/libuv@ce15b84, need to test with Nodejs |
I am on 1.66.0 and also experience this problem. |
@deepak1556 if you could supply a VS Code build with Nodejs >= |
I just tried insiders build but that doesn't seems to address the issue. Same issue of
|
I grabbed the latest Insiders build and it seems to still be on Electron v17, so does not have the needed fix yet as I understand. It needed an update to v18 right? Did it just miss the cutoff and will be in the next Insider's build? I'm guessing that's what happened based on the timing of the build (05:26 UTC) and the timing of @deepak1556's comment (09:13 UTC). |
I tested the latest insiders build and the issue still reproduces. As @bwateratmsft mentioned above, it appears that the latest Insiders release is still on Electron v17.3 and Node.JS VS Code version detailsVersion: 1.67.0-insider (Universal) |
Sorry for the confusion, the electron build numbers don't change, backports have been made to the same version. What would change in these cases is Since it is confirmed that insiders does not fix the issue, I would need to investigate further with E2E setup. I will update here once there is some progress. |
After I downgraded, and tried most of the stuff I found about this issue, that error passed away but now I get the following fail:
Do you know why is this? |
@LidorPrototype please file a new issue on the Azure Functions extension, thanks! |
This comment was marked as off-topic.
This comment was marked as off-topic.
Just to update on the progress, the azure extension team is working on a minimal repro with Nodejs to see if there is already a fix in newer versions that can be backported and at the same time identify the commit which caused this behavior change. |
I just tried to deploy my Angular app using the Zip Deployment Power Shell method. I zipped up the dist folder. I'm now getting the following error. The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. |
It is still failing with version 1.66.2. Important for testing - if the zip file is ~10 kB or less, it works. Make sure your test cases are larger than 10 kB or you'll get false successes. Fails when > 10kB
Success when < 10kB
Version
|
Sorry you're still running into this issue, we're working on a fix in the Azure Functions extension. We have a development build out that you can test to see if it fixes your issues. If you could try it out and report back your results, that'd be a big help. Details on installing and testing the development build: microsoft/vscode-azurefunctions#2844 (comment) |
@alexweininger Will this fix deployment issues with apps that aren't Functions? Seems like it will since you folks merged 146577 with this one. |
@faceoffers28 Yes, this fix is for both Functions and App Service. See microsoft/vscode-azureappservice#2191 (comment) for the development build for App Service if you want to test it out. |
@alexweininger awesome, thanks for working on a fix. |
@isidorn yup the issue has been isolated to a third-party module used by the extension whose behavior regressed with some changes to the Nodejs streams component. I have been syncing with @alexweininger offline, we can close this issue as it does not require any work from core and can be addressed on the extension side. |
Fix has been released in version v1.6.2 of the Azure Functions extension. 🎉 |
I can confirm that deployment is now working with VS Code v1.66 and Azure Functions Extension v1.6.2. |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: