Hi, you might check and use the correct region identifier from here:
https://learn.microsoft.com/es-es/azure/cognitive-services/speech-service/regions
It works fine for me!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I've followed both the Speech SDK quickstart and the Speech CLI quickstart, but continue receiving the following error (with the SDK):
'Connection failed (no connection to the remote host). Internal error: 1. Error details: Code: 2508. SessionId: d2adc133aa5d484f99993baf3d139b53'
And the following error (with the CLI):
SESSION STARTED: 6235df352895424a8eb77503f003bc99
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error: 1. Error details: Code: 2460. SessionId: 6235df352895424a8eb77503f003bc99
CANCELED: Did you update the subscription info?
SESSION STOPPED: 6235df352895424a8eb77503f003bc99
I am using the correct region and keys, and don't have any ports blocked on my firewall. I've tried through two different networks.
How do I fix this?
Hi, you might check and use the correct region identifier from here:
https://learn.microsoft.com/es-es/azure/cognitive-services/speech-service/regions
It works fine for me!
@k2 Thanks for the question. Can you please confirm is your azure services disabled?, If yes To use Azure services, you must upgrade your account. For more information, see How to upgrade your Azure free account.
We are able to connect to the speech SDK with key and the service region.
I encountered the same problem ! I'm using com.microsoft.cognitiveservices.speech client sdk v1.15.0 in my java codes. I'm using JRE 11. The codes are just to transcribe a PCM file.
When I run the sample codes in Macbook BigSur, it's working fine. However, when I copy it to some other Linux VMs with identical key and region (hard-coded inside the source codes), the following error is encountered:
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error: 1. Error details: Code: 2508. SessionId: 5fe18919202a4f5aa834338b1334b1d6
CANCELED: Did you update the subscription info?
This error happens in the following Linux VMs:
I upgraded my Azure account from free trial to pay by credit already. Does Azure Speech to Text service work in CentOS 8.x and RHEL 8 ?