{"action":"created","issue":{"url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56","labels_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56/comments","events_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56/events","html_url":"https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56","id":101859986,"number":56,"title":"Command whoami was not answered in time.","user":{"login":"Red0head","id":13857929,"avatar_url":"https://avatars.githubusercontent.com/u/13857929?v=3","gravatar_id":"","url":"https://api.github.com/users/Red0head","html_url":"https://github.com/Red0head","followers_url":"https://api.github.com/users/Red0head/followers","following_url":"https://api.github.com/users/Red0head/following{/other_user}","gists_url":"https://api.github.com/users/Red0head/gists{/gist_id}","starred_url":"https://api.github.com/users/Red0head/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Red0head/subscriptions","organizations_url":"https://api.github.com/users/Red0head/orgs","repos_url":"https://api.github.com/users/Red0head/repos","events_url":"https://api.github.com/users/Red0head/events{/privacy}","received_events_url":"https://api.github.com/users/Red0head/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-08-19T10:41:59Z","updated_at":"2015-09-02T11:26:41Z","closed_at":null,"body":"I wrote a bot for my TS3 server with the aid of this API (using the latest version). Unfortunately, the bot stopped working after a few hours.\r\nEclipse stated the following errors:\r\n\r\nQuellcode:\r\n[2015-08-19 05:23:16.226] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:24:13.427] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:24:54.731] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:25:24.537] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:25:45.457] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:27:05.736] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:27:40.187] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:28:25.802] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:29:04.861] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:29:48.444] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:30:24.972] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:30:56.959] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:31:34.193] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:32:08.505] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:33:17.209] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:34:14.566] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:35:09.354] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:35:50.669] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:37:16.662] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:38:00.100] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:38:48.177] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:39:15.655] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:39:24.745] [SEVERE] Command clientinfo was not answered in time.\r\n[2015-08-19 05:40:22.120] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:41:28.145] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:42:02.504] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:43:10.602] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:43:44.876] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:44:41.985] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:45:09.403] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:45:48.287] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:46:50.047] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:47:24.156] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:48:14.432] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:48:39.393] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:49:06.975] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:50:10.652] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:51:17.092] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:51:58.404] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:52:39.522] [SEVERE] Command clientinfo was not answered in time.\r\n[2015-08-19 05:52:39.522] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 05:53:52.325] [SEVERE] Command whoami was not answered in time.\r\n[2015-08-19 06:06:41.579] [SEVERE] Command clientinfo was not answered in time.\r\n[2015-08-19 06:10:11.419] [SEVERE] Command clientinfo was not answered in time.\r\n\r\nThe log file of the API showed the following errors (they didn't cause the bot to stop working though):\r\n\r\n[2015-08-19 04:53:31.616] [SEVERE] TS3 command error: {id=1281, msg=database empty result set}\r\n[2015-08-19 04:53:57.270] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 04:57:29.073] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 04:57:56.457] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:01:01.964] [SEVERE] TS3 command error: {id=1281, msg=database empty result set}\r\n[2015-08-19 05:01:55.578] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:05:55.014] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:08:28.235] [SEVERE] TS3 command error: {id=1281, msg=database empty result set}\r\n[2015-08-19 05:09:54.569] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:12:02.538] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:13:54.869] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:15:54.650] [SEVERE] TS3 command error: {id=1281, msg=database empty result set}\r\n[2015-08-19 05:17:55.180] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:21:05.503] [SEVERE] TS3 command error: {id=1281, msg=database empty result set}\r\n[2015-08-19 05:21:12.590] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:21:25.642] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n[2015-08-19 05:21:53.852] [SEVERE] TS3 command error: {id=512, msg=invalid clientID}\r\n\r\nI greatly appreciate your help."},"comment":{"url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/comments/137037321","html_url":"https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56#issuecomment-137037321","issue_url":"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/issues/56","id":137037321,"user":{"login":"Firedroide","id":1472572,"avatar_url":"https://avatars.githubusercontent.com/u/1472572?v=3","gravatar_id":"","url":"https://api.github.com/users/Firedroide","html_url":"https://github.com/Firedroide","followers_url":"https://api.github.com/users/Firedroide/followers","following_url":"https://api.github.com/users/Firedroide/following{/other_user}","gists_url":"https://api.github.com/users/Firedroide/gists{/gist_id}","starred_url":"https://api.github.com/users/Firedroide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Firedroide/subscriptions","organizations_url":"https://api.github.com/users/Firedroide/orgs","repos_url":"https://api.github.com/users/Firedroide/repos","events_url":"https://api.github.com/users/Firedroide/events{/privacy}","received_events_url":"https://api.github.com/users/Firedroide/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T11:26:41Z","updated_at":"2015-09-02T11:26:41Z","body":"Something else I noticed is that the timestamps in your log are weird. Usually, the \"whoami\" commands should be exactly one minute apart.\r\n\r\n```\r\n[2015-09-02 13:14:42.349] > login serveradmin password\r\n[2015-09-02 13:14:42.355] [login] < error id=0 msg=ok\r\n[2015-09-02 13:15:42.610] > whoami\r\n[2015-09-02 13:15:42.616] [whoami] < virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin client_origin_server_id=0\r\n[2015-09-02 13:15:42.618] [whoami] < error id=0 msg=ok\r\n[2015-09-02 13:16:42.898] > whoami\r\n[2015-09-02 13:16:42.904] [whoami] < virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin client_origin_server_id=0\r\n[2015-09-02 13:16:42.906] [whoami] < error id=0 msg=ok\r\n[2015-09-02 13:17:43.169] > whoami\r\n[2015-09-02 13:17:43.175] [whoami] < virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin client_origin_server_id=0\r\n[2015-09-02 13:17:43.177] [whoami] < error id=0 msg=ok\r\n[2015-09-02 13:17:57.532] > clientlist -uid -away -voice -times -groups -info -icon -country\r\n[2015-09-02 13:17:57.532] [clientlist] < error id=1024 msg=invalid\\sserverID\r\n[2015-09-02 13:17:57.533] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024}\r\n[2015-09-02 13:18:57.789] > whoami\r\n[2015-09-02 13:18:57.795] [whoami] < virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin client_origin_server_id=0\r\n[2015-09-02 13:18:57.795] [whoami] < error id=0 msg=ok\r\n[2015-09-02 13:19:58.058] > whoami\r\n[2015-09-02 13:19:58.065] [whoami] < virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin client_origin_server_id=0\r\n[2015-09-02 13:19:58.065] [whoami] < error id=0 msg=ok\r\n```\r\n\r\nIn the code you sent us, there are segments where there's way more than 1 minute between the commands and other ones where there's less than 40 seconds in between.\r\n\r\nSo I wonder, are you running this API on a single-core machine or are you using this API in an \"unconventional\" way?"}}