ERR_CONNECT_FAIL when connecting an Azure AI Services Container (MS Learn lab issue)

AlejandroBenitez-0092 30 Reputation points
2023-12-26T05:18:50.21+00:00

Trying to complete the following AI Service Microsoft Lab.

https://learn.microsoft.com/en-us/training/modules/investigate-container-for-use-with-ai-services/4-exercise-use-container?source=learn

However, when running the following curl command (with the correct FQDN or IP Address) getting

curl: (56) Recv failure: Connection was reset

Has anybody been able to complete that lab? I tried from my home computer as well as from the lab's host. Same error.

curl -X POST "http://
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,621 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 27,550 Reputation points Microsoft Employee Moderator
    2023-12-27T10:55:08.43+00:00

    @AlejandroBenitez-0092 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    .
    I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.
    .
    Issue:
    You are trying to complete the following AI Service Microsoft Lab:

    https://learn.microsoft.com/en-us/training/modules/investigate-container-for-use-with-ai-services/4-exercise-use-container?source=learn

    However, when running the curl command (with the correct FQDN or IP Address) you are getting the error:

    curl: (56) Recv failure: Connection was reset.

    .
    Resolution:
    The problem was the Container Instance size. You increased it to 16 GB and started to work.


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.