Skip to content
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

Investigate ECONNRESET issue during "zipdeploy" call #2082

Closed
76grady opened this issue Jun 11, 2021 · 6 comments
Closed

Investigate ECONNRESET issue during "zipdeploy" call #2082

76grady opened this issue Jun 11, 2021 · 6 comments
Labels
bug deploy errors investigate out of scope See https://aka.ms/azcodeissuetriaging

Comments

@76grady
Copy link

76grady commented Jun 11, 2021

Steps to reproduce

I'm attempting to deploy an Angular app to an app service using VS Code. If I do a few concurrent deploys of the same application to different slots it will happen. It's happening both on both Mac and Windows machines.

I will switch to another machine and it will work for a number of times, and then the same behavior will happen again.

Current behavior

12:37:09 PM <app service name>: Starting deployment...
12:37:16 PM <app service name>: Creating zip package...
12:42:38 PM: Error: request to <app service domain>/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: read ECONNRESET

Expected behavior

The app deploys

Environment stuff

On Mac
Version: 1.57.0
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T17:22:31.215Z (1 day ago)
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin x64 20.5.0

Windows
Version: 1.57.0 (user setup)
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T17:18:42.354Z (1 day ago)
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041

@ejizba
Copy link
Contributor

ejizba commented Jun 14, 2021

Related to microsoft/vscode-azurefunctions#2844

@ejizba ejizba added this to the Backlog Candidates milestone Jun 14, 2021
@ejizba ejizba changed the title App Service deployment hangs on 'Creating zip package...' Investigate ECONNRESET issue during "zipdeploy" call Jun 14, 2021
@ejizba
Copy link
Contributor

ejizba commented Jun 14, 2021

Yeah we are aware of occasional ECONNRESET errors, but do not have a fix yet. We will look into it

@76grady
Copy link
Author

76grady commented Jul 28, 2021

@ejizba are there any workarounds for this issue? Any caches to clean or settings to reset? I literally cannot deploy via VS Code on any of my machines.

@ejizba
Copy link
Contributor

ejizba commented Jul 28, 2021

We've struggled to get a consistent repro - the main workaround is just to try again and normally it works. If you can help us get a consistent repro that would be much appreciated. Some questions:

  1. Would you say your internet is particularly slow?
  2. Is your project particularly large?
  3. Are you behind a proxy of any kind?
  4. Is your project open source, like on GitHub? If so, could we get a link?
  5. What kind of app and plan are you using in Azure? For example, is it a basic plan and does it have a lot of apps associated with it? Is it windows or linux?
  6. Does this repro for you on a brand new app when deploying a simple project?

The main point is I'm trying to narrow down if the issue is related to your local project, your app in Azure, or your local machine setup.

@AzCode-Bot
Copy link
Collaborator

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.

Happy Coding!

@AzCode-Bot
Copy link
Collaborator

🙁 In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.

Happy Coding!

@AzCode-Bot AzCode-Bot added the out of scope See https://aka.ms/azcodeissuetriaging label Mar 26, 2022
@microsoft microsoft locked and limited conversation to collaborators May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug deploy errors investigate out of scope See https://aka.ms/azcodeissuetriaging
Projects
None yet
Development

No branches or pull requests

3 participants