OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
471 stars 195 forks source link

bug report: unknown.ZipDeployError #6456

Closed Ruryk closed 2 years ago

Ruryk commented 2 years ago

Why i can deploy bot to azure, never had this error before? "dependencies": { "@microsoft/teamsfx": "^1.0.0", "botbuilder": "^4.17.0", "node-fetch": "^2.6.1", "restify": "^8.5.1" }, "devDependencies": { "@types/restify": "8.4.2", "env-cmd": "^10.1.0", "nodemon": "^2.0.7", "shx": "^0.3.4", "ts-node": "^10.4.0", "typescript": "^4.4.4" } stack: ZipDeployError: at Function.zipDeployPackage (Vlad:2:6044120) at processTicksAndRejections (node::96:5) at async Object.azureWebSiteDeploy (Vlad:2:6058043) at async AzureWebAppResource.deploy (Vlad:2:7276878) at async AzureWebAppResource.deploy (Vlad:2:7283861) at async Object.thunk (Vlad:2:6364412) at async Promise.all (index 0) at async Object.executeConcurrently (Vlad:2:7873437) at async TeamsfxCore.deploy (Vlad:2:6365922) at async TeamsfxCore. (Vlad:2:6583191) at async FxCore.deployArtifacts (Vlad:2:7481274) at async FxCore. (Vlad:2:7601547) at async FxCore.exports.ProjectSettingsWriterMW (Vlad:2:7656204) at async FxCore.exports.ContextInjectorMW (Vlad:2:7590484) at async FxCore. (Vlad:2:7597005) at async FxCore.exports.ProjectSettingsLoaderMW (Vlad:2:7654653) at async FxCore.exports.ProjectVersionCheckerMW (Vlad:2:7659334) at async FxCore.exports.AadManifestMigrationMW (Vlad:2:7570384) at async FxCore.exports.ProjectConsolidateMW (Vlad:2:7590196) at async FxCore.exports.ProjectMigratorMW (Vlad:2:7638866) at async FxCore.exports.ConcurrentLockerMW (Vlad:2:7572843) at async FxCore.exports.ErrorHandlerMW (Vlad:2:7603482)

ghost commented 2 years ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

Siglud commented 2 years ago

Duplicated with #6369

This error occurs during the upload of the ZIP file to the Azure server. You can check the following two things:

  1. How big is your project ZIP file? You can find it in the //.deployment/deployment.zip. Normally this file should not bigger than 50M
  2. Is your internet connection stable? You can try manually uploading your deployment.zip file using Azure Kudu Service to see if the process is too slow or unstable. Check this link to see how to login to kudu service. Check this link to see how to deploy a ZIP package using kudu UI
ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

ghost commented 2 years ago

Due to lack of details for further investigation, we will archive the issue for now. In case you still have following-up questions on this issue, please always feel free to reopen the issue by clicking ‘reopen issue’ button below the comment box. We will get back to you as soon as possible.