You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created an Azure Function in Visual Studio Code and deployed it succesfully at first. When adding a second function, it failed after Creating zip package.... Now any time I try to create/deploy a function it does not make any progress beyond the Creating zip package... message. Seems similar to #2390.
Does this occur consistently? Yes; only the very first time after Azure Function extension installation was successful.
Repro steps:
Actual:
Running a project in Visual Studio Code with the Remote - Containers extension
Creating a default Azure Function HTTP trigger using the Azure Function extension. For testing purposes I simply followed the tutorial and did not change any code.
Deployed the app, again following the tutorial, which fails after Creating zip package...
Expected:
Similar output as my first try and the results of the tutorial: a deployed Azure Function.
Steps taken to resolve the issue:
Deleted the Docker container and image and rebuild those (using a devcontainer.json file that includes the installation for the Azure Function extension)
Signed out of Azure in Visual Studio Code, and subsequently signed in again.
Closed the file in the editor.
Make sure Visual Studio Code was not in the debug mode.
DId some more testing this morning and indeed there seems to be some randomness involved.
When deploying from a local workspace, the issue happens only so often (though I don't know why sometimes it does and other times it does not)
When deploying from within a container, the issue happens everytime, except for the first time when building the image and running a container.
Simply using the >Remote-Containers: Rebuild and Reopen in Container helps resolve the issue, and anytime I try to deploy a function I do not receive an error.
I'll keep track of the issue and update if I find more unwanted behavior.
Created an Azure Function in Visual Studio Code and deployed it succesfully at first. When adding a second function, it failed after
Creating zip package...
. Now any time I try to create/deploy a function it does not make any progress beyond theCreating zip package...
message. Seems similar to #2390.Does this occur consistently? Yes; only the very first time after Azure Function extension installation was successful.
Repro steps:
Actual:
Creating zip package...
Expected:
Similar output as my first try and the results of the tutorial: a deployed Azure Function.
Steps taken to resolve the issue:
Action: azureFunctions.deploy
Error type: ECONNRESET
Error Message: request to https://function.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: socket hang up
Version: 1.0.0
OS: linux
OS Release: 5.4.39-linuxkit
Product: Visual Studio Code
Product Version: 1.50.1
Language: en
Call Stack
Read in multiple issues that it miraculously started working for other users again, so I'll keep trying.
The text was updated successfully, but these errors were encountered: