It generates the file but after some time loses the authentication, so I think that file has been generated while the connection to Google tts was possible.
I dont really see how the webaudio settings would help. My problem is not related to the chromecasts and playing sounds, that has always worked. My problem is because openhab looses the authentication.