Ts3 Server error

Cparty

New Member
Nov 30, 2016
12
1
15
xception 'TeamSpeak3_Transport_Exception' with message 'Connection timed out' in /home/x/public_html/conf/libs/TeamSpeak3/Transport/TCP.php:54 Stack trace: #0 /home/x/public_html/conf/libs/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect() #1 /home/x/public_html/conf/libs/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine() #2 /home/x/public_html/conf/libs/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #3 /home/x/public_html/conf/libs/TeamSpeak3/TeamSpeak3.php(322): TeamSpeak3_Adapter_Abstract->__construct(Array) #4 /home/x/public_html/panel.php(180): TeamSpeak3::factory('serverquery://s...') #5 {main}

Help me?
 

Najsr

Moderator
TeamSpeak Developer
Apr 23, 2016
483
249
167
Hello, make sure you have a stable connection. And also make sure you are using the latest version of the library.
 

Kleberstoff

Knowledge Seeker
VIP
Dec 29, 2015
308
214
158
As Nicer said, ensure a Stable Connection. Connection timed out says that your Script/Bot timed out for some Reason.

I'm almost certain that the Script/Bot you use it, fine but the Sender/Receiver isn't.
 

XARON

get over here!
Restricted
Nov 24, 2016
162
161
118
There can be many reasons. I would not say anything without seeing it.
 

Cparty

New Member
Nov 30, 2016
12
1
15
There can be many reasons. I would not say anything without seeing it.
try{
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://".$ts3_user.":".$ts3_pass."@".$ts3_ip.":".$ts3_queryport."/?server_port=".$sunucuport."");
$ts3_VirtualServer->execute("clientupdate", array("client_nickname" => $ts3_queryname));
}
catch(TeamSpeak3_Exception $e)
{
echo $e;
}
 

XARON

get over here!
Restricted
Nov 24, 2016
162
161
118
try{
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://".$ts3_user.":".$ts3_pass."@".$ts3_ip.":".$ts3_queryport."/?server_port=".$sunucuport."");
$ts3_VirtualServer->execute("clientupdate", array("client_nickname" => $ts3_queryname));
}
catch(TeamSpeak3_Exception $e)
{
echo $e;
}
use
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://{$ts3_user}:{$ts3_pass}@{$ts3_ip}:{$ts3_queryport}/?server_port={$sunucuport}");
 
Top