Page 1 of 2

Error in plugin execution runConcurrentThread

PostPosted: Wed Jan 22, 2020 8:28 am
by Patje73
Hi,

I am pretty lost with this error.
EnablingXMPP did not help in solving this error.
Reloainf etc. has not worked eaither.

Does anyone have any advice on this one?


Code: Select all
Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Thanks a lot..

Re: Error in plugin execution runConcurrentThread

PostPosted: Wed Jan 22, 2020 8:34 am
by FlyingDiver
Turn on debug logging, check the IP address in the Hub device, then restart the plugin. Then post the log.

Re: Error in plugin execution runConcurrentThread

PostPosted: Wed Jan 22, 2020 3:06 pm
by Patje73
Code: Select all
Started plugin "Harmony Hub 7.3.0"
   Harmony Hub                     Starting Harmony Hub
   Harmony Hub Debug               Called deviceStartComm(self, device): Harmony Hub (417987721)
   Harmony Hub Debug               Harmony Hub: Device Current Version = 1
   Harmony Hub Debug               Harmony Hub: Device Version is up to date
   Harmony Hub Debug               Harmony Hub: Starting harmonyHub device (417987721)
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


This is what I could take from the logging.
Hub functions via app..

Thanks a lot ,Patrick

Re: Error in plugin execution runConcurrentThread

PostPosted: Wed Jan 22, 2020 3:12 pm
by FlyingDiver
You got this:

Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


Which usually means you have the wrong IP address in the device configuration.

The plugin shouldn't be crashing when that happens. I'll have to fix that.

Re: Error in plugin execution runConcurrentThread

PostPosted: Fri Jan 24, 2020 11:07 am
by Patje73
Anything I can do? As in right IP address setting. Not sure where to do that.

Thanks..

Re: Error in plugin execution runConcurrentThread

PostPosted: Fri Jan 24, 2020 11:11 am
by FlyingDiver
Patje73 wrote:
Anything I can do? As in right IP address setting. Not sure where to do that.


It's in the settings dialog for the Hub Device.

Re: Error in plugin execution runConcurrentThread

PostPosted: Sun Jan 26, 2020 6:32 pm
by denno
I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Code: Select all
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Re: Error in plugin execution runConcurrentThread

PostPosted: Sun Jan 26, 2020 6:53 pm
by FlyingDiver
denno wrote:
I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Are you getting this warning as well?
Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


If so, you have the wrong IP address. Or a typo or some other error in the text field.

Re: Error in plugin execution runConcurrentThread

PostPosted: Sun Jan 26, 2020 8:05 pm
by denno
No—not that warning

FlyingDiver wrote:
denno wrote:
I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Are you getting this warning as well?
Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


If so, you have the wrong IP address. Or a typo or some other error in the text field.

Re: Error in plugin execution runConcurrentThread

PostPosted: Sun Jan 26, 2020 8:06 pm
by FlyingDiver
denno wrote:
No—not that warning


Then it's not the same error. I'll need to see a complete log in debug mode from restart.

Re: Error in plugin execution runConcurrentThread

PostPosted: Thu Dec 03, 2020 12:07 pm
by mgolden50
Hi,

Your Harmony plugin has worked flawlessly until I just had a brief poser failure. When restored I'm getting same error message as the other folks.

Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

I've confirmed that the IP setting is the same address as my router reports it to be.
If restarted the Harmony. No change.

Any suggestions?

Thanks,
Mike

Re: Error in plugin execution runConcurrentThread

PostPosted: Thu Dec 03, 2020 12:10 pm
by FlyingDiver
Then make sure that XMPP didn't get turned off on the hub.

Menu -> Harmony Setup -> Add/Edit -> Remote & Hub

Re: Error in plugin execution runConcurrentThread

PostPosted: Thu Dec 03, 2020 12:11 pm
by mgolden50
Heres the debug log

Code: Select all
 Harmony Hub Debug               Called deviceStopComm(self, device): Harmony Hub (1766988387)
   Harmony Hub                     Shutting down Harmony Hub
   Stopped plugin "Harmony Hub 7.3.0"
   Starting plugin "Harmony Hub 7.3.0" (pid 2284)
   Harmony Hub Debug               logLevel = 10
   Started plugin "Harmony Hub 7.3.0"
   Harmony Hub                     Starting Harmony Hub
   Harmony Hub Debug               Called deviceStartComm(self, device): Harmony Hub (1766988387)
   Harmony Hub Debug               Harmony Hub: Device Current Version = 1
   Harmony Hub Debug               Harmony Hub: Device Version is up to date
   Harmony Hub Debug               Harmony Hub: Starting harmonyHub device (1766988387)
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Re: Error in plugin execution runConcurrentThread

PostPosted: Thu Dec 03, 2020 12:16 pm
by mgolden50
Checked XMPP
It was enabled So disabled and re enabled it. No Change

Re: Error in plugin execution runConcurrentThread

PostPosted: Thu Dec 03, 2020 12:21 pm
by FlyingDiver
Confirm the IP address in the mobile app, Menu->About->Versions.

Also, post the Hub Software version and the App version.