SynthesizeSpeech timeout when using ssml
See original GitHub issueHi guys. The version of package 1.1.3. 08/14/2019 I noticed that requests through client.SynthesizeSpeech() failed by timeout. I sending parts of ssml with length 5000.
const request = {
input: {ssml: someText},
voice: languageConfig,
audioConfig: {
audioEncoding: 'MP3',
sampleRateHertz: 16000,
effectsProfileId: ['handset-class-device' ]
}
Then I tried to send smaller pieces of ssml (2000 chars). And now I got the response but still, it works much slower than previous. Maybe be do you know what could be the reason of such behavior?
Also I almost sure that input: {text: someText}
works pretty much faster
Thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (1 by maintainers)
Top Results From Across the Web
SynthesizeSpeech - Amazon Polly - AWS Documentation
Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML. Type:...
Read more >AWS Polly python synthesize_speech delayed response
I'm using it in a Django application, and in a helper file, towards the top ... OutputFormat="mp3", VoiceId="Justin", TextType="ssml" ) time2 = time.time()....
Read more >How to synthesize speech from text - Azure Cognitive Services
You can use SSML to fine-tune the pitch, pronunciation, speaking rate, volume, and more in the text-to-speech output by submitting your ...
Read more >Speech Synthesis Markup Language (SSML) Version 1.1 - W3C
The intended use of SSML is to improve the quality of synthesized ... have a fetchtimeout attribute that specifies the timeout for fetches....
Read more >TTS is not able to proccess long ssml inputs [139429599]
Starting from today (August 14) my requests to TTS API fail with timeout error. ... 'synthesizeSpeech' method to use 'text' as the input...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can reproduce this. Next stop is to get the issue to the right folks.
Well, that did not work. Same problem exists on 1.1.2. Seems the Google Text To Speech service has troubles then. In the Google Cloud Community slack group some also report the same timeout troubles, since yesterday it seems.
This is really crap, my whole app is instantly unusable because of this. None of my speech requests seem to go through. They all timeout, on all voices it seems.
100% error rate, with 504’s on the service: