Share via

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.

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.


3 answers

Sort by: Most helpful
  1. 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

    Was this answer helpful?

    0 comments No comments

  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.

    Was this answer helpful?


  3. VenkateshDodda-MSFT 25,251 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.

    Was this answer helpful?


Your answer

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