Hell Venkatesh, thank you for your help. The built-in detectors were not able to find any issues. We discovered it was because the storage had been migrated and the function app did not have access anymore. Deleted rogue private endpoint references that were created in a different subscription by user and migrated to primary subscription. As a result, these references were generating a conflict within the storage firewall. Once they were removed, access to the storage account was restored.
Host instance 'xxx' failed to acquire host lock lease: Azure.Core: Name or service not known (xxx.blob.core.windows.net:443).
I am trying to deploy to my Azure function app. The app will not update with our new code. In the app logs, it gives me the above error with no explanation as to why it is happening or what process is triggering the error.
2 answers
Sort by: Most helpful
-
-
VenkateshDodda-MSFT 23,436 Reputation points Microsoft Employee
2025-01-09T04:36:50.8+00:00 I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue: Function app is failing with below error.
Host instance 'xxx' failed to acquire host lock lease: Azure.Core: Name or service not known (xxx.blob.core.windows.net:443)
Solution:
Customer has deleted rogue private endpoint references that were created in a different subscription by user and migrated to the primary subscription. As a result, these references were generating a conflict within the storage firewall. Once they were removed, access to the storage account was restored.
If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.