Closed JackBruceShell closed 3 months ago
Hi @JackBruceShell thanks for raising this issue. It does seem to be a problem with the extension bundle. I will transfer the issue to the backend backlog, and I will reach out to one of the engineers.
In the meantime, is there any way you can execute the func host start --verbose --port 8001
command? This will show all the logs and will help to triage the issue.
Hi @ccastrotrejo
I have ran the command and attached as many logs as I could grab from the terminal. Hope this helps.
Anything else to try whilst we wait for the engineers?
Thanks.
Hey @JackBruceShell I took a look at the txt that you attached and I couldn't see any issue in the logs. Were you able to see any error in your side?
Lets do two things:
1.- Could you please execute in the vscode terminal with your logic apps project open the following command? /Users/<your username>/.azurelogicapps/dependencies/FuncCoreTools/func host start --verbose --port <any number, e.g 8005>
executing with the path will help us to make sure we start the functions process we do really
/Users/<your username>/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/
and delete all the folders over there and restart vscode. This will install a new extension bundle from scratchHi @ccastrotrejo
I do not have that file path
Tried this, still receiving the same error.
@JackBruceShell do you have any values in these vscode extension settings?
@ccastrotrejo I did not have any values in there...
Steps taken:
Results:
Looks to be working now so I can open the designer correctly.
@JackBruceShell I am glad it's working now. So, the reason for this is because starting with version 2.81.5, the extension includes a dependency installer that automatically installs all the required dependencies. We did this to avoid users having different installations and versions, therefore we installed the ones we know will work and make it smoother. You can read more about it here
Hi @ccastrotrejo thanks for this, very helpful!
The next problem I always seem to have is the below.
Following instructions from: https://learn.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#run-test-and-debug-locally - I always run into the issue now where I am unable to get a Callback URL from the overview.
Any thoughts appreciated, thanks!
Hey @JackBruceShell , whenever this kind of issue occurs while opening the overview page its due to the runtime server not being up. Did you follow the step #3 in the run, test and debug locally section?
@ccastrotrejo
Yes I had already started the debugging sessions, please see below.
Hey @JackBruceShell
1.- Is your workflow still empty? It does seem that there isn't a trigger in it
2.- Does your Func Core Tools Binary Path
extension setting have a value like this? /Users/<username>/.azurelogicapps/dependencies/FuncCoreTools/func
3.- Does your .vscode/tasks.json
have a similar structure?
It also seems that the func host start is not attaching to the /.azurelogicapps/dependencies/FuncCoreTools/
dependencies that we download for users. It seems that is using your own function core tools
@ccastrotrejo
I have opened it yesterday and now able to get the callback URL. Not sure what changed but maybe an update forced it to be working.
Thanks for your help on this.
@JackBruceShell I am glad to hear that!
Describe the Bug with repro steps
What type of Logic App Is this happening in?
Standard (VSCode)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
Output:
15:17:18: Running command: "func host start --port 8001" with pid: "53788"…
Azure Functions Core Tools
Core Tools Version: 4.0.5030 Commit hash: N/A (64-bit)
Function Runtime Version: 4.15.2.20177
[2024-03-14T15:17:19.475Z] A host error has occurred during startup operation '93dbf60e-57d3-453e-99f8-f7826b74540a'.
[2024-03-14T15:17:19.475Z] Microsoft.Azure.Workflows.WebJobs.Extensions: Could not load type 'Microsoft.Azure.WebJobs.Host.Listeners.IListenerDecorator' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.36.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Value cannot be null. (Parameter 'provider')
Browser
Edge
Additional context
No response
AB#27185602