-
Notifications
You must be signed in to change notification settings - Fork 136
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
Failed to Deploy Function App Code - Extension V1.6.1 #3094
Comments
I do note that signing out and then back into Azure in VS Code fixes the issue. |
I spoke too soon. It has started happening again with 1.6.1 I downgraded the extension to 1.6.0. Signed out of Azure then redeployed sucessfully. Updated th extension to 1.6.1 and then the issue returned. |
same issue here vsc v1.66 azure function extension v1.6.1 however, downgraded to azure function extension v1.6.0 and still hanging if its helpful, output says it has created zip file... 1:56:30 PM xxx: Starting deployment... |
Same issue here. Solution which worked for me was to downgrade VS Code to January update and then it worked fine. |
Same issue with VSCODE 1.66 and Azure Functions 1.61. After downgrading Azure Functions to 1.6 and VSCODE to 1.65 resolved the issue. To double check, I've re-updated Azure Functions extension to version 1.61 (latest). Deployment still works. The only difference between my setup when deployment didn't work and now that it works is VSCODE version. My project's configuration: Zip package size: 489 kB |
Confirmed this on another setup also. Core issue seems to be VSCODE update. Rolling back to previous version works fine. Is there any workaround to manual upload zip (for or via CLI) without creating a service account? |
I am also running into this issue. I'll try rolling back to previous version. |
I also tried Insider version of VSCode on macOS. That doesn't seems to work either. So as of now only working options is to rollback to VS Code 1.65.x builds. I am confused, why VSCode update is crashing plugin on |
The title mentions the extension version, but it seems like this is related to this issue: #2844 where it's actually VS Code upgrading to Node V16 that is causing the issue. We are currently investigating this issue, but for now the workaround is unfortunately to downgrade to any 1.65.x build of VS Code. We're very sorry for the inconvenience. |
Thanks @nturinski. I don't think anyone originally suspected VSCode upgrade being the root cause. But as we spent more time looking into possible solutions, figured that its not extension but the VSCode upgrade. Downgrading for now works 👍 Probably its high time to switch to NodeJS 16 globally, as many components in toolchains are already. VSCode upgrade also issues some security issues (not major one this time, but probably there will be another release in next 20-25 days). It would be interesting to know more about this compatibility issue and underlying reasons for learning purpose. Meanwhile I have left comments on some of other GitHub issues having same problem and linked them with this one as |
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.
Thanks for doing that, much appreciated! |
Thanks for sharing the details @alexweininger, really appreciate that. |
Closing as duplicate of #2844 Until a fix is released in VS Code stable (hopefully the next major release), here are some options:
|
Fix has been released in version v1.6.2 of the extension. |
OS: Windows 11 Enterprise
Build Version: 10.0.22000
Function Core Tools: v3/4
Regression: Previous release
Repro Steps:
Expect:
The previous function app ZIP code to be re/deployed
Actual:
Fail to redeploy function app code
OUTPUT LOG:
More Info:
This issue appeared in an environment I have been using for about 12 months and started on the 2022-03-24 which co-incides with V1.6.1 of the extension.
This was the last successful message in the "
Deployments
" folder from a deployment on the 2022-03-23I get the same error though, when trying to deploy the code to a new function app "
+ Create new Function App in Azure...
"The text was updated successfully, but these errors were encountered: