Supergiovane / node-red-contrib-tts-ultimate

This node transforms a text into a speech audio. You can hear the voice natively through Sonos or external players.
MIT License
24 stars 5 forks source link

Error migrating from Polly node #24

Closed xX-Nexus-Xx closed 3 years ago

xX-Nexus-Xx commented 3 years ago

I just changed my flows to use the new ultimate-node instead of Polly-tts.

The node does work with "Google without authentication" but I do not like the voices and would prefer the AWS ones

My AWS credentials were working fine with Polly-tst. However, im getting below error messages when using AWS credentials in the ultimate node "ttsultimate-config: Error getting polly voices CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"

Please advise on where I have to update this in my setting. I'm running the latest Node-Red in Ubuntu-Docker.

thanks for your help

Supergiovane commented 3 years ago

Hi You probably need to change your credential key in AWS. Sometime, reused credential keys for other service endpoint are not allowed. Please also uninstall sonospollytts.

xX-Nexus-Xx commented 3 years ago

Thanks for the quick response. sonospollytts is already uninstalled and I will get new credentials now

xX-Nexus-Xx commented 3 years ago

Sorry, I just generated new credentials but the error remains the same

"ttsultimate-config: Error getting polly voices CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"

image

Supergiovane commented 3 years ago

Hi have you changed the credentials in the config node as well, right? Have you restarted nodered?

xX-Nexus-Xx commented 3 years ago

OK, it looks like it took a while to sync. I did restart Node-Red 3 times and it is working now

thx a lot .. all good !