ServerCommunicationError exceptions

Posted on
Thu Mar 28, 2024 5:12 pm
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Alexa Error in runConcurrentThread

What version of the FW plugin are you running?

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Mar 31, 2024 11:06 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Alexa Error in runConcurrentThread

DaveL17 wrote:
What version of the FW plugin are you running?


2022.0.4 - Any troubleshooting steps you can think of? Just got this:

Code: Select all
Mar 31, 2024 at 12:29:32 PM
   Alexa Error                     Error in plugin execution runConcurrentThread:

  File "plugin.py", line 138, in runConcurrentThread
  File "plugin.py", line 166, in _update_reflector_and_utd_status
type: ServerCommunicationError -- timeout waiting for response

   Alexa Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Fantastic Weather Error         Error in plugin execution runConcurrentThread:

  File "plugin.py", line 342, in runConcurrentThread
  File "plugin.py", line 2468, in refresh_weather_data
type: ServerCommunicationError -- timeout waiting for response

   Fantastic Weather Error         plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Sonos Error                     'ServerCommunicationError -- timeout waiting for response' in module 'Sonos.py', method 'updateRelTime [2024.0.4]'
   Failing statement [line 859]: 'dev = indigo.devices[item]'
   RFXCOM Error                    Error in plugin execution runConcurrentThread:

  File "plugin.py", line 326, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2407, in startComm
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 871, in processPacket
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 47, in _finalizeStatesChanges
type: ServerCommunicationError -- timeout waiting for response

   RFXCOM Error                    plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Hue Lights Error               
Traceback (most recent call last):
  File "plugin.py", line 6627, in parseAllHueLightsData
    device = indigo.devices[deviceId]
             ~~~~~~~~~~~~~~^^^^^^^^^^
RuntimeError: ServerCommunicationError -- timeout waiting for response
   SamsungTV Error                 Error in plugin execution runConcurrentThread:

  File "plugin.py", line 107, in runConcurrentThread
type: ServerCommunicationError -- timeout waiting for response

   SamsungTV Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Indigo Cocoa client disconnected (173.79.120.204)


Posted on
Sun Mar 31, 2024 4:49 pm
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Alexa Error in runConcurrentThread

ryanbuckner wrote:
Any troubleshooting steps you can think of? Just got this:

To be honest, not really. Under the hood, FW has 20 second timeouts on anything reaching out to the Internet--which should be sufficiently short. Since plugins run in their own threads, it takes a pretty substantial problem for a plugin to tie up the server.

One thing springs to mind, although it shouldn't create a catastrophic error: can you confirm that you're using FW 2022.0.4 with a Pirate Weather API key?

A long shot is that the plugin might be corrupted for some reason. You might try downloading a new copy from the app store and installing it right on top of the existing install.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Mar 31, 2024 5:04 pm
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Alexa Error in runConcurrentThread

I just started getting these errors without the FW plugin enabled. I'm stumped now, but it's not the FW plugin.

Posted on
Sun Mar 31, 2024 5:10 pm
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Alexa Error in runConcurrentThread

Have you looked at Activity Monitor to see if any processes are using gobs of CPU or memory?

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Mar 31, 2024 5:28 pm
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Alexa Error in runConcurrentThread

The only thing strange is:

1) accountsd perocess is using over 1 GB of memory. I have 16GB ph RAM and about 10 are being used.
2) mds_stores spikes to 75% CPU or so for a few seconds and then dies back down.

Posted on
Mon Apr 01, 2024 11:48 am
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa Error in runConcurrentThread

This sounds like a systemic issue with your Mac. Not much more we can do unless you can pinpoint a process that seems to be running away, either with high CPU or high Memory consumption...

I'm going to move this thread and rename it since it's not actually an Alexa issue.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Apr 12, 2024 3:30 pm
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: ServerCommunicationError exceptions

I have been able to resolve the server memory and CPU issues by stopping th e PostGres server (it wasn't being used). The memory and CPU consumption are pretty low. I'm still getting the exception errors

Posted on
Sat Apr 13, 2024 10:02 am
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: ServerCommunicationError exceptions

Something is still hanging the server up. We have had no other issues like this reported so I'm not sure where else to look. I'd disable all 3rd party plugins and let it run to see if you get the problem with just built-in plugins/interfaces.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 8 guests