Git Product home page Git Product logo

Comments (4)

xinlake avatar xinlake commented on August 22, 2024 1

Today I found that the local debugging feature has returned to normal. However, the cause of the problem is still unclear. Anyway, thank you all for your assistance.

2

from azure-functions-nodejs-worker.

ejizba avatar ejizba commented on August 22, 2024

The error "Value cannot be null. (Parameter 'provider')" is usually related to your local.settings.json. Can you double check everything in that file? For example, make sure the connection string for AzureWebJobsStorage is valid.

from azure-functions-nodejs-worker.

xinlake avatar xinlake commented on August 22, 2024

I noticed that recently, extensions like VSCode Azure Account, Azure Functions, and Azure Resources have all been updated. I've also updated the .NET updates from Windows Update. Additionally, I've upgraded Visual Studio 2022 to the latest version. Following the previous steps: I created a new project, pressed F5, and connected to a real Azure Storage account. However, I still couldn't start local debugging, and the symptoms are the same.

Here is the content of the local.settings.json file. I logged into https://portal.azure.com and verified the name and key of the storage account, both of which are correct.

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=<Account-Name-Is-Correct>;AccountKey=<Account-Key-Is-Correct>;EndpointSuffix=core.windows.net",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "AzureWebJobsFeatureFlags": "EnableWorkerIndexing"
  }
}

from azure-functions-nodejs-worker.

ejizba avatar ejizba commented on August 22, 2024

Are you by chance behind a company proxy or have anything else unique affecting the internet on you machine? I found this issue with a related error message: Azure/azure-functions-host#8774. In that case they had a firewall causing them problems.

from azure-functions-nodejs-worker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.