Not able to send request from AWS Container

azure admin 1 Reputation point
2021-08-16T07:56:02.167+00:00

Hi,

I am calling AzureFormRecognizer from a Docker container in my python code.
I am able to call the service from my local laptop environment, however, when I deploy it to my AWS Staging Environment, it returns a 400 error code.

There is an error in the processing. Error: <urllib3.connection.HTTPSConnection object at 0x7fc154131700>: Failed to establish a new connection: [Errno -2] Name or service not known

Can I know what could be the issue?

I have checked my AWS Environment. Within the same container, it is able to call other APIs. So I suspect the root cause is in my azure set up.

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,621 Reputation points
    2021-08-16T11:02:13.713+00:00

    @azure admin Thanks for the question. Can you please add more details about the steps that you performed. Did you submit an online request, and receive approval.

    Please follow the document for Request approval to run container below for more information. Currently it supports the following Host Computers.
    https://learn.microsoft.com/en-us/azure/cognitive-services/form-recognizer/containers/form-recognizer-container-install-run?tabs=layout#host-computer-requirements