logicapps
logicapps copied to clipboard
socket hangup when deploying Logic App (standard) via VS code
Does this occur consistently? Yes Repro steps:
Added a new workflow in Logic App(standard) created in VS code. Tried deploying using VS code into Azure portal but it takes a long time to deploy and hangs up. Using Azure event grid as trigger.
Action: azureLogicAppsStandard.deploy Error type: ECONNRESET Error Message: request to https://---.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: socket hang up
Version: 1.0.12 OS: win32 OS Release: 10.0.19043 Product: Visual Studio Code Product Version: 1.66.1 Language: en
Call Stack
ClientRequest.<anonymous> extension.bundle.js:2:3783067
Dealing with this issue too. This is the Logic App that I previously successfully locally tested based on: https://docs.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#debugging-fails-to-start
2:08:56 PM logicapp-http-email-vscode-2: Starting deployment... 2:09:02 PM logicapp-http-email-vscode-2: Creating zip package... 2:09:12 PM logicapp-http-email-vscode-2: Zip package size: 33.1 MB 2:25:03 PM: Error: request to https://logicapp-http-email-vscode-2.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: socket hang up
Downgrade to the [VS Code February 2022 release] (https://code.visualstudio.com/updates/v1_65), as suggested here: https://github.com/microsoft/vscode-azurefunctions/issues/2844 took care of the issue
I have the same problem. When will this problem be corrected? The Functions side of the issue is said to be resolved in this Issue.
https://github.com/microsoft/vscode-azurefunctions/issues/2844#issuecomment-1111435719
It would be great if you could fix the VSCode downgrade as it is not possible.
I am also having same issue. Error comes after 15 minutes of clicking on deploy and keeps going until below error is thrown
failed, reason: socket hang up
It was working fine earlier but not sure if its due to VS code upgrade or something else.
I have 4 workflows in logic app. If I delete 2 workflows and just deploy 2, it works fine. Very annoying.
Resolution: I had June 2022 version of VS code and I started downgrading from may till Feb. And Feb Version worked.
Same issue here. This issue just appeared out of the blue, and only affected some standard logic apps.
After downgrading (from July to Feb), deploy is working again.
I'm having the same problem with error "failed, reason: socket hang up" during deployment. Tried downgrading VS Code to February 2022 (version 1.65) as stated in above comments, but now I can't run my Logic App locally. I'm getting the following error when i try:
I'm running Logic App (Standard) extension v. 1.0.25. Anyone else having the same problem?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.