Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
361 stars 301 forks source link

Mac OS Cannot Open Logic App in Designer #728

Closed zhangkakashi closed 1 year ago

zhangkakashi commented 1 year ago

VSCode Dump

Running command: "func host start --port 8000"...

Azure Functions Core Tools Core Tools Version: 3.0.4899 Commit hash: N/A (64-bit) Function Runtime Version: 3.17.0.0

[2023-02-14T19:44:12.647Z] A host error has occurred during startup operation. [2023-02-14T19:44:12.647Z] Microsoft.WindowsAzure.ResourceStack: Unable to load shared library 'advapi32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libadvapi32.dll, 0x0001): tried: 'libadvapi32.dll' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibadvapi32.dll' (no such file), '/usr/lib/libadvapi32.dll' (no such file, not in dyld cache), 'libadvapi32.dll' (no such file), '/usr/local/lib/libadvapi32.dll' (no such file), '/usr/lib/libadvapi32.dll' (no such file, not in dyld cache). Value cannot be null. (Parameter 'provider') 11:49:10 AM: Error: connect ECONNREFUSED 127.0.0.1:8000

Steps to Reproduce the Bug or Issue

Operation System: macOS Ventura 13.2.1, intel core, x64 VS Code version: 1.75.1 Extension: Azure Logic Apps (Standard) v1.0.45 dotnet version: 6.0.14 / 7.0.3

Reproduce steps:

  1. Open Logic App project
  2. Choose one logic app, right click on workflow.json
  3. Select "Open In Designer"
  4. Output will display the error message
    
    Running command: "func host start --port 8000"...

Azure Functions Core Tools Core Tools Version: 3.0.4899 Commit hash: N/A (64-bit) Function Runtime Version: 3.17.0.0

[2023-02-14T19:44:12.647Z] A host error has occurred during startup operation. [2023-02-14T19:44:12.647Z] Microsoft.WindowsAzure.ResourceStack: Unable to load shared library 'advapi32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libadvapi32.dll, 0x0001): tried: 'libadvapi32.dll' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibadvapi32.dll' (no such file), '/usr/lib/libadvapi32.dll' (no such file, not in dyld cache), 'libadvapi32.dll' (no such file), '/usr/local/lib/libadvapi32.dll' (no such file), '/usr/lib/libadvapi32.dll' (no such file, not in dyld cache). Value cannot be null. (Parameter 'provider')



AB#17176920
simonp92 commented 1 year ago

Getting the same error on Linux-based environments. WSL (Ubuntu 20.04) and Devcontainers (Debian based) give me the same error no matter the .NET version or Function tools version installed.

Works on Windows environment with .NET 6 SDK installed

axiomitdavid commented 1 year ago

Have a look at https://github.com/Azure/logicapps/issues/716

Try the workaround recommended.

ccastrotrejo commented 1 year ago

Please check #722