New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Function - Python -> warn: Host.Startup[0]. No job functions found. Try making your job classes and methods public. #987
Comments
+1. I have the same problem, and already spent a lot of hours trying to run the "hello world" function in docker. |
Try to add: AzureWebJobsFeatureFlags=EnableWorkerIndexing Like in exemple:
|
If you aren't using Docker, so try add "AzureWebJobsFeatureFlags": "EnableWorkerIndexing" in local.settings.json values. |
Please install Step inside your docker container using this:
After stepping inside the container, then run the below commands to install the
Then navigate to the project folder and manually run Hope it helps! |
this worked for me |
@sudharsan2020 's suggestion did it for me. With the verbose logs I could see that the durable function's trigger was still pointing to
|
I'm currently working on a simple Azure Function that's triggered by an HTTP request. I'm trying to run it within a Docker container, but I'm facing an issue where the function doesn't seem to be recognized. Here's the warning I receive in my logs:
warn: 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.).
info: Microsoft.Azure.WebJobs.Script.WebHost.WebScriptHostHttpRoutesManager[0]
Initializing function HTTP routes
No HTTP routes mapped
Azure function
Docker file
Here are the lines I used to build and run the docker container
docker build --tag ggirineza/azure_functions_image_test:v1.0.0 .
docker run -p 8080:80 -it ggirineza/azure_functions_image_test:v1.0.0
My experience with Docker is fairly limited, though I have successfully deployed similar functions using AWS Lambda, which was a more intuitive process for me. But with Azure, I really don't get it honestly..
I would really appreciate some help.
The text was updated successfully, but these errors were encountered: