Coder Social home page Coder Social logo

Comments (2)

Mihai-Ac avatar Mihai-Ac commented on July 21, 2024

Hello @ParthasarathiReddy6621

I have tried with both a Speech service and a Cognitive Services resources, I ran through all the steps and I wasn´t able to reproduce your error.

The error message “Name or service not known” typically occurs when the Invoke-RestMethod command is unable to resolve the hostname specified in the URL. This could be due Proxy issues (if you are behind a proxy you will need to update PowerShell´s proxy settings) or there is a connectivity issue with your environment (check Virtual network settings, security groups and firewall , so that they don´t block the URL), or even a temporary network issue.

I would suggest trying running this command in Powershell to delete the folder : rm -r ai-900 -f, clone again the repo (to make sure there are no issues with the speaking-clock file) , create a resource , update the key and region and try again. Also, makesure you have a stable network connection without any firewalls or security group rules that might block internet access.

from ai-900-aifundamentals.

sherzyang avatar sherzyang commented on July 21, 2024

@Mihai-Ac, thanks so much for the response!
@ParthasarathiReddy6621, if you are still having trouble, one of the common errors with speech is that you need to enter the location (for example, eastus) alongside your key. You could be getting an error because you are trying to use your key and endpoint.

image

Additionally, you will want to make sure the location is copied and pasted exactly as it is displayed in Azure:
image

Hope that helps!

from ai-900-aifundamentals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.