TS3Server looses connection to mariadb and crashes

Hi,

I am looking for a bug.

Here is what happens:

  • at random times the connection between TS3 and MariaDB is getting lost.
  • the TS3 crashes.
  • Docker restarts everything and in 15min - 72hrs this process repeats.

System Confiuration:

Docker:

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

MariaDB:

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-Node:

2022-08-25 07:28:35.600470|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.7 (2022-06-20 12:21:53)
2022-08-25 07:28:35.600957|INFO    |ServerLibPriv |   |SystemInformation: Linux 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 Binary: 64bit
2022-08-25 07:28:35.601064|INFO    |ServerLibPriv |   |Using hardware aes
2022-08-25 07:28:35.601617|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH
2022-08-25 07:28:35.601740|INFO    |DatabaseQuery |   |dbPlugin version: 2
2022-08-25 07:28:36.076478|INFO    |Accounting    |   |Licensing Information
2022-08-25 07:28:36.076641|INFO    |Accounting    |   |licensed to       : XXXX
2022-08-25 07:28:36.076669|INFO    |Accounting    |   |type              : Activation License
2022-08-25 07:28:36.076694|INFO    |Accounting    |   |starting date     : 2022
2022-08-25 07:28:36.076715|INFO    |Accounting    |   |ending date       : 2023
2022-08-25 07:28:36.076732|INFO    |Accounting    |   |max virtualservers: 2
2022-08-25 07:28:36.076816|INFO    |Accounting    |   |max slots         : 128
2022-08-25 07:28:36.967165|INFO    |FileManager   |   |listening on 0.0.0.0:30033, [::]:30033
2022-08-25 07:28:39.473670|INFO    |Query         |   |Using a query thread pool size of 2
2022-08-25 07:28:39.645856|INFO    |Query         |   |listening for query on 0.0.0.0:10011, [::]:10011
2022-08-25 07:28:39.646132|INFO    |CIDRManager   |   |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128, 172.26.0.1/32,
2022-08-25 08:44:54.647757|INFO    |CIDRManager   |   |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128, 172.0.0.0/8,
2022-08-26 07:13:11.101697|INFO    |              |   |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
2022-08-26 17:23:18.685667|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.7 (2022-06-20 12:21:53)

TS3-vServer:

2022-08-26 17:21:05.517738|INFO    |VirtualServerBase|2  |query client disconnected 'WebInterface'reason 'reasonmsg=disconnecting'
2022-08-26 17:21:25.841658|INFO    |VirtualServerBase|2  |client disconnected 'Cheveau
2022-08-26 17:23:20.099524|INFO    |VirtualServerBase|2  |listening on 0.0.0.0:9987, [::]:9987
2022-08-26 17:23:38.268652|INFO    |VirtualServerBase|2  |client connected 'Tornado
2022-08-26 17:23:39.260816|INFO    |VirtualServerBase|2  |client connected 'Fred
2022-08-26 17:23:47.270293|INFO    |VirtualServerBase|2  |client connected 'isnewahr
2022-08-26 17:23:47.524166|INFO    |VirtualServerBase|2  |client connected 'Steenk0
2022-08-26 17:23:47.611376|INFO    |VirtualServerBase|2  |client connected 'Tomcat
2022-08-26 17:23:47.624346|INFO    |VirtualServerBase|2  |client connected 'Hauser
2022-08-26 17:23:48.111207|INFO    |VirtualServerBase|2  |client connected 'Hertha
2022-08-26 17:23:48.841367|INFO    |VirtualServerBase|2  |client connected 'Saro
2022-08-26 17:23:49.064208|INFO    |VirtualServerBase|2  |client connected 'talies 
2022-08-26 17:23:49.090995|INFO    |VirtualServerBase|2  |client connected 'Dunkler
2022-08-26 17:23:49.132708|INFO    |VirtualServerBase|2  |client connected 'Hiphop1
2022-08-26 17:23:49.186488|INFO    |VirtualServerBase|2  |client connected 'Pallas
2022-08-26 17:23:49.226058|INFO    |VirtualServerBase|2  |client connected 'setb-
2022-08-26 17:23:49.239735|INFO    |VirtualServerBase|2  |client connected 'Lehr__1 
2022-08-26 17:23:49.316664|INFO    |VirtualServerBase|2  |client connected 'Omnigore 
2022-08-26 17:23:49.380543|INFO    |VirtualServerBase|2  |client connected 'TrUeMaN
2022-08-26 17:23:49.426949|INFO    |VirtualServerBase|2  |client connected 'Metall
2022-08-26 17:23:49.516658|INFO    |VirtualServerBase|2  |client connected 'rosenrot83
2022-08-26 17:23:49.529633|INFO    |VirtualServerBase|2  |client connected 'Rancher26
2022-08-26 17:23:49.577718|INFO    |VirtualServerBase|2  |client connected 'BeW_Mega
2022-08-26 17:23:49.616215|INFO    |VirtualServerBase|2  |client connected 'Nowo66 
2022-08-26 17:23:49.655102|INFO    |VirtualServerBase|2  |client connected 'Femick 
2022-08-26 17:23:49.758390|INFO    |VirtualServerBase|2  |client connected 'Gilbaertus
2022-08-26 17:23:50.206108|INFO    |VirtualServerBase|2  |client connected 'celticsteel
2022-08-26 17:23:50.226006|INFO    |VirtualServerBase|2  |client connected 'CaptainTakuya
2022-08-26 17:23:50.402480|INFO    |VirtualServerBase|2  |client connected 'Nepu
2022-08-26 17:23:50.645346|INFO    |VirtualServerBase|2  |client connected 'Rhazzazor 
2022-08-26 17:23:50.795483|INFO    |VirtualServerBase|2  |client connected 'Major_Gummiente
2022-08-26 17:23:51.285472|INFO    |VirtualServerBase|2  |client connected 'manuel_zander
2022-08-26 17:23:52.757995|INFO    |VirtualServerBase|2  |client connected 'andreas_tiger

For further questions always out with it.
Is this a known Bug?

Greetings Fabian

twitch instagram twitter facebook