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

Completed TS Server Hosting Script | Failed to read!

Status
Not open for further replies.

TAVY576

New member
Hello everyone,

I'm trying to create a Free TeaSpeak Server Hosting Website using this script =>> https://github.com/panteLx/tsfree.de

I changed the config and everything but when I try to go on the website (and the bot tries to join), it gives me this error on the website: HTTP ERROR 500, and this error on in the server console:

[2018-11-07 22:14:29] [DEBUG] GEN | Loaded client from database. Database id: 2 Unique id: UnknownQuery
[2018-11-07 22:14:29] [INFO] QUERY | Got new client from 127.0.0.1:45636
[2018-11-07 22:14:30] [DEBUG] QUERY | Got new query client from 127.0.0.1. Whitelisted: true
[2018-11-07 22:14:30] [ERROR] QUERY | [127.0.0.1:45636/ServerQuery#127.0.0.1/45636 | 0] Failed to read! Code: 0 errno: 0 message: Success

:'(

The connection to the MYSQL database is fine. I don't think that's the problem.

I also have a banner script and that woks fine :)

I use TeaSpeak 1.2.27-beta. (Server) :D

Please help! :)
 

TAVY576

New member
By changing the MOTD the website now works... But when you create a server, the server gets created with the settings that you enter but it doesn't give you the token after... It prints the details in the console and everything but the script can't get those details. It just goes back to the same error.

[2018-11-07 22:44:20] [ERROR] QUERY | [127.0.0.1:45900/serveradmin | 0] Failed to read! Code: 0 errno: 0 message: Success
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Well had you ever tried to debug the script?
May it requires another new line ending or expect a new response.
In general the token, the server port, and etc. would be send.

The error you've posted isn't that "critical" for that issue.
It just describes that the remote endpoint hanged up the connection (Read with length 0 means EOF (End of file)).
 
Status
Not open for further replies.