[Python] Azure Web App 502 error - cannot find source & no log errors

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I am pretty new to deploying things myself with azure so bare with me here.

    I created a web app in azure and connected it to github. I have never set up a configuration myself just added to work related ones so I am not sure if the error is in my configuration or a misunderstanding of azure abilites.

    Running Linux with a PHP Stack

    Basically my page is an HTML page -> PHP file which runs an uploaded file through a python program -> loading.html page while the python runs -> Display.html of the given python result

    My field is data science so I am sure my methodology of html->php->python is not ideal but that was about the extent of the web developing I was taught and just want a streamlined webpage to display my python essentially.

    Really any help recommended, not sure what other configuration information would be needed but comment please. As far as I can tell the logs do not show anything - then again my logs may be configured wrong.

    Github reports these two things upon attempting to use the page -

    • Failed to deploy web package to App Service.
    • Deployment Failed, Package deployment using ZIP Deploy failed.

    Also, final detail, the initial html page does appear the "502 - Web server received an invalid response while acting as a gateway or proxy server." Occurs when pressing the first button which maps to the PHP.

    Any help greatly appreciated, trying to expand skills outside of my normal field.

    Continue reading...

Compartilhe esta Página