Microsoft cognitive container Failed to reach endpoint

BenLiu123 11 Reputation points
2020-08-10T07:09:38.773+00:00

Hey,

I am trying to deploy the MS cognitive container into a server that has no network enabled but whitelists the required endpoints by Microsoft below:

16721-image.png

However, the container is still not working with error message below:

16667-image.png

I think it means the container still can't reach the endpoint it wants.

Can anybody tell me how to debug it? or tell me the full URL that Microsoft wants to reach so I can test by curl by myself?

--------------------------------------------------------------

What I tried so far:

I tried to curl https://australiaeast.api.cognitive.microsoft.com to see if this URL is whitelisted by the server. And it is whitelisted as something returned:

16597-image.png

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,583 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. BenLiu123 11 Reputation points
    2020-08-10T07:18:54.593+00:00

    Please note that it seems all outbound traffic actually goes to a proxy first before reaching public internet.

    1 person found this answer helpful.
    0 comments No comments

  2. BenLiu123 11 Reputation points
    2020-08-11T04:43:28.593+00:00

    Solved by using HTTP_PROXY and HTTS_PROXY docker run parameter on the MS container to direct the traffic to the proxy directly.

    1 person found this answer helpful.
    0 comments No comments