• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Pending ClientInfo not returning servergroups

eduardoroeder

Fanatic member
Premium User
Like the title says, sometime's querying clientinfo wont return servergroups. I've got a server with 6 instances. The 6th instance when I'm querying outside of the server machine, it returns the expected result.

Code:
client_unique_identifier=C0xAonNhXFYC1rpLJIMF5m0DuTg= client_nickname=Firill client_version=3.1.10\\s[Build:\\s1528537615] client_platform=Windows client_input_muted=0 client_output_muted=0 client_outputonly_muted=0 client_input_hardware=1 client_output_hardware=1 client_meta_data client_is_recording=0 client_login_name=Firill client_database_id=732 clid=20 client_channel_group_id=984 client_servergroups=990,995,1109,1014 client_created=1572313334 client_lastconnected=1572340498 client_totalconnections=4 client_away=0 client_away_message client_type=0 client_type_exact=0 client_flag_avatar client_talk_power=65 client_talk_request=0 client_talk_request_msg client_description=Firill\\s-\\sMain\\sChar:\\sFirill\\sNodaloot\\s\\p\\sM.\\sTorpera:\\sTorpe\\sWilliam,\\sKrel\\sShala,\\sFirillpk,\\sRobar\\sEsrobar client_is_talker=0 client_month_bytes_uploaded=0 client_month_bytes_downloaded=21284 client_total_bytes_uploaded=0 client_total_bytes_downloaded=21284 client_total_online_time=7440 client_month_online_time=7440 client_is_priority_speaker=0 client_unread_messages=0 client_nickname_phonetic client_needed_serverquery_view_power=0 client_icon_id=0 client_is_channel_commander=0 client_country=VE client_channel_group_inherited_channel_id=4 client_badges=overwolf=0 client_myteamspeak_id client_integrations client_bot_type=0 client_owner=0 player_volume=1 player_state=0 client_playlist_id=0 client_disabled=0 client_uptime_mode=0 client_flag_notify_song_change=1 client_teaforo_id=0 client_teaforo_name client_teaforo_flags=0 connection_packets_sent_total=0 connection_bytes_sent_total=0 connection_packets_received_total=0 connection_bytes_received_total=0 connection_packetloss_total=0 connection_server2client_packetloss_total=0 connection_client2server_packetloss_total=0 connection_bandwidth_sent_last_second_total=0 connection_bandwidth_sent_last_minute_total=0 connection_bandwidth_received_last_second_total=0 connection_bandwidth_received_last_minute_total=0 connection_filetransfer_bandwidth_sent=0 connection_filetransfer_bandwidth_received=0 connection_filetransfer_bytes_received_total=0 connection_filetransfer_bytes_sent_total=0 connection_client_ip=*** client_idle_time=2687 connection_connected_time=2799 cid=4
which translates to

Code:
"client_data": {
        "cid": "4",
        "clid": "20",
        "client_away": "0",
        "client_badges": "overwolf=0",
        "client_bot_type": "0",
        "client_channel_group_id": "984",
        "client_channel_group_inherited_channel_id": "4",
        "client_country": "VE",
        "client_created": "1572313334",
        "client_database_id": "732",
        "client_description": "Firill - Main Char: Firill Nodaloot | M. Torpera: Torpe William, Krel Shala, Firillpk, Robar Esrobar",
        "client_disabled": "0",
        "client_flag_notify_song_change": "1",
        "client_icon_id": "0",
        "client_idle_time": "2687",
        "client_input_hardware": "1",
        "client_input_muted": "0",
        "client_is_channel_commander": "0",
        "client_is_priority_speaker": "0",
        "client_is_recording": "0",
        "client_is_talker": "0",
        "client_lastconnected": "1572340498",
        "client_login_name": "Firill",
        "client_month_bytes_downloaded": "21284",
        "client_month_bytes_uploaded": "0",
        "client_month_online_time": "7440",
        "client_needed_serverquery_view_power": "0",
        "client_nickname": "Firill",
        "client_output_hardware": "1",
        "client_output_muted": "0",
        "client_outputonly_muted": "0",
        "client_owner": "0",
        "client_platform": "Windows",
        "client_playlist_id": "0",
        "client_servergroups": "990,995,1109,1014",
        "client_talk_power": "65",
        "client_talk_request": "0",
        "client_teaforo_flags": "0",
        "client_teaforo_id": "0",
        "client_total_bytes_downloaded": "21284",
        "client_total_bytes_uploaded": "0",
        "client_total_online_time": "7440",
        "client_totalconnections": "4",
        "client_type": "0",
        "client_type_exact": "0",
        "client_unique_identifier": "C0xAonNhXFYC1rpLJIMF5m0DuTg=",
        "client_unread_messages": "0",
        "client_uptime_mode": "0",
        "client_version": "3.1.10 [Build: 1528537615]",
        "connection_bandwidth_received_last_minute_total": "0",
        "connection_bandwidth_received_last_second_total": "0",
        "connection_bandwidth_sent_last_minute_total": "0",
        "connection_bandwidth_sent_last_second_total": "0",
        "connection_bytes_received_total": "0",
        "connection_bytes_sent_total": "0",
        "connection_client2server_packetloss_total": "0",
        "connection_client_ip": "***",
        "connection_connected_time": "2799",
        "connection_filetransfer_bandwidth_received": "0",
        "connection_filetransfer_bandwidth_sent": "0",
        "connection_filetransfer_bytes_received_total": "0",
        "connection_filetransfer_bytes_sent_total": "0",
        "connection_packetloss_total": "0",
        "connection_packets_received_total": "0",
        "connection_packets_sent_total": "0",
        "connection_server2client_packetloss_total": "0",
        "player_state": "0",
        "player_volume": "1"
    }

and when I query from the server machine, it gives me this (I know it is different users, but it has the same behaviour):
Code:
client_unique_identifier=OCkZShA2zj\\/dzotKJ4qYRsbLtYY= client_nickname=Teste client_version=3.1.9\\s[Build:\\s1525442084] client_platform=Windows client_input_muted=1 client_output_muted=1 client_outputonly_muted=0 client_input_hardware=0 client_output_hardware=1 client_meta_data client_is_recording=0 client_login_name=Teste client_database_id=11 clid=3 client_channel_group_id=0 client_servergroups=0 client_created=1572331208 client_lastconnected=1572339150 client_totalconnections=37 client_away=0 client_away_message client_type=0 client_type_exact=0 client_flag_avatar client_talk_power=0 client_talk_request=0 client_talk_request_msg client_description=Fernando\\s-\\sMain\\sChar:\\sMilkiwei\\s\\p\\sM.\\sTorpera:\\sTematexd,\\sTematoxd client_is_talker=0 client_month_bytes_uploaded=0 client_month_bytes_downloaded=0 client_total_bytes_uploaded=0 client_total_bytes_downloaded=0 client_total_online_time=4800 client_month_online_time=4800 client_is_priority_speaker=0 client_unread_messages=0 client_nickname_phonetic client_needed_serverquery_view_power=0 client_icon_id=0 client_is_channel_commander=0 client_country=BR client_channel_group_inherited_channel_id=0 client_badges=Overwolf=0 client_myteamspeak_id client_integrations client_bot_type=0 client_owner=0 player_volume=1 player_state=0 client_playlist_id=0 client_disabled=0 client_uptime_mode=0 client_flag_notify_song_change=1 client_teaforo_id=0 client_teaforo_name client_teaforo_flags=0 connection_packets_sent_total=0 connection_bytes_sent_total=0 connection_packets_received_total=0 connection_bytes_received_total=0 connection_packetloss_total=0 connection_server2client_packetloss_total=0 connection_client2server_packetloss_total=0 connection_bandwidth_sent_last_second_total=0 connection_bandwidth_sent_last_minute_total=0 connection_bandwidth_received_last_second_total=0 connection_bandwidth_received_last_minute_total=0 connection_filetransfer_bandwidth_sent=0 connection_filetransfer_bandwidth_received=0 connection_filetransfer_bytes_received_total=0 connection_filetransfer_bytes_sent_total=0 connection_client_ip=*** client_idle_time=20 connection_connected_time=1572339150494 cid=0
which translates to this:
Code:
"client_data": {
        "cid": "0",
        "clid": "3",
        "client_away": "0",
        "client_badges": "Overwolf=0",
        "client_bot_type": "0",
        "client_channel_group_id": "0",
        "client_channel_group_inherited_channel_id": "0",
        "client_country": "BR",
        "client_created": "1572331208",
        "client_database_id": "11",
        "client_description": "Fernando - Main Char: Milkiwei | M. Torpera: Tematexd, Tematoxd",
        "client_disabled": "0",
        "client_flag_notify_song_change": "1",
        "client_icon_id": "0",
        "client_idle_time": "20",
        "client_input_hardware": "0",
        "client_input_muted": "1",
        "client_is_channel_commander": "0",
        "client_is_priority_speaker": "0",
        "client_is_recording": "0",
        "client_is_talker": "0",
        "client_lastconnected": "1572339150",
        "client_login_name": "Teste",
        "client_month_bytes_downloaded": "0",
        "client_month_bytes_uploaded": "0",
        "client_month_online_time": "4800",
        "client_needed_serverquery_view_power": "0",
        "client_nickname": "Teste",
        "client_output_hardware": "1",
        "client_output_muted": "1",
        "client_outputonly_muted": "0",
        "client_owner": "0",
        "client_platform": "Windows",
        "client_playlist_id": "0",
        "client_servergroups": "0",
        "client_talk_power": "0",
        "client_talk_request": "0",
        "client_teaforo_flags": "0",
        "client_teaforo_id": "0",
        "client_total_bytes_downloaded": "0",
        "client_total_bytes_uploaded": "0",
        "client_total_online_time": "4800",
        "client_totalconnections": "37",
        "client_type": "0",
        "client_type_exact": "0",
        "client_unique_identifier": "OCkZShA2zj/dzotKJ4qYRsbLtYY=",
        "client_unread_messages": "0",
        "client_uptime_mode": "0",
        "client_version": "3.1.9 [Build: 1525442084]",
        "connection_bandwidth_received_last_minute_total": "0",
        "connection_bandwidth_received_last_second_total": "0",
        "connection_bandwidth_sent_last_minute_total": "0",
        "connection_bandwidth_sent_last_second_total": "0",
        "connection_bytes_received_total": "0",
        "connection_bytes_sent_total": "0",
        "connection_client2server_packetloss_total": "0",
        "connection_client_ip": "***",
        "connection_connected_time": "1572339150494",
        "connection_filetransfer_bandwidth_received": "0",
        "connection_filetransfer_bandwidth_sent": "0",
        "connection_filetransfer_bytes_received_total": "0",
        "connection_filetransfer_bytes_sent_total": "0",
        "connection_packetloss_total": "0",
        "connection_packets_received_total": "0",
        "connection_packets_sent_total": "0",
        "connection_server2client_packetloss_total": "0",
        "player_state": "0",
        "player_volume": "1"
    }

Anyone having the same problem?


I'm getting the client info right after a 'ClientEnteredEvent'. Also, @WolverinDEV , ClientEnteredEvent doesn't return the user's servergroups, only a '0'.

Thanks

---- Automatically Merged Double Post ----

After the event, the immediate first clientinfo doesn't return the correct values always. I've then made a check if the clientinfo doesn't have servergroups it will wait half a second and try again until it haves. It explain why from my PC it can take always the servergroups but from the VPS not. From my house I've got 160~ ping to the server, and from the VPS it's localhost ping.

Anyways, It should be consistent to always give the information on request, since the event has already been defered to the listeners, right?
 
Last edited:

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Hmm your observation is quite interesting.
And its even right, just tested it.

Its manly because I just updated the clients variable.
Fixed in 1.4.1 :)

---- Automatically Merged Double Post ----

For the channel groups fixed as well
 
Last edited:

eduardoroeder

Fanatic member
Premium User
Thanks for the response. Is 1.4.1 stable to be used in production yet? Or should I wait for some kind of LTS release?
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Thanks for the response. Is 1.4.1 stable to be used in production yet? Or should I wait for some kind of LTS release?
Depends on the size of your environment.
I don't think that 1.4.x iw u stable, but I've never tested in an environment with Ober 1k users :)
 

REDOSS

TeaSpeak Team
Staff member
TeaTeam
Hmm your observation is quite interesting.
And its even right, just tested it.

Its manly because I just updated the clients variable.
Fixed in 1.4.1 :)

---- Automatically Merged Double Post ----

For the channel groups fixed as well
As far as I remember the problem was solved)