question

DeepakMandala-6835 avatar image
0 Votes"
DeepakMandala-6835 asked MichaelPorter-9242 commented

Error in Azure function

Hi Team

Im Trying create a Azure function with http trigger using anonymous authentication from Microsoft visual studio code ,
while executing the code (ctrl +F5) i got error like below


Error: value cannot be null(Parameter 'provider')

connect ECONNREFUSED 127.0.0.1:9091

Pls help me how to resolve this

Thanks
Deepak

azure-functions
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I got this error when trying to debug a Python Event Hub listener in Visual Studio Code. This has to do with the version of the extension bundle as @MayankBargali-MSFT noted. I resolved by modifying host.json so it reads

   "extensionBundle": {
     "id": "Microsoft.Azure.Functions.ExtensionBundle",
     "version": "[3.3.0, 4.0.0)"
   }

Also make sure when you deploy your function app and go to configurations. The value for "FUNCTIONS_EXTENSION_VERSION" should be "~4".

This drove me absolutely nuts!!!


0 Votes 0 ·

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@DeepakMandala-6835 Can you explicitly install extensions : https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-register and confirm if it helps you. Please share more details of what function runtime you are using, language, full log details.

I see below discussion on the similar issue and you can refer to the suggestion mentioned there and see if it helps you.
https://github.com/Azure/azure-functions-core-tools/issues/2364
https://github.com/Azure/azure-functions-core-tools/issues/2232
https://github.com/Azure/azure-functions-core-tools/issues/2364

If it didn't help I will suggest you to create the issue azure functions core tools team who can assist you further on this.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.