ASP-GPPY01-bd9b plano do Serviço de Aplicações BadGateway ?

Joao Claudio Paco 20 Reputation points
2024-05-14T15:41:28.7633333+00:00

Hello !

Please help me,

I attempted to create a Python function using the Microsoft Azure Functions service. However, during the implementation step, I always get the error: ASP-GPPY01-bd9b Application Service Plan BadGateway!

Below are my creation and configuration steps:

Detalhes

Subscrição : aeb2650e-f14d-4ea1-babe-1cd40eaa0467

Grupo de Recursos : GPPY01

Nome : GENNP01

Pilha do runtime : Python 3.11

Alojamento

Armazenamento (Novo)

Conta de armazenamento : gppy019ac2

Plano (novo)

Opções e planos de Hosting : Consumption

Nome : ASP-GPPY01-bd9b

Sistema operativo : Linux

Região : France Central

SKU : Dynamic

Monitorização (Nova)

Application Insights : Ativado

Nome : GENNP01

Região : France Central

Implementação

Autenticação básica : Desativado

Implementação contínua : Não ativado/Configurar após criação da aplicação

Thanks !

!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,407 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 775 Reputation points Microsoft Vendor
    2024-05-15T10:03:35.3933333+00:00

    Hi @Joao Claudio Paco,

    Thank you for reaching out to Microsoft Q&A forum!

    The “ASP-GPPY01-bd9b Application Service Plan BadGateway” error typically occurs when there’s an issue with the Azure Function App deployment. Let’s troubleshoot this together! Here are a few steps you can take to resolve it:

    Check Basic Authentication:

    Review Deployment Configuration:

      - Double-check your deployment configuration. Make sure you’re deploying to the correct resource group and function app.
      
         - Verify that the function app name and resource group match the ones you’re targeting in your deployment command.
         
         **Inspect Detailed Logs**:
         
            - Look at the detailed logs to identify the root cause. You can find these logs in the Azure portal or by using the Azure CLI.
            
               - Use the following command to retrieve the logs for your function app:
               
               ```dockerfile
               az webapp log tail --name <function-app-name> --resource-group <resource-group-name>
               ```
               
                  - Look for any specific error messages related to the BadGateway issue.
                  
                  **Check Dependencies and Code**:
                  
                     - Ensure that your function app’s dependencies (such as Python packages) are correctly specified.
                     
                        - Review your Python code for any issues that might cause the BadGateway error during execution.
                        
                        **Retry Deployment**:
                        
                           - Sometimes, transient issues can cause deployment failures. Retry the deployment after verifying the above steps.
                           
    

    Remember to replace <function-app-name> and <resource-group-name> with your actual function app name and resource group. If you continue to encounter issues, consider reaching out to Azure support for further assistance.

    Best regards,

    0 comments No comments