Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Could not iterate through Teamspeak 3 server instances #2

Open
ovitente opened this issue Mar 13, 2018 · 5 comments
Open

Could not iterate through Teamspeak 3 server instances #2

ovitente opened this issue Mar 13, 2018 · 5 comments
Assignees

Comments

@ovitente
Copy link

ovitente commented Mar 13, 2018

First of all, i want to say thank you for this solution, it is great work!

I've successfully installed and configured telegraf+influxdb+grafana on gcloud instance, then added metric source, it connected fine. So i have working monitoring solution... but...

Issue description:
Telegraf cannot start compiled executable with arguments.

  • -server
  • -username
  • -password

It just wont start until i remove arguments from telegraf config.
These part looks like this
default

In trying to solve this issue, i've executed this string in the simple linux console and received a message:
[Error] Could not iterate through Teamspeak 3 server instances

I am using teamspeak server on ruvoice.com, not my teamspeak hosting provider. So i don't have direct access to it, only by their control panel or via server query.
I have squery access to the server with not default server id, in example 644. I cannot change this, and that's why i've chose this solution, where i don't need to install some agent to the machine with teamspeak server.

So i think, the problem is because i cannot set server id manualy.
Am i right?

@ovitente
Copy link
Author

I am having the same response from script EVEN when I installed and configured regular, personal teamspeak server on the different machine, like on my own computer.

@ovitente ovitente changed the title Cannot set ServerQuery Server ID Could not iterate through Teamspeak 3 server instances Mar 14, 2018
@thannaske thannaske self-assigned this Mar 14, 2018
@thannaske
Copy link
Owner

Hello,

please try to connect to the server query interface of your Teamspeak 3 server using the telnet command.

On MacOS/*nix just type: telnet <serverIP> <serverQueryPort>. On Windows you may have to install a tool like PuTTY first. It depends on your installed Windows version.

The output should look like this:

user@host:~$ telnet localhost 10011
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
TS3
Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.

If the output does not look like the example output above you may have chosen the wrong Server Query port. Per default the port is set to 10011.

@ovitente
Copy link
Author

ovitente commented Mar 14, 2018

Actually, I am using squery all the time, to change the logo on teamspeak with this script
Here are two different servers, and access to them via telnet:

  1. My personal ts3 server on gcloud.
    default

  2. Another server from ruvoice.com hoster that is not belong to me.
    default

@thannaske
Copy link
Owner

Hello,

all right, so that is not the issue here. Thank you.
Could you verify the following commands to inspect that strange behavior further?

login client_login_name=serveradmin client_login_password=<password>
serverlist

This should report a list of servers, e.g. like this:

virtualserver_id=18 virtualserver_port=9987 [...]

Take the server ID of your virtual instance - in my case it's 18 - and execute the following commands:

use 18
serverinfo

This should return a lot of information. Please report back if any of that commands are failing. If it works I'll dive into the problem to fix that issue. Furthermore your Teamspeak 3 server version would be nice to know.

Greetings,
Tobias

@ovitente
Copy link
Author

ovitente commented Mar 17, 2018

Here is the output of squery requests
Bold font - errors.

# telnet allatra.ruvoice.com 10022
Trying 185.175.44.1...
Connected to allatra.ruvoice.com.
Escape character is '^]'.
TS3
Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.

login client_login_name=SAME_AS_SQUERY client_login_password=SAME_AS_SQUERY
Outputs nothing, clear newline

login **** *******
error id=0 msg=ok

serverlist
error id=2568 msg=insufficient\sclient\spermissions failed_permid=4

And
virtualserver_id=683 virtualserver_port=10335
error id=256 msg=command\snot\sfound
virtualserver_id=683 virtualserver_port=10335
error id=256 msg=command\snot\sfound

use 683
error id=0 msg=ok
serverinfo
virtualserver_unique_identifier=6IUzyX1eKz7ZWPhvN68\/PHZ67cc= virtualserver_name=Когда\sБог\sна\sпервом\sместе\s-\sвсё\sостальное\sна\sсвоём virtualserver_welcomemessage=[color=green][b]Ригден:\sЧеловеку,\sстремящемуся\sслиться\sсо\sсвоей\sДушой,\sважно\sотноситься\sк\sкаждой\sмедитации,\sкак\sк\sсамому\sбольшому\sи\sважному\sпразднику\sв\sжизни.\sТакже\sпри\sвыполнении\sдаже\sхорошо\sнаработанной\sмедитации\sнужно\sмаксимально\sпогружаться\sв\sнеё\sи\sкаждый\sраз\sстремиться\sдостичь\sнового\sуровня\sеё\sпознания.\sТогда\sчеловек\sбудет\sразвиваться,\sа\sне\sтоптаться\sна\sместе,\sдля\sнего\sкаждая\sмедитация\sбудет\sинтересной,\sновой\sпо\sгамме\sчувств\sи\sувлекательной\sв\sпознании\sи\sосвоении.[\/b][\/color] virtualserver_platform=Linux virtualserver_version=3.0.13.6\s[Build:\s1478594913] virtualserver_maxclients=30 virtualserver_password virtualserver_clientsonline=9 virtualserver_channelsonline=48 virtualserver_created=1406710092 virtualserver_uptime=1287970 virtualserver_codec_encryption_mode=0 virtualserver_hostmessage virtualserver_hostmessage_mode=1 virtualserver_filebase=files\/virtualserver_683 virtualserver_default_server_group=8563 virtualserver_default_channel_group=3512 virtualserver_flag_password=0 virtualserver_default_channel_admin_group=3509 virtualserver_max_download_total_bandwidth=500000 virtualserver_max_upload_total_bandwidth=500000 virtualserver_hostbanner_url=https:\/\/youtu.be\/XANDlFVKHY4 virtualserver_hostbanner_gfx_url=http:\/\/q.rs.net.ua\/videos\/pyramida-experiment.png virtualserver_hostbanner_gfx_interval=0 virtualserver_complain_autoban_count=5 virtualserver_complain_autoban_time=1200 virtualserver_complain_remove_time=3600 virtualserver_min_clients_in_channel_before_forced_silence=500 virtualserver_priority_speaker_dimm_modificator=-18.0000 virtualserver_id=683 virtualserver_antiflood_points_tick_reduce=10 virtualserver_antiflood_points_needed_command_block=150 virtualserver_antiflood_points_needed_ip_block=250 virtualserver_client_connections=7881 virtualserver_query_client_connections=17663 virtualserver_hostbutton_tooltip=Первоисточник virtualserver_hostbutton_url=http:\/\/schambala.com.ua\/ virtualserver_hostbutton_gfx_url=http:\/\/q.rs.net.ua\/allatra_little_banner.png virtualserver_queryclientsonline=2 virtualserver_download_quota=18446744073709551615 virtualserver_upload_quota=18446744073709551615 virtualserver_month_bytes_downloaded=3483432 virtualserver_month_bytes_uploaded=9184 virtualserver_total_bytes_downloaded=10535453 virtualserver_total_bytes_uploaded=27135 virtualserver_port=10194 virtualserver_autostart=1 virtualserver_machine_id virtualserver_needed_identity_security_level=8 virtualserver_log_client=1 virtualserver_log_query=1 virtualserver_log_channel=1 virtualserver_log_permissions=1 virtualserver_log_server=1 virtualserver_log_filetransfer=1 virtualserver_min_client_version=1445512488 virtualserver_name_phonetic virtualserver_icon_id=692504527 virtualserver_reserved_slots=3 virtualserver_total_packetloss_speech=0.0044 virtualserver_total_packetloss_keepalive=0.0017 virtualserver_total_packetloss_control=0.0047 virtualserver_total_packetloss_total=0.0017 virtualserver_total_ping=56.4286 virtualserver_ip=185.175.44.1 virtualserver_weblist_enabled=0 virtualserver_ask_for_privilegekey=0 virtualserver_hostbanner_mode=0 virtualserver_channel_temp_delete_delay_default=0 virtualserver_min_android_version=1407159763 virtualserver_min_ios_version=1407159763 virtualserver_status=online connection_filetransfer_bandwidth_sent=0 connection_filetransfer_bandwidth_received=0 connection_filetransfer_bytes_sent_total=2887890 connection_filetransfer_bytes_received_total=9184 connection_packets_sent_speech=943230825 connection_bytes_sent_speech=112635309975 connection_packets_received_speech=13993300 connection_bytes_received_speech=1593899236 connection_packets_sent_keepalive=60096552 connection_bytes_sent_keepalive=2463958632 connection_packets_received_keepalive=59843852 connection_bytes_received_keepalive=2513171920 connection_packets_sent_control=9387963 connection_bytes_sent_control=1598363422 connection_packets_received_control=9181459 connection_bytes_received_control=536020751 connection_packets_sent_total=1012715340 connection_bytes_sent_total=116697632029 connection_packets_received_total=83018611 connection_bytes_received_total=4643091907 connection_bandwidth_sent_last_second_total=2612 connection_bandwidth_sent_last_minute_total=666 connection_bandwidth_received_last_second_total=2626 connection_bandwidth_received_last_minute_total=653
error id=0 msg=ok

Greetings,
Ivan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants