question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[VS Code Extension] Cannot connect to task hubs (`Func: Value cannot be null. (Parameter 'provider')`)

See original GitHub issue

Hello,

I’m not being able to connect to local (azurite) or remote task hubs using the VS Code extension. After waiting for the backend to respond, I’m receiving a Func: Value cannot be null. (Parameter 'provider') error.

Installed the latest v4.x Azure Func Core Tools from here. I’m running the latest v6.0 extension version on 1.73.1 VS Code, Windows 11 Pro 22H2. .NET 6 runtime is installed.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
YaroslavKormushyncommented, Dec 8, 2022

Adding a few details here:

Completely uninstalled .NET 6.0 SDK and Azure Func Core Tools then did a complete reinstall of them

By this, I meant no repairing, no overwrite installation, simply:

  1. Go through all packages (programs) related to .NET 6 and Function Core Tools
  2. Remove them via Programs and Features (using Windows 11)
  3. Restart the machine (it always helps, won’t make it worse)
  4. Install the latest versions of .NET 6 SDK and Function Core Tools 4*. I may as well have reinstalled the extension in VS Code, to be sure, but I cannot confirm that it’s necessary
1reaction
YaroslavKormushyncommented, Nov 25, 2022

Solved.

Completely uninstalled .NET 6.0 SDK and Azure Func Core Tools then did a complete reinstall of them. This might be related to https://github.com/Azure/azure-functions-core-tools/issues/3115

Read more comments on GitHub >

github_iconTop Results From Across the Web

Value cannot be null. (Parameter 'provider') #2232 - GitHub
Hi there, I was just using the HttpExample code and nothing was changed, after I clicked F5 according to the guide and the...
Read more >
How to resolve 'Value cannot be null' error when using Azure ...
The only problem is that there will be different project structure now since installing explicitly provide the bin folder and extensions.csproj ...
Read more >
Error in Azure function - Microsoft Q&A
while executing the code (ctrl +F5) i got error like below. Error: value cannot be null(Parameter 'provider'). connect ECONNREFUSED ...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
Azure Functions Error Value cannot be null. (Parameter ...
在初次调试Azure Functions时,可能会遇到如下错误:. Value cannot be null. (Parameter 'provider'). 或者connect Econnrefused 127.0.0.1:9091.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found