Skip to content

mslearn sandbox script 5-use-translator fails. curl: (6) Could not resolve host: cognitiveserviceshowcase.blob.core.windows.net #29323

@mpopejoy-dxc

Description

@mpopejoy-dxc

Describe the bug

The command that the MS Learn page at https://learn.microsoft.com/en-us/training/modules/intro-to-translator/5-use-translator instructs to run in the sandbox cli has errors and cannot get the content to be loaded.

The instructed command is;
curl -s https://raw.githubusercontent.com/MicrosoftDocs/mslearn-intro-translator-text-to-speech/main/scripts/deploy-in-sandbox.sh | bash

The resulting URL https://translator-text-to-speech-29590.azurewebsites.net/ says:
Your web app is running and waiting for your content
Your web app is live, but we don’t have your content yet....

5-use-translator_sandbox-cli-output_2024-07-07_0613_cleaned.txt

Related command

sourceZip=https://cognitiveserviceshowcase.blob.core.windows.net/build-artifacts/TranslatorTextToSpeech.zip

Errors

curl: (6) Could not resolve host: cognitiveserviceshowcase.blob.core.windows.net

Issue script & Debug output

(Sorry, I can't see how to do this. I tried "--debug" on a couple of places, but it either seemed to be ignored or received "command not found".)

Expected behavior

I expected whatever the exercise was intended to do, presumably with the content that it's unable to access.

Environment Summary

azure-cli 2.61.0

core 2.61.0
telemetry 1.1.0

Extensions:
ai-examples 0.2.5
ml 2.26.1
ssh 2.0.3

Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1

Python location '/usr/bin/python3.9'
Extensions directory '/home/michelle_popejoy/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.19 (main, Mar 28 2024, 18:56:59)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

Please also note the comment:
This command has been deprecated and will be removed in a future release. Use 'az webapp deploy' instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botCognitive Servicesaz cognitiveservicesService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions