not able to open azure logic app standard workflow in designer mode locally in vs code

Vijay Prasath P 20 Reputation points
2024-09-13T17:58:25.6666667+00:00

I have created custom code with logic app workspace

when I am trying to open the workflow in designer mode I am getting below error

I have tried re installing Azure function core tools and validated the dependencies it shows.

here is my structure of project and error
User's image

Azure Logic Apps Standard Runtime Dependencies validation and installation completed successfully.
[2024-09-13T15:43:59.449Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
For detailed output, run func with --verbose flag.
[2024-09-13T15:44:04.279Z] Host lock lease acquired by instance ID '00000000000000000000000055A5DDE5'.
Local binary .NET SDK version 6.0.425
DotNetSDK Binaries: C:\Users\v\.azurelogicapps\dependencies\DotNetSDK
Local binary .NET SDK version 8.0.401
9:14:05 PM: Azure Logic Apps Standard Runtime Dependencies validation and installation completed successfully.
9:14:14 PM: Running command: "C:\Users\v\.azurelogicapps\dependencies\FuncCoreTools\func host start --port 8000" with pid: "25044"...
Port 8000 is unavailable. Close the process using that port, or specify another port using --port [-p].
11:05:16 PM: Error: Request failed with status code 404

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,211 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,536 Reputation points
    2024-09-17T05:17:29.1766667+00:00

    @Vijay Prasath P Thanks for reaching and apology for the inconvenience due to this issue.

    As per the error "Running command: "C:\Users\v.azurelogicapps\dependencies\FuncCoreTools\func host start --port 8000" with pid: "25044"... Port 8000 is unavailable. Close the process using that port, or specify another port using --port [-p]." it looks like your standard logic app function runtime try to use the port 8000 which was not available. The reason could be another application is using the same port 8000 which is running on your local machine. To resolve the issue, you can either use a new port 8001 and run the command func start --port 8001 so it uses the new port that you have specified while running your application or kill/stop the existing application that is running on the port 8000 in case if you don't want to run that application.

    Let me know if it helps you to resolve the issue. Feel free to get back to me if you need any assistance.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.