-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: MAX_CLIENTS=6 #128
Comments
I have the same issue (but I have just 1 harmony hub) |
same Error --> 2 harmony hubs |
I have the same error, 2 hubs. |
Same error (sporadic), 1 hub. |
Same issue here. Happens after a few mins to an hour. The plugin is unusable unfortunately. |
Same error here with 2 hubs and a lot of crashes per day... seems that this problem will never be solved! :( |
The latest version of homebridge and the harmony plugin ran fine for weeks but recently it started crashing again with this error message. I only have 1 hub and am really wondering what's going on here. |
having this issue as well |
Just installed homebridge-harmonyhub, and ran into this on the first day.
|
same error, one hub. |
Honestly, this project should be pulled. So many people are wasting their time on it. |
It does SOMETIMES work. |
Having the same issue 2 hubs |
I think I may have a solution for you guys, see my comment here: |
As my error starts off slightly differently I've added below. I've removed the plugin for now. I might create a special Homebridge instance so that only that instance is affected by the failures. /usr/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:355 |
Folks, Harmony hub is no longer needed with the release of Apple Siri shortcuts. I now control my Harmony Hub with Siri Shortcuts and got rid of HomeBridge. See here for how: |
Has anyone checked recently if this error is still occurring? |
I'm giving it a go with 0.3.0-alpha.2. I'll report back how things go after a good week of using it. |
Things appeared to be working pretty well. Now my only problem is that Harmony removed the local API's in their most recent firmware. So now it does not work at all...... :( |
@pponce Just out of interest- I assume you've enabled the beta functionality now - and can you comment if your patching fixed the maxclients issue? |
Yeah I ran without issue for a long time using 0.3.0-alpha2 with harmonyhubjs-client 1.1.6. Didn’t have any max client issues that I could detect. I recently moved to one of the websocket implementations that is using airborne04’s js client. Not sure if Logitech is going to favor ws or xmpp going forward. But it seems there are some great working options now for homebridge. |
I’m having trouble with websockets - tried nicos and materiks. Works fine from Siri or the home app but both have problem when I link them via a hue switch. Works fine at first but come down in the morning and materiks just doesn’t work and pings up a websocket not open error, nicos works but it takes 20 or 30 seconds. For some reason the sockets go to sleep and they are not properly woken by a 3rd party HomeKit switch. The hue switch clicks are reaching HomeKit because the icon shakes. So I’m thinking of resurrecting this one and making it 12.2 compliant. Local apis will always be superior to web based ones. |
Have you tried materiks using airborne04’s xmpp client as a dependency? But as for this plugin. |
Ooooh that would be a quick and easy fix! I’ll give it a go!!! |
@Pensive |
Yes , and by the way the websocket api is a local one :) Sent with GitHawk |
Interesting - thank you for the headsup! I haven’t had a chance to play with it so I’m still running websockets at the mo - I’ll try updating :) I thought a huge part of the hoohah when they shut down the local API was that the websockets implementation went out to the cloud server? I’ll look in greater detail |
i have some errors with version homebridge-harmonyhub v0.3.0-alpha.2
homebridge crashes some times
my config are 3 hubs on the network homebridge 0.4.38
Logfile
Uncaught exception error: { Error: MAX_CLIENTS=6 at Connection.onStanza (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:355:17) at StreamParser.<anonymous> (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:226:10) at emitOne (events.js:116:13) at StreamParser.emit (events.js:211:7) at SaxLtx.<anonymous> (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/StreamParser.js:58:14) at emitOne (events.js:116:13) at SaxLtx.emit (events.js:211:7) at SaxLtx._handleTagOpening (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/ltx/lib/parsers/ltx.js:31:18) at SaxLtx.write (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/ltx/lib/parsers/ltx.js:105:26) at StreamParser.write (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/StreamParser.js:123:17) at Connection.onData (/usr/local/lib/node_modules/homebridge-harmonyhub/node_modules/node-xmpp-core/lib/Connection.js:305:17) at emitOne (events.js:121:20) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) stanza: Stanza { name: 'stream:error', parent: null, children: [ [Object], [Object] ], attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' } } }
The text was updated successfully, but these errors were encountered: