Beagle_SDR_GPS icon indicating copy to clipboard operation
Beagle_SDR_GPS copied to clipboard

Wrong current users count. [current API allows invisible connections]

Open lazywalker opened this issue 7 years ago • 6 comments

With V1.91, kiwisdr shows 'server is too busy right now (4 users max)' while only 3 users online. Sdr.hu shows (3 / 4 users) at the mean time, which is correct.

It was fine before upgrade, bug?

lazywalker avatar Jun 04 '17 11:06 lazywalker

This is the second report of this problem. But it doesn't occur on any of my Kiwis here or a few on sdr.hu that I've tested. Do you have any more information about this? Does it occur on a particular public Kiwi I can try?

jks-prv avatar Jun 04 '17 18:06 jks-prv

As a side note, this could've been an artifact from my ugly experimental scripts. I've implemented the proper command sequence so now the script instance is accounted as a proper user. I hope this didn't cause much inconvenience. :-) Let's see if the problem persists.

dev-zzo avatar Jun 05 '17 00:06 dev-zzo

It's okay now by reboot the service, will keep watching. Thanks

lazywalker avatar Jun 05 '17 00:06 lazywalker

Or if you've ever changed the "number of channels not requiring a password even if password set" entry on the admin security page then there might be a residual bug with that.

jks-prv avatar Jun 05 '17 06:06 jks-prv

Dmitry fixed his code, but it's also a bug that the current API allows "invisible" connections (for the case of code other than the KiwiSDR browser client connecting to a Kiwi server). So I'll call this an actual bug to be fixed.

jks-prv avatar Jun 08 '17 00:06 jks-prv

Andras has also now fixed sdr.hu to correctly show the "max available" channel count as sent by the Kiwi. It used to just be fixed at a value of 4. Also he added the nice feature of moving Kiwis that have all their channels occupied to the bottom of the list and partially greyed-out.

jks-prv avatar Jan 18 '19 02:01 jks-prv