-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts.send_keepalive issues #77
Comments
The traceback:
|
I'm a bit late here, but does this error still occur? The TS3 changelog mentions a change in the anti-flood error protection. I don't think that it's a problem with the "idle" time, since you also tried to query data. |
Yes it still happens...
I will try to get familiar with your new API, maybe the problem doesnt exist there. |
After porting to V2 I found that the bot does not randomly time out anymore, but instead I am getting this error: Dont worry about the ts32, I just renamed the module so I could have the APIv1 and APIv2 running at the same time. The error occured after about 15 minues of running, with an event timeout of 300 seconds.
|
|
I run the very simple hello_bot example for multiple hours without problems on a fresh ts3 server (and the latest changes proposed by you and Helyux in #84). I can't reproduce it. Can you provide a small script, that reproduces the bug on default ts3 server settings? |
I will try. |
I have tried it on TS version 3.7.0 on Windows Server 2019 and it is still running without issues. Maybe it is due to the upgrade to server version 3.7.0, but I dont know. I will check the original server again, if it doesnt work, it might be something with the server. (Assuming its just on my server, any idea how the bot could timeout like that? All required ports are open and properly forwarded.) |
My server is also running 3.7.0 but on Linux. I had the same issue. |
The keepalive method is fixed (See last update) but I can try the 30 sec timeout, thanks. (Mine also runs on debian) |
Huh, you're right. |
Hey,
I am having trouble with the keepalive method.
Somehow my connection terminates after a short time.
I am using an event timeout of 240 seconds and I am sending a keepalive ( ts.send_keepalive() ) when the TS3TimeoutError gets caught.
Any ideas why this may be happening?
EDIT:
I have also tried not sending a keepalive but actually querying data, but it still closes the connection.
Could it be anything with the server? Or can you see any reason why this is happening?
The text was updated successfully, but these errors were encountered: