[SOLVED] Odd error messages

Posted on
Mon May 01, 2017 4:34 am
jmdraper offline
Posts: 73
Joined: Sep 11, 2014
Location: Surrey, UK

[SOLVED] Odd error messages

Hi. Every so often when a trigger runs which turns the radio on (by streaming in iTunes then directing audio using AirFoil pro), the following set of errors occur. Most of the time the same trigger causes no issues. The error messages seem to relate to AirFoil Pro and Nest Home plugins but always trigger when the AirFoil Pro actions run so I am assuming it's related to that. This has the effect of hanging my Indigo server for a minute or so.

I don't even know how to interpret these logs to start trying to work out what's going wrong, or even what to try in order to isolate the error. Any help gratefully received!

Thanks,
Jon

Code: Select all
29 Apr 2017, 11:53:02
   Action Group                    Toggle master bedroom audio
   Virtual Devices                 sent "Master bedroom audio" toggle
   Action Group                    Turn on master bedroom audio
   Trigger                         Tune iTunes to radio when client count > 0 and audio source is radio
   Action Group                    Tune iTunes to current radio station
   Action Group                    Radio source BBC Radio 4
   Error (client)                  timeout waiting for server response for request GetScriptFileList
   Error                           because embedded scripts execute sequentially they must complete their execution within 10 seconds.
   Error                           modify the script to exit quickly or convert it to an external file (not embedded).
   Stopping embedded script executor host (pid 86065)
   Error                           process (pid 86065) failed to quit after polite request -- forcing it to quit now
   Stopped "embedded script executor host"

29 Apr 2017, 11:54:45
   Z-Wave                          sent "Master bedroom speakers" on
   Script Error                    embedded script: ServerCommunicationError -- timeout waiting for response
   Script Error                    Exception Traceback (most recent call shown last):

     embedded script, line 2, at top level
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 533, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   NEST Home Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1884, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   NEST Home Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 533, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   NEST Home Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1884, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   NEST Home Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 533, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   NEST Home Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1884, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   NEST Home Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Last edited by jmdraper on Sat May 06, 2017 1:58 am, edited 1 time in total.

Posted on
Mon May 01, 2017 4:37 am
jmdraper offline
Posts: 73
Joined: Sep 11, 2014
Location: Surrey, UK

Re: Odd error messages

By the way, if it helps, the Action Group "Radio source BBC Radio 4" that runs immediately before the first error runs a single line AppleScript as follows:

Code: Select all
tell application "iTunes" to open location "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p"

Posted on
Mon May 01, 2017 10:51 am
jay (support) offline
Site Admin
User avatar
Posts: 12721
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Odd error messages

If the AppleScript is embedded, then switch it to an external script - it's likely that iTunes is (for some reason) not responding to the script which is hanging up the server (embedded scripts have to run on the main server processing thread). Making it an external script will run it in it's own process so the server won't hang up waiting for the script to complete.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed May 03, 2017 2:42 pm
jmdraper offline
Posts: 73
Joined: Sep 11, 2014
Location: Surrey, UK

Re: Odd error messages

Great - thanks. I have given that a try and hopefully that will sort it. The wide range of seemingly random error messages put me off the scent a bit!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest