- Platform information:
- Hardware: Raspberry Pi 4 Model B Rev 1.2
- OS: Linux 5.10.17-v7l+
- Java Runtime Environment: where can i find that?
- openHAB version: 3.0.1-2
I have installed Google Cloud Text-to-Speech. The output works fine.
But after a few days I get an auth error in the log when I use the ‘say’ command.
Then I have to generate a new auth-code via the given link with my client ID. After entering it, it works again immediately.
What is the reason for this? How can I save/use the authorization code permanently?
[ERROR] [oauth2client.internal.OAuthConnector] - grant type refresh_token to URL https://accounts.google.com/o/oauth2/token failed with error code invalid_grant, description Token has been expired or revoked. [WARN ] [ce.googletts.internal.GoogleCloudAPI] - Error initializing Google Cloud TTS service: Error fetching access token. Invalid authcode? Please generate a new one.
I have not been able to find anything about a validity period.
Thanks in advance.