0
I'm encountering an issue while trying to consume an external API within an Azure Function. The error message I'm receiving is "No such host is known (*******..com: 443)" and the stack trace points to several System.Net.Http methods.
Stack Trace:
No such host is known. (*******..com: 443). Stack Trace: at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
I've verified that the URL is correct and accessible from other environments (LOCAL). What could be causing this issue within the Azure Function context? Any insights or troubleshooting tips would be greatly appreciated. Thanks in advance!
I've tried to bypass the certificate using asp.net core but no result