Host lock lease acquired by instance ID '0000000000000000000000009DDF0CE1'

CFG 0 Reputation points
2023-02-01T15:21:35.8533333+00:00

anybody knows solved this "error"?

When I run the azure function (python language) locally it seems all is rigth, but appears this information and do nothing... how can I solve it?

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

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,651 Reputation points Microsoft Employee
    2023-02-02T22:41:41.9433333+00:00

    Hello @CFG - Thanks for reaching out & posting on the MS Q&A!

    The Host lock lease acquired by instance ID '0000000000000000000000009DDF0CE1' log output is not an error but a simple message notifying you that your Function App was started with the quoted instance ID and was also able to acquire a lock lease to the storage defined for the AzureWebJobsStorage setting. If you're having trouble starting your Functions App locally, the underlying issue is likely agnostic of this message, so if this is the case for you, please share more details in the comments and I'd be happy to help & get you unblocked.

    For more context on the lock lease message, Azure Functions require a storage solution for it to run & operate with the features it provides, and these storage solutions vary depending on your unique requirements.

    Here are a couple of StackOverflow threads on the same question you've raised:

    I hope this info is helpful, please let me know in the comments if you have any further questions.

    2 people found this answer helpful.