Closed zhangkakashi closed 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
Have a look at https://github.com/Azure/logicapps/issues/716
Try the workaround recommended.
Please check #722
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:
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')