After decreasing the version of Azure extension, It started working for me.
Following settings worked for me:
App Service -> 0.25.0
Azure Functions -> v1.12.4
Azure Resources -> v0.8.0
Nov 23, 2024 – Jan 10, 2025
Build skills in the latest technologies and earn a digital badge by January 10!
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am experiencing an issue when deploying one of my Azure Function APIs using the Virtual Studio Code Azure Function extension. I deploy my code into an Azure Function for my APIs, and when I try to deploy my code now, I get the error "Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory" inside of the terminal. The error is with the "Azure Functions" extension. I tried reverting to another version of the "Azure Functions" extension and deploying, however I get the same error. I'm not sure what to do. For reference, I am using the Azure Functions extension, version 1.13.1 in Visual Studio code.
Getting the same error - perhaps an outage?
That might be the case! Earlier when I was deploying it was working. It seems like it just starting happening in the last 30 minutes or so?
Same here.
I had the same problem. After re-installing all the Azure extensions, I didn't encounter the error when I tried again.
After uninstalling and reinstalling all Azure extensions, no change. After signing back in, error changes to "
Offset to Central Directory cannot be held in an Int64
Getting the same error
Go to VS Code and change the version of Extension "Azure Functions" to 1.12.4. It will work!
我在VS Code用Azure App Service部署Nuxt專案時遇到一樣的問題
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Experiencing the same problem when deploying using VS Code. DevOps pipeline deployment works fine.
Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/....zip (39.27 MB) to /tmp/zipdeploy/extracted Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
Just encountered the issue not certain about the cause of issue. I have resolved the issue by setting up github actions.
You could setup the CI/CD pipeline using Deployment center of a function APP
Also getting the same issue. I am currently studying deploying Azure functions, so it could entirely be user error, but I have attempted deploying to multiple resource groups and using the default python http trigger function with no luck after many attempts. I had no issue deploying last night.
I've gotten 3 errors -
I've attempted the solutions in this thread with no success (Reinstall all azure extensions, downgrade functions to 1.12.4.
EDIT - Finally worked for me. I believe this to have been some sort of outage on Azure's side
Go to VS Code and change the version of Extension "Azure Functions" to 1.12.4. It will work!--> it doesn't work for me !!!!
Getting the same error
Brand new function, brand new deployement fails as well, same error:
Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
is doesn't work for me
and after restart my website show ":( Application Error" page
Same issue, I just setup a new computer and thought I was doing something wrong in setup but looks like others are having the same issue.
has anyone found a fix yet or do we have any news on what the issue is?
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
As of 14th December, this issue still persists. I've changed versions a few times and after running pre-deployment tasks and starting to work with the zip file, I get the following error report:
"Number of entries expected in End Of Central Directory"
I hadn't notice the date of these comments. I've been trying everything for over 3 hours. I set up a different machine, created a new function app, and tried to deploy the default javascript function. Thanks God this seems to be an outage. I can go to sleep now :D
After change the version of Extension to 1.12.4 still not work. You can sign out and sign in azure account.
After decreasing the version of Azure extension, It started working for me.
Following settings worked for me:
App Service -> 0.25.0
Azure Functions -> v1.12.4
Azure Resources -> v0.8.0
I have the same issue with an azure webapp
I can confirm that downgrading VSC's Azure Resources to v0.8.0 WORKED, but only with changing subscription tier to higher (B1 to B3). Once subscription was downgraded again, problem reocurred regardless of Azue Resources version.
I didn't change Azure Functions version, I left the newest one. I don't use Azure App Services.
Thank you, @Devesh Tiwari !
After decreasing the version of Azure extension, It started working for me.
Following settings worked for me:
App Service -> 0.25.0
Azure Functions -> v1.12.4
Azure Resources -> v0.8.0
Removing the 'Azure Storage' plugin resolved the issue for me.
reverting to 0.0.8 for the azure tool extension worked for me as well. But I am not sure what is the implication of this decrease in versions in other cases.
Thanks, it works!
Thanks! it also worked for me!
Reverting to the older versions still not working for me
Azure tool extension to v0.0.8 and Azure App Service to V0.25.0
This worked for me! Thank you!
Awesome this works
Devesh Tiwari Thank you this worked for me too.
Thanks! Wasted 2h on that this morning
In my case, the problem was with Azure Resources AND subscription tier. I left Functions at v1.13.1, I don't have App Services installed at all.
Problem vanished only with changing subscription tier to higher (B1 to B3). Once subscription was downgraded again, problem reocurred regardless of Azue Resources version.
Thanks so much! I just needed to do Functions and then Resources for success, don't have App Service either.
Yeah, for me it was rolling back Azure Resources to v0.8.0.
0.8.1 and 0.8.2 were rolled out in the last 24 hours and probably had introduced this issue
Update:
Sorry for the inconvenience caused by this issue. Our product team is actively investigating this issue and will keep you posted with updates. Meanwhile, please follow the workaround to rollback Azure Resources to v0.8.0
This worked for me!
This worked but OMG did it take me a long time to figure out where to set the "version of Azure extension" I looked in the sln, csproj, host.json, vs, appsettings, I even trawled through the kudo console and every flippin place.
Then finally after hours FINALLY I realized he meant the VISUAL STUDIO CODE EXTENSIONS!!!
fml thanks though, it's greatly appreciated.
Microsoft fix your bugs plz :)
This solution is what worked for me
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Reverting to previous version of Azure Functions extension worked for me, thank you.
Changing Extension "Azure Resources" version to 0.8.0 works for me.
Not sure why my last comment was eaten.
Well done Jie, there must be a bug in the latest Azure Resources version. I can confirm downgrading from Azure Resources v0.8.2 to v0.8.0 worked.
this work for me , after degrapde azure resource to v0.8.0 and reload vscode, the error gone. thanks
Can confirm this worked for me. rolling back to v0.8.0 worked for me
v0.8.0 works for me. There must be something wrong in the latest version. Thanks!
Hello there,
How may I downgrade, can you give me instructions?
It is little triangle within uninstall button.
That resolved the issue.
Thank you!
worked for me
Worked for me too.
Very helpful. Thanks
Works for me
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Downgrading to 0.8.0 is indeed sufficient to resolve the issue. That version is now 3 weeks old, 0.8.1 is 1 day old and 0.8.2 was updated 20 hours ago at the time of writing. Azure functions was last updated 3 months ago and this issue just started happening today for me, so logically it was introduced with the Azure resources update 0.8.1 or 0.8.2 in the past 24 hours.
For anyone wondering where to downgrade:
Devesh Tiwari Thanks for the answer and it really helped lot of users with similar issues for a quick resolution.
Update:
Our product team has fixed the issue in the Azure Resources extension, and we just released 0.8.3 version with the fix. Please update to this version for mitigation and let us know if any issues or have any questions.
We are sincerely sorry for the inconvenience caused by this issue.
Updating to the release 0.8.3 fixed the issue for me.
I don't have Azure Resources installed, but the Function Apps extension. I had to downgrade it to v1.12.4. When will it be also fixed?