googleapis / googleapis/google-cloud-node
google.cloud.texttospeech.v1.TextToSpeech timeout error
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
Hello,
I have the NodeJS @google-cloud/text-to-speech library in use. Locally I have no problems generating text to audio. But when I build the application as a Docker image and run it on my server, I always get the following error after a long time. NodeJS version is the same.
What is the reason for this?
```
GoogleError: Total timeout of API google.cloud.texttospeech.v1.TextToSpeech exceeded 300000 milliseconds before any response was received.
at repeat (/data/node_modules/google-gax/build/src/normalCalls/retries.js:66:31)
at Timeout._onTimeout (/data/node_modules/google-gax/build/src/normalCalls/retries.js:101:25)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7) {
code: 4
}
```
Contributor guide
Assessment
This issue has not been assessed yet.