• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

SinusBot nach Stunden - connection lost

Thoron

Member
Hi zusammen,

nach dem Teamspeak Server und Sinusbot nun schon eine Weile sehr zuverlässig liefen, habe ich derzeit das Problem, dass sich der Sinusbot irgendwann Nachts mit "connection lost" vom Teamspeak-Server verabschiedet und sich selbst auch nicht wieder automatisch verbindet.

Über das Webinterface konnte ich den Bot einfach wieder verbinden und er blieb auch verbunden, bis er Nachts wieder runterflog.
TS Server und Sinusbot waren vorher 100 Tage up, ohne Probleme.
Ich habe bisher die Ursache noch nicht gefunden. Updates welche ebenfalls Nachts laufen, gab es die letzten Tage keine. (cron-apt)
Im TS und Sinus log habe ich nur connection lost gefunden, aber nichts aussage kräftiges.
In meiner Verzweiflung habe ich das Script "Reconnect 2.3 by TS3index.com <[email protected]>" installiert, leider reconnected der Bot auch damit nicht.

Ich habe auch schon die Docker-Container und Images gelöscht und neu deployed. Keine Änderung.

Für Hinweise und Tipps wo ich noch nachschauen oder etwas ändern kann wäre ich sehr dankbar!

Und als ich diesen Post zusammenstelle, fliegt der Bot schon wieder.
- 17:55:13 Uhr letzter Eintrag, dann lange nichts
- 20:09:04 INFO TSClient quit.


Code:
2023/12/15 07:31:04 081de246 c0395db8 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connection established

2023/12/15 07:31:04 081de246 4fd95682 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connection established

2023/12/15 07:31:04 081de246 4fd95682 INFO   New connection status 4; Error 0

2023/12/15 07:31:04 081de246 c0395db8 INFO   New connection status 4; Error 0

2023/12/15 07:31:04 081de246 4fd95682 INFO   Could not create channel: channel name is already in use

2023/12/15 07:31:04 081de246 4fd95682 PLUGIN [                :371:28] Channel Create: name: Gaming 1, parent: 148, codec: 4, codecQuality: 7, description: , maxClients: -1, neededJoinPower: 0, neededTalkPower: 0

2023/12/15 07:31:04 081de246 c0395db8 INFO   Could not update Channel permissions: invalid permission ID

2023/12/15 14:28:21 081de246 4fd95682 PLUGIN [                :371:28] Channel Create: name: Gaming 2, parent: 148, codec: 4, codecQuality: 7, description: , maxClients: -1, neededJoinPower: 0, neededTalkPower: 0

2023/12/15 17:37:50 081de246 c0395db8 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:37:50 081de246 c0395db8 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:37:50 081de246 c0395db8 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:37:59 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:38:00 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:38:00 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:55:12 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:55:13 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 17:55:13 081de246 4fd95682 WARN   Could not send chat command: HTTP returned an error: Error; Code: 500; Message: Error

2023/12/15 20:09:04 081de246 c0395db8 INFO   TSClient quit.

2023/12/15 20:09:04 081de246 4fd95682 INFO   TSClient quit.



Versionen:
- TeamSpeak 3 Server 3.13.7 (2022-06-20 12:21:53)
- SinusBot v1.0.2 on linux
- TeamSpeak Client 3.5.6 (2020-11-25 13:53:42) - laut Sinusbot Log
- Meine TS Version Client 3.6.2

Betriebssystem:
- Docker Version 20.10.21
- Linux Ubuntu 18.04.6 LTS


Docker-Compose

YAML:
# docker-compose.yml  For Teamspeak 3 & Sinusbot
version: '2'
services:
  teamspeak:
    image: teamspeak
    restart: always
    ports:
      - 9987:9987/udp
      - 9988:9988/udp
      - 9989:9989/udp
      - 10011:10011
      - 30033:30033
    volumes:
      - /home/teamspeak3/docker_tsdata:/var/ts3server
      - /home/teamspeak3/docker_tsdata:/var/ts3server/lic
    environment:
      TS3SERVER_LICENSE: accept
    networks:
      mynetwork:
        aliases:
          - teamspeak.docker.local

  sinusbot:
    image: sinusbot/docker
    restart: always
    ports:
      - 8087:8087
    volumes:
      - /home/teamspeak3/docker_sinusbot/scripts:/opt/sinusbot/scripts
      - /home/teamspeak3/docker_sinusbot/data:/opt/sinusbot/data
    environment:
      UID: 1001
      GID: 1001
    networks:
     - mynetwork
networks:
    mynetwork:
        driver: bridge


Code:
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 500
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 8388608000
RunAsUser = 1001
RunAsGroup = 1001
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = <removed>
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 6
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 3145728

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  Debug = false
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  DevMode = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (1.0.0-beta.10-202ee4d)"
  WaitTime = 0

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0
 
[RadioStations]
  URL = ""
  UpdateInterval = 0

[TTS]
  Enabled = true

  [[TTS.Modules]]
    Locale = "en-US"
    Filename = "voice_lstm_en-US.zvoice"
    PipelineFile = "voice_lstm_en-US/sfg/pipeline"
    Prefix = "voice_lstm_en-US/sfg/"
    Instances = 2

  [[TTS.Modules]]
    Locale = "de-DE"
    Filename = "voice_lstm_de-DE.zvoice"
    PipelineFile = "voice_lstm_de-DE/nfh/pipeline"
    Prefix = "voice_lstm_de-DE/nfh/"
    Instances = 2
 
Top