Hassio: SONOS TTS: 'NoneType' object has no attribute 'group'

TTS was working fine through a fairly standard Hassio install - using the Sonos add-on. Since I’ve enabled SSL through duckdns and let’s encrypt, it no longer works (although I’m not sure if that’s correlation or causation).

TTS is through Google

Error I’m seeing is NoneType’ object has no attribute ‘group’. Any similar issues seem to have been manually fixed by doing pip uninstall and reinstalls of the GTTs token, but that’s not possible through Hassio, is it?

Any help gratefully received.

I’m running 0.83.1.