Skip to content

Known Issues

hallvictoria edited this page May 15, 2024 · 2 revisions

Function execution times out without any error

There is a known issue where functions that have an invalid connection string will time out during execution without any errors being thrown. If you're experiencing this issue, please confirm that your connection string setting is valid and refer to the following example.

In this example, the connection string setting is MyConnectionString:

@app.blob_trigger(arg_name="client", path="PATH/TO/BLOB", connection="MyConnectionString")
def blob_trigger(client: blob.BlobClient):

MyConnectionString must also be a defined App Setting with a valid connection string.

image

If you are executing the function locally, MyConnectionString must be set in your local.settings.json file.

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "python",
    "AzureWebJobsFeatureFlags": "EnableWorkerIndexing",
    "PYTHON_ISOLATE_WORKER_DEPENDENCIES": "1",
    "MyConnectionString": "<your connection string>"
  }
}

Please note: support for sdk type bindings is not yet supported in the latest Core Tools version (4.0.57)


Azure Functions Python Worker Known Issues:

Please refer to the Issues and / or Wiki for the Azure Functions Python Worker

Azure Storage Blobs Known Issues:

Please refer to the Issues and / or Wiki for the Azure SDK for Python