Azure Function: No such host is known Storage Account

Jesus Orlando Aguilar Contreras 120 Reputation points
2023-05-26T00:06:27.7533333+00:00

Hi everyone,

I have 2 Azure functions with VNet integration, and each of them has its own storage account. The first function is fine, but the second one generates this error when integrated into a network: Azure.Core: No such host is known. ([MyStorage].blob.core.windows.net:443). System.Net.Http: No such host is known. ([MyStorage].blob.core.windows.net:443). System.Net.Sockets: No such host is known.

I have no idea why, when integrating the function into a virtual network, it suddenly doesn't recognize the storage host, even though the storage has public access.

User's image

Has this happened to you? I would appreciate if you could provide guidance.

Thank you

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,936 questions
Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,542 questions
{count} votes

3 answers

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2023-05-26T11:24:41.6666667+00:00

    @Jesus Orlando Aguilar Contreras Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    As per the error message "Azure.Core: No such host is known. ([MyStorage].blob.core.windows.net:443). System.Net.Http: No such host is known." it looks like you function is communicating with storage account and not able to communicate.

    I have looked into the backend logs and I can see the same behavior that your function is not able to communicate with storage account I have further looked into the latest logs and I could see that your function is able to communicate with the storage account.

    I believe you storage account might be in virtual network or there might be any access restriction configured and which would have caused this issue. Do let me know if you are still facing the issue.

    Feel free to reach back to me if you have any further questions on this.


  2. Aninda Basu 10 Reputation points Microsoft Employee
    2024-05-18T10:15:36.5866667+00:00

    Hey, we are also facing he same issue with the Logic App inside the ASE and it is not able to connect to the hosting storage. Although, when the logic app is outside the ASE, it is able to resolve and connect to the storage. The Virtual Network and the subnet is the same, which we have used inside and outside the ASE.

    Error::

    Azure.Core: No such host is known. (.blob.core.windows.net:443). System.Net.Http: No such host is known. (.blob.core.windows.net:443). System.Net.Sockets: No such host is known.


  3. Richard Jackson 91 Reputation points
    2024-05-22T17:17:29.7566667+00:00

    I'm currently having the same issue, running an Azure Function (Durable, C#, .NET 8.0) locally and attempting to use an Azure-hosted blob storage account. The connection will timeout after about 60 seconds.

    Azure.Core: No such host is known. ([URI].queue.core.windows.net:443). System.Net.Http: No such host is known. ([URI].queue.core.windows.net:443). System.Net.Sockets: No such host is known.

    Any guidance would be greatly appreciated!

    Thanks,

    Rich

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.