LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Could not find path to extension bundle

Open brad302 opened this issue 1 year ago • 1 comments

Describe the Bug with repro steps

Just trying to run my logic app in VS code.

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

N/A

Screenshots or Videos

No response

Browser

Chrome

Additional context

Action: azureLogicAppsStandard.getDebugSymbolDll Error type: Error Error Message: Could not find path to extension bundle.

Version: 4.13.2 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.83.1 Language: en

Call Stack
getExtensionBundleFolder main.js:438683:11
getDebugSymbolDll main.js:438653:34
main.js:49498:16main.js:49498:16
main.js:49484:71main.js:49484:71
__awaiter4 main.js:49463:14
main.js:49497:37main.js:49497:37
main.js:41788:18main.js:41788:18
main.js:43378:40main.js:43378:40
main.js:43308:71main.js:43308:71
__awaiter4 main.js:43287:14
callWithTelemetryAndErrorHandling main.js:43375:14
main.js:41774:96main.js:41774:96
main.js:41755:71main.js:41755:71
__awaiter4 main.js:41734:14
main.js:41767:117main.js:41767:117
n.h extensionHostProcess.js:125:84283
n.$executeContributedCommand extensionHostProcess.js:125:85143
i.S extensionHostProcess.js:134:10827
i.Q extensionHostProcess.js:134:10593
i.M extensionHostProcess.js:134:9683
i.L extensionHostProcess.js:134:8901
s.value extensionHostProcess.js:134:7565
c.z extensionHostProcess.js:80:1902
c.fire extensionHostProcess.js:80:2119
m.fire extensionHostProcess.js:96:14010
s.value extensionHostProcess.js:153:7902
c.z extensionHostProcess.js:80:1902
c.fire extensionHostProcess.js:80:2119
m.fire extensionHostProcess.js:96:14010
MessagePortMain.<anonymous> extensionHostProcess.js:153:6182

brad302 avatar May 14 '24 05:05 brad302

@ccastrotrejo any thoughts on this one? I haven't been having much fun of late.

brad302 avatar May 14 '24 05:05 brad302

@ccastrotrejo any thoughts? I'm having to work between two machines at present, it's driving me nuts.

brad302 avatar May 21 '24 23:05 brad302

Hi @brad302 thanks for raising this issue and sorry for not replying earlier. It seems that the command to we use to find the extension bundle to attacth the debug symbols is throwing an error when its getting executed. There a couple fo things to do to debug it. Could you please do the following?

  • Could you please check if the following folder contains any folders (these folders are the actual extension bundles) /Users/<username>/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows

  • Does the value in the Fun Core Tools Binary Path extension setting points to /Users/<username>/.azurelogicapps/dependencies/FuncCoreTools/func? image

  • Check the complete error in the Logic Apps Standard output channel. image

ccastrotrejo avatar May 22 '24 20:05 ccastrotrejo

@ccastrotrejo yeah, all that looks fine. Question, can I change the port that func.exe is running on? I've had a dig but can't seem to find any concrete way. I thought they may be a parameter to the extension but didn't see one. I had a look through your code but can't made head nor tail of where you're getting the port from.

This is the error once it gives up trying and times out ... Error: connect ECONNREFUSED 127.0.0.1:8000 ... this is the error I was getting the other day. I do have a work around for this but it means disabling some software so I'm being asked if I can change the port to see if that helps.

This is part of the error I face ...

1:41:09 PM: Running command: "C:\Users\<username>\.azurelogicapps\dependencies\FuncCoreTools\func host start --port 8000" with pid: "7004"...

Azure Functions Core Tools
Core Tools Version:       4.0.5700 Commit hash: N/A +71cc84964a60bfb07d95839b7c666bd239507bdd (64-bit)
Function Runtime Version: 4.33.2.22572

[2024-05-24T03:41:11.858Z] Error building configuration in an external startup class.
[2024-05-24T03:41:11.858Z] Error building configuration in an external startup class. System.Net.Http: Error while copying content to a stream. System.Private.CoreLib: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. An existing connection was forcibly closed by the remote host.
[2024-05-24T03:41:11.860Z] A host error has occurred during startup operation '3c653853-1942-481e-ac92-b954c8d2221c'.
[2024-05-24T03:41:11.860Z] Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. System.Net.Http: Error while copying content to a stream. System.Private.CoreLib: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. An existing connection was forcibly closed by the remote host.
Value cannot be null. (Parameter 'provider')
[2024-05-24T03:41:11.881Z] Host startup operation has been canceled

More than related? I thought I used to receive errors like that but it still worked. I don't 100% recall now.

brad302 avatar May 24 '24 03:05 brad302

Again, it's the local VPN. It was just a different error to begin with. Closing!

brad302 avatar May 24 '24 04:05 brad302

Alright thanks @brad302 I am glad you find a way to solve it.

ccastrotrejo avatar May 24 '24 18:05 ccastrotrejo