fatal: unable to access, Could not resolve host: ShoeCoAPI5a95434ed4.scm.azurewebsites.net

Lau rens 10 Reputation points
2024-06-16T20:01:52.9333333+00:00

This is not working: https://learn.microsoft.com/en-us/training/modules/publish-manage-apis-with-azure-api-management/3-exercise-create-an-api-gateway

After following the instructions it says:

fatal: unable to access 'https://ShoeCoAPI6adfbf602c.scm.azurewebsites.net/ShoeCoAPI6adfbf602c.git/': Could not resolve host: ShoeCoAPI6adfbf602c.scm.azurewebsites.net

Setup complete!

What could be the problem?

This question is related to the following Learning Module

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,643 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhabuk Kunwar 0 Reputation points
    2024-06-20T15:27:25.0166667+00:00

    I faced the same issue, apparently it was not working because the setup.sh file we run has a defect where it fails if there are no existing resource groups inside your subscription.

    Check out this PR I've raised on their repo, you can copy the setup.sh file and ShoeCompany/ShoeCompany.csproj file details into your code to make it work!

    https://github.com/MicrosoftDocs/mslearn-publish-manage-apis-with-azure-api-management/pull/7

    0 comments No comments

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.