logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

socket hangup when deploying Logic App (standard) via VS code

Open rathna121 opened this issue 2 years ago • 6 comments

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

rathna121 avatar Apr 08 '22 08:04 rathna121

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

cokiochoa3 avatar Apr 25 '22 19:04 cokiochoa3

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

cokiochoa3 avatar Apr 25 '22 20:04 cokiochoa3

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.

masakawa527 avatar Apr 27 '22 23:04 masakawa527

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.

nareshnagpal06 avatar Aug 02 '22 11:08 nareshnagpal06

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.

johan-burman avatar Aug 10 '22 08:08 johan-burman

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:

image

I'm running Logic App (Standard) extension v. 1.0.25. Anyone else having the same problem?

onurmicoogullari avatar Aug 14 '22 10:08 onurmicoogullari

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 20 '22 21:10 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Oct 27 '22 22:10 github-actions[bot]