The binding type(s) 'queueTrigger' are not registered.
ahmedsza opened this issue · 1 comments
I followed this walkthrough - and everything is working locally. When I deploy to my AKS cluster, I get the following errors from the kubectl logs. I have verified that my host.json has the following
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}
The container is succesfully deployed to my docker hub registry
Errors: (sorry for funny encoding)
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Initializing Host.
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Host initialization: ConsecutiveErrors=0, StartupCount=1
�[40m�[32minfo�[39m�[22m�[49m: Microsoft.Azure.WebJobs.Hosting.JobHostService[0]
Starting JobHost
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Starting Host (HostId=hellokeda5f69d8dcb6xdfsd-2137340, InstanceId=db9d97ab-65d3-4a20-91b5-d07f125414a1, Version=2.0.12180.0, ProcessId=7, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=)
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Loading functions metadata
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
A function whitelist has been specified, excluding all but the following functions: [QueueTrigger]
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
1 functions loaded
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Generating 0 job function(s)
�[40m�[1m�[33mwarn�[39m�[22m�[49m: Host.Startup[0]
No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Host initialized (225ms)
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Host started (235ms)
�[40m�[32minfo�[39m�[22m�[49m: Host.Startup[0]
Job host started
�[41m�[30mfail�[39m�[22m�[49m: Host.Startup[0]
The following 1 functions are in error:
QueueTrigger: The binding type(s) 'queueTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.
Hosting environment: Production
Content root path: /
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.
�[40m�[32minfo�[39m�[22m�[49m: Host.General[0]
Host lock lease acquired by instance ID '000000000000000000000000A058A27D'.
Hi there!
Any updates regarding this issue? I'm experiencing a similar one.