Announcement

Collapse
No announcement yet.

TTS not working -

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TTS not working -

    My TTS has stopped working, not exactly sure when, logs are full of errors.


    Jan-13 16:21:07 Chromecast ERROR System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [xxxx:xxxx:xxxx:829::200e]:443 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at HSPI_Chromecast.GTTSToken.WebGet(String uri) at HSPI_Chromecast.GTTSToken.GetTokenKey() at HSPI_Chromecast.GTTSToken.CalculateToken(String text, String seed) at HSPI_Chromecast.ChromecastTarget.SpeakTextEventHandler(Objec t sender, SpeakTextEventArgs args)
    Jan-13 16:20:57 Warning Plugin Chromecast is not responding but it is still running, not restarting yet.
    Jan-13 16:20:26 Warning Plugin Chromecast is not responding but it is still running, not restarting yet.
    Jan-13 16:20:25 Chromecast ERROR System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [xxxx:xxxx:xxxx:829::200e]:443 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at HSPI_Chromecast.GTTSToken.WebGet(String uri) at HSPI_Chromecast.GTTSToken.GetTokenKey() at HSPI_Chromecast.GTTSToken.CalculateToken(String text, String seed) at HSPI_Chromecast.ChromecastTarget.SpeakTextEventHandler(Objec t sender, SpeakTextEventArgs args)
    Jan-13 16:20:19 Error Posting back to plugin web page chromecastconfig: Object reference not set to an instance of an object.-> at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.PostBackProc(String page, String data, String user, Int32 userRights) at Scheduler.proxyPage.postBackProc(StateObject& state, String Data)
    Jan-13 16:20:13 Error Posting back to plugin web page chromecastconfig: Object reference not set to an instance of an object.-> at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.PostBackProc(String page, String data, String user, Int32 userRights) at Scheduler.proxyPage.postBackProc(StateObject& state, String Data)
    Jan-13 16:15:19 TTS Speak ():This is a test of the emergency broadcast system
    Jan-13 16:15:19 Event Event Trigger "! Testing !!! Testing - HS Speak"
    Jan-13 16:15:19 Event Event ! Testing !!! Testing - HS Speak triggered by the event page 'Run' button.




    Based on another "TTS not working" thread, I updated to the lastest beta


    Jan-13 16:29:17 Chromecast ERROR System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [xxxx:xxxx:xxxx:829::200e]:443 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(I AsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification(Task task) at HSPI_Chromecast.GoogleTts.LoggingHandler.d__3.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at HSPI_Chromecast.GoogleTts.SpeakToFile(String text, String voice, String filePath) ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [xxxx:xxxx:xxxx:829::200e]:443 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(I AsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification(Task task) at HSPI_Chromecast.GoogleTts.LoggingHandler.d__3.MoveNext()<---
    Jan-13 16:29:14 Warning Plugin Chromecast is not responding but it is still running, not restarting yet.
    Jan-13 16:29:04 Error Posting back to plugin web page chromecastconfig: Object reference not set to an instance of an object.-> at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.PostBackProc(String page, String data, String user, Int32 userRights) at Scheduler.proxyPage.postBackProc(StateObject& state, String Data)
    Jan-13 16:28:27 Speaker Speaker host added, Name: Chromecast Instance: MasterBedroom Chromecast IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: Office speaker IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: Bedroom 2 speaker IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: Kitchen speaker IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: MasterBedroom Speaker IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: LivingRoom Chromecast IP address: 127.0.0.1
    Jan-13 16:28:26 Speaker Speaker host added, Name: Chromecast Instance: Bathroom speaker IP address: 127.0.0.1
    Jan-13 16:28:14 Starting Plug-In Plugin Chromecast started successfully in 567 milliseconds
    Jan-13 16:28:14 Starting Plug-In Initializing plugin Chromecast ...
    Jan-13 16:28:13 Starting Plug-In Chromecast loaded in 15020 milliseconds
    Jan-13 16:27:59 Info Plugin Chromecast has connected. IP:127.0.0.1:60516
    Jan-13 16:27:58 Warning I/O interface Chromecast is down, executable is not running, restarting ...
    Jan-13 16:27:40 Warning In InitSingleIOPlugin: Object reference not set to an instance of an object.
    Jan-13 16:27:40 Updater Re-initializing plugin after update.
    Jan-13 16:27:37 Updater Install/Update of package Chromecast was successful.
    Jan-13 16:27:37 Updater Extraction Complete.
    Jan-13 16:27:37 Updater Extracting files from zip file: images.zip
    Jan-13 16:27:37 Updater Warning File exists, not overwriting: C:\Program Files (x86)\HomeSeer HS3\Config\\Chromecast.ini
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\Zeroconf.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\System.ValueTuple.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\System.Threading.Tasks.Extensions.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\System.Runtime.CompilerServices.Unsafe.dl l
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\System.Reactive.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\Sockets.Plugin.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\Sockets.Plugin.Abstractions.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\SharpCaster.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\Newtonsoft.Json.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\bin\Chromecast\Google.Protobuf.dll
    Jan-13 16:27:36 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_Chromecast.exe.config
    Jan-13 16:27:35 Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_Chromecast.exe
    Jan-13 16:27:35 Updater Installing package Chromecast
    Jan-13 16:27:35 Updater Update HSPI_Chromecast.exe downloaded successfully
    Jan-13 16:27:35 ASR Speaker Client speech recognition stopped
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 ASR Speaker Client speech recognition stopped
    Jan-13 16:27:35 Speaker Speaker host disconnected, Name: CHROMECAST IP address: 127.0.0.1
    Jan-13 16:27:35 Updater Downloading update: Chromecast
    Jan-13 16:27:35 Warning Problem shutting down plugin Msg-B:Chromecast
    Jan-13 16:27:15 Info Plugin Chromecast with instance: has disconnected
    Jan-13 16:27:15 Updater Plugin is loaded, unloading before updating.
    Jan-13 16:27:15 Updater Starting download of updates



    But that just yields a different result.


    chromecast.ini

    [SPEAK_PROXY]
    forward_to_hs=True
    voice_type=Google
    voice_language=en-us
    voice_speed=0.7
    [CHROMECASTS]
    7f041090830e2ff85998381479d01d90###ipaddress=192.168.26.206
    7f041090830e2ff85998381479d01d90###port=8009
    7f041090830e2ff85998381479d01d90###name=Bedroom 1 speaker
    7f041090830e2ff85998381479d01d90###type=Google Home Mini
    7f041090830e2ff85998381479d01d90###enabled=True
    7f041090830e2ff85998381479d01d90###tts=True
    9a5aac48ed36eb112633eba62c902225###ipaddress=192.168.26.51
    9a5aac48ed36eb112633eba62c902225###port=8009
    9a5aac48ed36eb112633eba62c902225###name=Bedroom 2 speaker
    9a5aac48ed36eb112633eba62c902225###type=Google Home Mini
    9a5aac48ed36eb112633eba62c902225###enabled=True
    9a5aac48ed36eb112633eba62c902225###tts=True
    c6908e6ec765533e0e7cc605c883168c###ipaddress=192.168.26.149
    c6908e6ec765533e0e7cc605c883168c###port=8009
    c6908e6ec765533e0e7cc605c883168c###name=Kitchen speaker
    c6908e6ec765533e0e7cc605c883168c###type=Google Home Mini
    c6908e6ec765533e0e7cc605c883168c###enabled=True
    c6908e6ec765533e0e7cc605c883168c###tts=True
    b4806fac5eadb731a2475827cc6243bd###ipaddress=192.168.26.175
    b4806fac5eadb731a2475827cc6243bd###port=8009
    b4806fac5eadb731a2475827cc6243bd###name=LivingRoom Speaker
    b4806fac5eadb731a2475827cc6243bd###type=Google Home Mini
    b4806fac5eadb731a2475827cc6243bd###enabled=True
    b4806fac5eadb731a2475827cc6243bd###tts=True
    e9a9a07b720bc81436ca2ca79e2d3cde###ipaddress=192.168.26.191
    e9a9a07b720bc81436ca2ca79e2d3cde###port=8009
    e9a9a07b720bc81436ca2ca79e2d3cde###name=MasterBedroom Chromecast
    e9a9a07b720bc81436ca2ca79e2d3cde###type=Chromecast
    e9a9a07b720bc81436ca2ca79e2d3cde###enabled=True
    e9a9a07b720bc81436ca2ca79e2d3cde###tts=False
    9fe5f4a98a4763322f6f38f85ad5f989###ipaddress=192.168.26.229
    9fe5f4a98a4763322f6f38f85ad5f989###port=8009
    9fe5f4a98a4763322f6f38f85ad5f989###name=Office speaker
    9fe5f4a98a4763322f6f38f85ad5f989###type=Google Home Mini
    9fe5f4a98a4763322f6f38f85ad5f989###enabled=True
    9fe5f4a98a4763322f6f38f85ad5f989###tts=True
    9863f135340306324c020a5cf58776f0###ipaddress=192.168.26.239
    9863f135340306324c020a5cf58776f0###port=8009
    9863f135340306324c020a5cf58776f0###name=Bathroom speaker
    9863f135340306324c020a5cf58776f0###type=Google Home Mini
    9863f135340306324c020a5cf58776f0###enabled=True
    9863f135340306324c020a5cf58776f0###tts=True
    7fa5bae85f8603328589c1a5a9cd3370###ipaddress=192.168.26.188
    7fa5bae85f8603328589c1a5a9cd3370###port=8009
    7fa5bae85f8603328589c1a5a9cd3370###name=LivingRoom Chromecast
    7fa5bae85f8603328589c1a5a9cd3370###type=Chromecast
    7fa5bae85f8603328589c1a5a9cd3370###enabled=True
    7fa5bae85f8603328589c1a5a9cd3370###tts=False
    70568b74c1ffbe522d4655bac41a859e###ipaddress=192.168.26.147
    70568b74c1ffbe522d4655bac41a859e###port=8009
    70568b74c1ffbe522d4655bac41a859e###name=MasterBedroom Speaker
    70568b74c1ffbe522d4655bac41a859e###type=Google Home Mini
    70568b74c1ffbe522d4655bac41a859e###enabled=True
    70568b74c1ffbe522d4655bac41a859e###tts=True
    [VOLUME]
    step=10
    [GENERAL]
    log_level=Warning



    I'm noticing that within the chromecast.ini file, the devices are referenced by their IPv4 address, but the error messages in HomeSeer3 contain the IPv6 address for the device.

    A while back I switched from manually defining the devices in the .ini file to discovery-mode, hoping that I could pull in the Speaker Groups, but I don't think the plugin supports that. Anyhow, it was working, and I was bouncing between HS3 and HS4 installs, so I figured auto-discovery was better.

    Thoughts?

    ...v



    #2
    Might also be worth mentioning that it looks like my daily event that resets the speaker volumes is working. Just seems to be audio.

    Comment


      #3
      To use Google TTS, your HS machine must be able to have access to the internet. This line sticks out:

      A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [xxxx:xxxx:xxxx:829::200e]:443

      Make sure there are no firewall issues. Also, try setting your HS3 server's IP address binding in Tools/Setup/Labs.
      HS4, Insteon, Z-wave, USB-UIRT, Harmony Hubs, Google Hub/Chromecasts/Speakers, Foscam & Amcrest cameras, EZVIZ DB1 doorbell
      Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Harmony Hub, Insteon, Jon00 Homeseer/Echo Skill Helper, Harmony Hub, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

      Comment


        #4
        That IPv6 address is an internal IP, of one of the speakers. I cam ping it, nmap says there are three ports open.

        Sent from my LM-V405 using Tapatalk

        Comment


          #5
          I'll try to find it, but I recall reading that setting that binding was necessary for one of my plugins. I thought it was this one. I'll update soon.

          Update:

          This - https://forums.homeseer.com/forum/me...68#post1315568

          May not solve your problem but worth a shot.

          Also - https://forums.homeseer.com/forum/me...37#post1445737
          HS4, Insteon, Z-wave, USB-UIRT, Harmony Hubs, Google Hub/Chromecasts/Speakers, Foscam & Amcrest cameras, EZVIZ DB1 doorbell
          Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Harmony Hub, Insteon, Jon00 Homeseer/Echo Skill Helper, Harmony Hub, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

          Comment


            #6
            I went back and looked at that IPv6 address, it was not internal.

            Firewall was blocking outbound connections to google.com from HS3 server, once I opened that up, TTS started working again.


            Thanks for your help.

            Sent from my LM-V405 using Tapatalk


            Comment

            Working...
            X