Skip to content

Azure Logic Apps Standard designer cannot launch locally, design-time API enters PID restart loop and keeps incrementing localhost port #9042

@Nitin5acc

Description

@Nitin5acc

Severity

P2 - High (Major functionality broken)

Describe the Bug with repro steps

Summary
In a local Logic Apps Standard workspace on Windows, Open Designer repeatedly fails with Unknown Error and ECONNREFUSED. The design-time API keeps restarting, reports Invalid func child process PID, and increments ports on each retry (8000, 8001, 8004, 8051, 9001). This makes the designer unusable.

Environment

OS: Windows
VS Code: current desktop build
Azure Logic Apps (Standard) extension: 5.230.15
Azure Functions extension: 1.20.3
Azure Functions Core Tools: 4.9.0+29aeab590e6c229a1a6631f6653df70f150f9f0e (64-bit)
Function Runtime Version: 4.1047.100.26071
Workspace: local Logic Apps Standard workspace containing one logic app project with host.json and local.settings.json
Repro Steps

Open Logic Apps Standard workspace.
Ensure local settings include AzureWebJobsStorage and Azurite is running.
Click Open Designer.
Wait for design-time API startup and retry behavior.
Actual Result

Designer fails with Unknown Error.
Output shows repeated ECONNREFUSED to localhost with changing ports.
Output also shows Invalid func child process PID and automatic design-time API restart.
In the same session, one startup sequence logs:
NodeJs Binaries path
DotNetSDK Binaries path
Error: Invalid Version: undefined
then Unknown Error and ECONNREFUSED
Expected Result

Design-time API starts once and remains attached to a stable local port.
Open Designer loads successfully.
No PID mismatch loop, no repeated port hopping, no Invalid Version: undefined.
Relevant Log Snippets

Starting Design Time Api for project: c:\cws\Auth0\localWsAuth0\localWs\Auth0LogStreamLocal
Error: Invalid Version: undefined
Invalid func child process PID set for project ... Restarting workflow design-time API.
Stopping Design Time Api for project ...
Starting Design Time Api for project ...
Error: connect ECONNREFUSED 127.0.0.1:8000
Error: connect ECONNREFUSED 127.0.0.1:8001
Error: connect ECONNREFUSED 127.0.0.1:8004
Error: connect ECONNREFUSED 127.0.0.1:8051
Error: connect ECONNREFUSED 127.0.0.1:9001
What I already tried

Verified AzureWebJobsStorage in both project and workflow-designtime local.settings.
Verified Azurite ports 10000/10001/10002 listening.
Verified manual func host can start on 8000 in some runs.
Reloaded window, reopened workspace, restarted VS Code.
Disabled and reset binaries dependency settings.
Pinned dependency paths for dotnet, node, and func binaries.
Killed stale func processes and retried with clean startup.
Impact
Designer is blocked for local development; workflow can only be edited manually in JSON.

If you want, I can also generate a shorter version optimized for GitHub issue form fields (Description, Repro, Logs, Impact) in one compact block.

GPT-5.3-Codex • 0.9x

What type of Logic App Is this happening in?

Consumption (Portal)

Are you experiencing a regression?

No response

Which operating system are you using?

Windows

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

Screenshots or Videos

No response

Environment

Summary
In a local Logic Apps Standard workspace on Windows, Open Designer repeatedly fails with Unknown Error and ECONNREFUSED. The design-time API keeps restarting, reports Invalid func child process PID, and increments ports on each retry (8000, 8001, 8004, 8051, 9001). This makes the designer unusable.

Environment

OS: Windows
VS Code: current desktop build
Azure Logic Apps (Standard) extension: 5.230.15
Azure Functions extension: 1.20.3
Azure Functions Core Tools: 4.9.0+29aeab590e6c229a1a6631f6653df70f150f9f0e (64-bit)
Function Runtime Version: 4.1047.100.26071
Workspace: local Logic Apps Standard workspace containing one logic app project with host.json and local.settings.json
Repro Steps

Open Logic Apps Standard workspace.
Ensure local settings include AzureWebJobsStorage and Azurite is running.
Click Open Designer.
Wait for design-time API startup and retry behavior.
Actual Result

Designer fails with Unknown Error.
Output shows repeated ECONNREFUSED to localhost with changing ports.
Output also shows Invalid func child process PID and automatic design-time API restart.
In the same session, one startup sequence logs:
NodeJs Binaries path
DotNetSDK Binaries path
Error: Invalid Version: undefined
then Unknown Error and ECONNREFUSED
Expected Result

Design-time API starts once and remains attached to a stable local port.
Open Designer loads successfully.
No PID mismatch loop, no repeated port hopping, no Invalid Version: undefined.
Relevant Log Snippets

Starting Design Time Api for project: c:\cws\Auth0\localWsAuth0\localWs\Auth0LogStreamLocal
Error: Invalid Version: undefined
Invalid func child process PID set for project ... Restarting workflow design-time API.
Stopping Design Time Api for project ...
Starting Design Time Api for project ...
Error: connect ECONNREFUSED 127.0.0.1:8000
Error: connect ECONNREFUSED 127.0.0.1:8001
Error: connect ECONNREFUSED 127.0.0.1:8004
Error: connect ECONNREFUSED 127.0.0.1:8051
Error: connect ECONNREFUSED 127.0.0.1:9001
What I already tried

Verified AzureWebJobsStorage in both project and workflow-designtime local.settings.
Verified Azurite ports 10000/10001/10002 listening.
Verified manual func host can start on 8000 in some runs.
Reloaded window, reopened workspace, restarted VS Code.
Disabled and reset binaries dependency settings.
Pinned dependency paths for dotnet, node, and func binaries.
Killed stale func processes and retried with clean startup.
Impact
Designer is blocked for local development; workflow can only be edited manually in JSON.

If you want, I can also generate a shorter version optimized for GitHub issue form fields (Description, Repro, Logs, Impact) in one compact block.

GPT-5.3-Codex • 0.9x

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodeIssues or PRs specific to VS Code extensionbugSomething isn't workingpriority:highCritical issues needing immediate attention

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions