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

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

Closed
rathna121 opened this issue Apr 8, 2022 · 8 comments
Closed

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

rathna121 opened this issue Apr 8, 2022 · 8 comments
Labels

Comments

@rathna121
Copy link

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
@cokiochoa3
Copy link

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
Copy link

Downgrade to the [VS Code February 2022 release] (https://code.visualstudio.com/updates/v1_65), as suggested here: microsoft/vscode-azurefunctions#2844 took care of the issue

@ghost
Copy link

ghost commented Apr 27, 2022

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.

microsoft/vscode-azurefunctions#2844 (comment)

It would be great if you could fix the VSCode downgrade as it is not possible.

@nareshnagpal06
Copy link

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.

@johan-burman
Copy link

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.

@onurmicoogullari
Copy link

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?

@github-actions
Copy link

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

@github-actions github-actions bot added the stale label Oct 20, 2022
@github-actions
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants