TTS-Ultimate node on HA Rpi/NodeRed addon working but throwing errors

The author of tts-ultimate suggested I post this HA forums as HA may need PORTs to be configured to solve this issue

[Supergiovane](https://github.com/Supergiovane)** commented [1 hour ago](https://github.com/Supergiovane/node-red-contrib-tts-ultimate/issues/62#issuecomment-1228660823)

Hi
You must be sure that HA forwards all ports needed, to nodered. I suggest you to ask someone on the HA forum, as i don’t use HA, sorry! As per the voices, try to restart nodered. I post this question on the HA 

I am getting the following error after tts-ultimate speaks the TTS…

"ttsultimate: Error joining device upnp: statusCode 500 & upnpErrorCode <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>402</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"

Hoping someone has been down this road and has been able to resolve it.

Much appreciated!

Hi,
did you find a solution to this issue? I’m having the same problem. When the Sonos speakers are already playing something (say music) when the tts message is sent to the speaker, it is not able to resume after announcing the message and that’s when I get this error. Inside nodered I have tried taking a snapshot before the tts message is sent to the speaker then I restore the state after the message is announced. It seems the restore works to an extent (the previous media and volume states are restored) but the media still remains in a paused state. Can anybody help please?

Hi panny and Brian

Did either of you find a solution to the above? I’ve just set up TTS-Ultimate and having the same issue if something is already playing.

Thanks!