Open tsoybe opened 1 year ago
same error, if I use: svrooij/sonos-tts-polly:beta
Since it does generate the voice list it does work, nothing wrong with the docker image.
Can you send your configuration without keys, validate the folder exists, then I'll have a try what's wrong
I'm using: docker run --env-file tts_env -p 5601:5601 svrooij/sonos-tts-polly
Content of tts_env:
SONOS_TTS_AMAZON_KEY=A...
SONOS_TTS_AMAZON_SECRET=z...
SONOS_TTS_AMAZON_REGION=eu-west-1
SONOS_TTS_ALLOW_GET=true
Which folder should be exists?
You need to map a folder to the container. And set the location inside the container with the environment variable from the sample documentation.
This folder is used to save the mp3 files, so you don't need to generate the same tts file twice
Next try:
mkdir tts_cache
docker run --env-file tts_env -v ./tts_cache:/cache -p 5601:5601 ghcr.io/svrooij/node-sonos-tts-polly:latest
with tts_env:
SONOS_TTS_AMAZON_KEY=A...
SONOS_TTS_AMAZON_SECRET=z...
SONOS_TTS_AMAZON_REGION=eu-west-1
SONOS_TTS_ALLOW_GET=true
SONOS_TTS_CACHE_FOLDER=/cache
I validated inside the container, that the folder /cache
is writable for User node
.
The result: same error
I'm using:
I can get the list of voices with:
Answer:
But if I use:
with payload:
I get this Error:
It's my request, to use sons2mqtt with tts.