Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 7 of 7
  1. #1
    Join Date
    December 2009
    Location
    Germany
    Posts
    118

    Question Why is there a queryport timeout when using servernotifyregister?

    Hello TS3-Devs,

    can you tell me why I get disconnected after a few minutes even when I've used "servernotifyregister" on the query port?

    I do understand that there is a timeout for queryport connections but "servernotifyregister" is to get callbacks and I think it doesn't make sense to disconnect "listening" clients.

    Maybe I'm doing something wrong and the sudden disconnect is my fault but I believe its TS3 server.

    Thanks,
    SCO

  2. #2
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    I'm no developer, but perhaps my answer is still helpfull.

    Honestly, I didn't test, if there is a timeout even if I register to an event, but if you say, I believe.

    I always do a little workaround for not getting a timeout.
    After a given interval I send a nonsense command, "help" or "whoami" to the server.
    And when I send a "real" command, I reset the timer.

    I know, this is not the satisfying answer you are waiting for (and as well it isn't for me), but to avoid the timeout, I think that's one possibility.

  3. #3
    Join Date
    December 2009
    Location
    Germany
    Posts
    118
    I'm already doing a Version-Command-Call to get around the timeout. Just wanted to know if this is a wanted behaviour.

    Thx,
    SCO

  4. #4
    Join Date
    June 2008
    Posts
    18,513
    Yes this is volitional. When there is no need to hold the connection, you will get timed out.

  5. #5
    Join Date
    December 2009
    Location
    Germany
    Posts
    118
    But when registering for notifications, there is a need for holding the connection. So why is TS3 cutting the connection even when I've sent a servernotifyregister?

    I would suggest:
    - cut the connection when the client has not registered for receiving notifications
    - do not cut the connection when the client has registered for receiving notifications
    Last edited by Scordo; January 4th, 2010 at 03:47 PM.

  6. #6
    Join Date
    July 2006
    Posts
    1,600
    A feature that I would suggest to be implemented IF the timout behaviour gets changed would be that a query superadmin has a command to cut query connections off a specific server or globally from the instance if the likes to.

  7. #7
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,527
    Sorry guys! This is working as intended and will not be changed...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PHP] servernotifyregister ?
    By Compix in forum General Questions
    Replies: 2
    Last Post: July 29th, 2010, 07:55 AM
  2. TS3 Queryport ändern
    By xDGeForcexD in forum Off Topic
    Replies: 1
    Last Post: March 28th, 2010, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •