Author Topic: JTS3 kann Clientlist nicht Lesen / TS3 Krasch  (Read 2766 times)

LFS96

  • Newbie
  • *
  • Posts: 4
    • View Profile
JTS3 kann Clientlist nicht Lesen / TS3 Krasch
« on: August 26, 2022, 08:49:06 PM »
Hi,

ich suche einen Fehler, ich weiß nicht, aus welchem System dieser kommt.
Glücklicherweise sehen es die Nutzer nicht bzw. hören nur zwei Sekunden nichts.
Ich glaube eigentlich nicht, dass der JTS3 Bot damit in Zusammenhang steht.

Folgendes passiert:
- an zufälligen Zeitpunkten geht die Verbindung zwischen TS3 und MariaDB verloren.
- der TS3 stürzt ab.
- Docker startet alles neu und in (15min - 72Std) gehts wieder los.

Die Systemkonfiuration:

Code: [Select]
version: '3.1'
services:
  teamspeak:
    image: teamspeak:latest
    container_name: teamspeak
    restart: always
    volumes:
      - "./data/teamspeak:/var/ts3server/"
      - "./licensekey.dat:/var/ts3server/licensekey.dat"
    ports:
      - 9987:9987/udp
      - 10011:10011
      - 30033:30033
    environment:
      TS3SERVER_DB_PLUGIN: ts3db_mariadb
      TS3SERVER_DB_SQLCREATEPATH: create_mariadb
      TS3SERVER_DB_HOST: db
      TS3SERVER_DB_USER: root
      TS3SERVER_DB_PASSWORD: XXXXXXXXXXXXXXXXXX
      TS3SERVER_DB_NAME: teamspeak
      TS3SERVER_DB_WAITUNTILREADY: 30
      TS3SERVER_LICENSE: accept
      TS3SERVER_DB_CONNECTIONS: 20
    depends_on:
      - db
  db:
    image: mariadb
    container_name: teamspeak-db
    restart: always
    volumes:
      - "./data/teamspeak-db:/var/lib/mysql"
    environment:
      MYSQL_ROOT_PASSWORD: XXXXXXXXXXXXXXX
      MYSQL_DATABASE: teamspeak

Ich versuche Mal die Logs sinnvoll darzustellen:

JTS3:
Code: [Select]
2022-08-26 15:16:48     Function CleanDefaultChannel    INFO    Client "Max Mustermann" (db id: 123) was idle, client was moved and got a message!
2022-08-26 17:23:15     JTS3ServerMod   CRITICAL        Error while getting client list!
2022-08-26 17:23:15     JTS3ServerMod   EXCEPTION       Bot Version: 6.5.7 (31.01.2020)
java.lang.IllegalStateException: null object, maybe connection to TS3 server interrupted.
        at de.stefan1200.jts3serverquery.JTS3ServerQuery.readIncoming(Unknown Source)
        at de.stefan1200.jts3serverquery.JTS3ServerQuery.doInternalCommand(Unknown Source)
        at de.stefan1200.jts3serverquery.JTS3ServerQuery.getList(Unknown Source)
        at de.stefan1200.jts3serverquery.JTS3ServerQuery.getList(Unknown Source)
        at de.stefan1200.jts3servermod.JTS3ServerMod.d(Unknown Source)
        at de.stefan1200.jts3servermod.l.run(Unknown Source)
        at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
        at java.base/java.util.TimerThread.run(Timer.java:506)
2022-08-26 17:23:15     JTS3ServerMod   INFO    Unloaded all functions!
2022-08-26 17:23:15     JTS3ServerMod   INFO    Reconnecting in 65 seconds...
2022-08-26 17:24:20     JTS3ServerMod   STATUS  Virtual bot instance "bot1" starts now (build 6508)

MariaDB:
Code: [Select]
2022-08-25  7:28:35 0 [Note] InnoDB: Buffer pool(s) load completed at 220825  7:28:35
2022-08-26 17:23:15 23 [Warning] Aborted connection 23 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 22 [Warning] Aborted connection 22 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 20 [Warning] Aborted connection 20 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 19 [Warning] Aborted connection 19 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 21 [Warning] Aborted connection 21 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 17 [Warning] Aborted connection 17 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 16 [Warning] Aborted connection 16 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 15 [Warning] Aborted connection 15 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 14 [Warning] Aborted connection 14 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 18 [Warning] Aborted connection 18 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 13 [Warning] Aborted connection 13 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 12 [Warning] Aborted connection 12 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 11 [Warning] Aborted connection 11 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 10 [Warning] Aborted connection 10 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 8 [Warning] Aborted connection 8 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 9 [Warning] Aborted connection 9 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 7 [Warning] Aborted connection 7 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 4 [Warning] Aborted connection 4 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 5 [Warning] Aborted connection 5 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)
2022-08-26 17:23:15 6 [Warning] Aborted connection 6 to db: 'teamspeak' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)

TS3:
Zeigt nur dass alle Joinen, es gibt kein

Bei Weitern Fragen immer raus damit.
Ich bin kurz davor, wieder  SQLite zu nutzen.

Grüße Fabian






Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: JTS3 kann Clientlist nicht Lesen / TS3 Krasch
« Reply #1 on: August 26, 2022, 09:45:35 PM »
Der TS3 Server hat doch auch ein Debug Log. Da müsste doch irgendwas drin stehen. Ansonsten ist vermutlich das offizielle TS3 Forum der passendere Ort.

LFS96

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: JTS3 kann Clientlist nicht Lesen / TS3 Krasch
« Reply #2 on: August 26, 2022, 10:09:04 PM »
Hi, danke für die Information, wo findet man den Debug-Log oder wie schalte ich ihn ein?
« Last Edit: August 26, 2022, 10:12:02 PM by LFS96 »

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: JTS3 kann Clientlist nicht Lesen / TS3 Krasch
« Reply #3 on: August 26, 2022, 10:13:42 PM »
Das ist schon ca. 8 Jahre her, dass ich mich zuletzt intensiv mit dem TS3 Server beschäftigt habe. Inzwischen vergessen, falls es überhaupt noch genauso geht, wie damals. ;-)

Markus

  • JTS3ServerMod Internal
  • *****
  • Posts: 5
    • View Profile
Re: JTS3 kann Clientlist nicht Lesen / TS3 Krasch
« Reply #4 on: September 09, 2022, 09:20:08 AM »
Hallo Fabian,

also die Los liegen bei mir (Linux ohne Docker) unter

teamspeak3-server_linux_amd64/logs/

Wenn ich mir das so kurz ansehe scheint eher deine Verbindung von deinen Containern zwischen TS3 und MariaDB unterbrochen zu werden.

Allerdings ist das eher eine Vermutung, bin kein Spezialist was Docker angeht.