Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Failed to create transport request #62

Open
n00b007 opened this issue Apr 13, 2019 · 3 comments
Open

Failed to create transport request #62

n00b007 opened this issue Apr 13, 2019 · 3 comments

Comments

@n00b007
Copy link

n00b007 commented Apr 13, 2019

Hi,
On running the python sample code, I get a run-time error which says Failed to create transport request.

Say something...
SpeechRecognitionResult(result_id=348276b025f943b79b1df48b29acc7c3, text="", reason=ResultReason.Canceled)
Speech Recognition canceled: CancellationReason.Error
Error details: Runtime error: Failed to create transport request.

Any idea how to resolve this ?

@softsan
Copy link

softsan commented Jun 1, 2019

same issue here @n00b007 any solution you found yet?

@n00b007
Copy link
Author

n00b007 commented Jun 27, 2019

Nope, not yet. Easier option is to switch from Azure to GCP

@ujjwaluttaray
Copy link

Was facing the same issue.
Fixed by filling the service region in SpeechConfig.FromSubscription with correct value.
The value should be speech sdk parameter in https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/regions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants