A community member has associated this post with a similar question:
My Azure functions are working locally, but not when deployed
Only moderators can edit this content.
Azure Function is triggering when deployed but not working , but works correctly in local debugging
Hi everyone,
I am encountering problem when deploying the python even hub trigger function to azure function app from vs code. The function seems to be triggered on event from my android app but it is not process that event. which is to push data in event into PostgreSQL Database.
It is running locally in vscode and pushing data into database aswell.
Their seems to an issue related to libraries in my python script but i have added all of then in requirement.txt file and have installed in virtual environment. Again I am not sure this could be one reason or this may not be the problem.
I dont think so their is some issue related to connection string i have double rather checked many times all connection strings and function app configurations are same.
Is these someone who encountered similar issue can you please tell me how to debug this?
I am attaching app insights log when it is not running locally vs it is running locally.
I have tried to change host.json file to see detailed logs but logs here doesnt change local debug logs change and they dont have any error.
I am also sharing the detail error can anyone help me debug this.