azure-web-app-service

Python socketIO callback is lost: `Unknown callback received, ignoring.`

Python socketIO callback is lost: `Unknown callback received, ignoring.` Question: I have a Flask-SocketIO server that connects with a number of python-socketIO clients. I want to know which clients are online. To get to know this, I am sending a ping event from the server with a callback function to process the response. The structure …

Total answers: 1

Deploying simple Flask application to Azure App Service – ModuleNotFoundError: No module named 'requests'

Deploying simple Flask application to Azure App Service – ModuleNotFoundError: No module named 'requests' Question: I am trying to deploy a simple flask application to an Azure App Service container, however when deploying from github repository I am getting an error saying ModuleNotFoundError: No module named ‘requests’. I have the requirements.txt file in the project …

Total answers: 1

How to change Azure App Service Python version from 3.9.7 to 3.9.12?

How to change Azure App Service Python version from 3.9.7 to 3.9.12? Question: I am trying to deploy an application on Azure App Service. I have created a deployment with Python 3.9.7, but my app needs Python 3.9.12. How do I upgrade python’s version? In Azure App Service > Configuration > General Settings > Python …

Total answers: 2

ModuleNotFoundError while importing python files as modules in Azure App Services

ModuleNotFoundError while importing python files as modules in Azure App Services Question: I am getting started with Azure App Services. I followed this tutorial and was able to get the example main.py app running. The modules (fastapi, uvicorn, etc…) specified in the requirements.txt are all installed and imported correctly. However, when trying to import Python …

Total answers: 2

I can't send my POST method to the API with Barer Token

I can't send my POST method to the API with Barer Token Question: I’m new to API Rest and I’m currently trying to POST to Azure Health Data Services using Python with Databricks. To do this I need to get the token which I get through Postman without problems (in Postman my POST does work). …

Total answers: 1

Operation returned an invalid status 'unauthorized' when deploying Python app

Operation returned an invalid status 'unauthorized' when deploying Python app Question: I am following this guide to deploy python app on Azure. https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/python-webapp?view=azure-devops I was successfully able to clone the repo and authenticated through Github in Azure Portal Shell. But I got above error when I tried to deploy the app using the following command. …

Total answers: 3