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

I am facing this error while deploying azure function code from visual studio code #2399

Closed
AbhiRathore opened this issue Sep 18, 2020 · 5 comments
Labels
info-needed See https://aka.ms/azcodeissuereporting

Comments

@AbhiRathore
Copy link

Does this occur consistently? Yes
Repro steps:

  1. Create a function in visual studio code
  2. deploy that to some azure function

Action: azureFunctions.deploy
Error type: ECONNRESET
Error Message: request to https://audiollessentia-trial.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: read ECONNRESET

Version: 0.24.0
OS: linux
OS Release: 4.15.0-1082-azure
Product: Visual Studio Code
Product Version: 1.49.0
Language: en

Call Stack
ClientRequest.<anonymous> extension.js:363:15219
ClientRequest.emit events.js:228:7
TLSSocket.socketErrorListener _http_client.js:406:9
TLSSocket.emit events.js:223:5
emitErrorNT destroy.js:92:8
emitErrorAndCloseNT destroy.js:60:3
processTicksAndRejections task_queues.js:81:21
@nturinski
Copy link
Member

Please provide detailed repro steps.

@nturinski nturinski added the info-needed See https://aka.ms/azcodeissuereporting label Sep 18, 2020
@abhijitnathwani
Copy link

Even I'm facing issues with this extension. The function app does not populate while executing the command Azure Functions: Deploy to Function App. It takes forever to load and still does not populate the list to select the function. I can confirm the internet is working fine and the Azure IoT Hub extension is able to get the device list.

@nturinski
Copy link
Member

@abhijitnathwani Are you using the command palette for making these calls? If you go into the Azure view, it should load up the resources ahead of time. Between activating the extension and making the API calls to Azure to retrieve the resources, it can definitely be quite the wait depending on your connection.

I think if you just go into the Azure view and try to deploy from there, your experience might be better.

@abhijitnathwani
Copy link

@nturinski Thank you for the update. Yep, I can now view my functions from Azure view. However, when deploying, it throws socket hang up error while deploying the zip. Any ideas there?

@alexweininger
Copy link
Member

Consolidating issues with deployments here #2844

@microsoft microsoft locked and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed See https://aka.ms/azcodeissuereporting
Projects
None yet
Development

No branches or pull requests

4 participants