[Python] Python Based Azure Function Local Debug in VsCode Fails with grpc.FutureTimeoutError()

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

  1. Stack

    Stack Membro Participativo

    I use the Azure extension in VS Code to create an azure function project. Below is a screenshot of my project structure, all files are default valued, created by the vsCode Azure extension wizard.

    [​IMG]

    I start up azurite for a storage emulator and when I try to debug the function locally, I get a grpc.FutureTimeoutError(), see below

    [​IMG]

    When i was troubleshooting, I deployed my code to a function app on my Azure subscription and it worked with no issues (logging messages confirmed everything was running). This issue only occurs when im trying to debug locally in vscode. I've tried creating both v1 and v2 functions projects and i get the same error.

    Edit:

    Here is my init.py function definition below. When I deploy it to a function app on the cloud it executes and I can see the log messages

    [​IMG]

    Continue reading...

Compartilhe esta Página