TS6 Manager | Web-based Server Management, Music Bots & Flow Automation

Maybe the Youtube Cookie you saved expires after 24h? I’m not sure, if it really is, since I don’t use the Music Bot. But maybe a point to look into.

As of your credentials not working, do you persist the SQLite databse anywhere?
If not, it may be deleted after restarting the docker container.

But here again, I’m not sure why your /setup isn’t working.
Have you tried to setup the manager in a clean way? Like deleting docker volumes and so on

Is it possible to listen all channels for chat commands? If I leave Channel ID to empty, it listens only the first channel. Making multiple listeners results “TS error 513: nickname is already in use”

And is it possible to setup a music bot to be summoned into the server? E.g. saying !bot , music bot joins the server and the right channel? EDIT: Yes it’s possible with “Voice join”, but it always results in bot crashing and needing to reboot the backend.

Summary

[BotEngine] TS Event received: notifytextmessage from 1:1 {“targetmode”:“2”,“msg”:“!anna”,“invokerid”:“1”,“invokername”:“Jauho”,“invokeruid”:“[USER_UID]”,“__cmd_listener_channel_id”:“4”}
[BotEngine] Executing flow 2 (‘Testi’) triggered by command
[BotEngine] TS Event received: notifycliententerview from 1:1 {“cfid”:“0”,“ctid”:“1”,“reasonid”:“0”,“clid”:“360”,“client_unique_identifier”:“[BOT_UID]”,“client_nickname”:“Boten Anna”,“client_input_muted”:“0”,“client_output_mute
[BotEngine] TS Event received: notifyclientmoved from 1:1 {“cfid”:“1”,“ctid”:“4”,“reasonid”:“0”,“clid”:“360”}
[VoiceBotManager] Bot 4: unexpected disconnect, scheduling reconnect
[VoiceBotManager] Bot 4: reconnect attempt 1/10 in 1s
[VoiceBotManager] Bot 4: reconnect attempt 1 failed: Connection timeout
[VoiceBotManager] Bot 4: reconnect attempt 2/10 in 2s
[VoiceBotManager] Bot 4: unexpected disconnect, scheduling reconnect
[BotEngine] TS Event received: notifyclientleftview from 1:1 {“cfid”:“4”,“ctid”:“0”,“reasonid”:“3”,“reasonmsg”:“connection lost”,“clid”:“360”}
[VoiceBotManager] Bot 4: reconnected successfully after 2 attempt(s)
[BotEngine] TS Event received: notifycliententerview from 1:1 {“cfid”:“0”,“ctid”:“1”,“reasonid”:“0”,“clid”:“362”,“client_unique_identifier”:”[BOT_UID]",“client_nickname”:“Boten Anna”,“client_input_muted”:“0”,"client_output_mute
[BotEngine] TS Event received: notifyclientmoved from 1:1 {“cfid”:“1”,“ctid”:“4”,“reasonid”:“0”,“clid”:“362”}
[VoiceBotManager] Bot 4 error: Unknown escape: \

is there any way you make it bit more clear how to locally add videos i tryed to mount another volume i get a error < not able to mount any new volume

i added then VIDEO_DIR=/data/video still not playin my local added videos only youtube is working fine and i get no errors in the log unless i rly provoke an error so pls help make it clear how to use it on your docker

I fixed it with a complete reinstall and building the container from Source myself. Like i described here: My Issue, with my fix

would give my right arm if i could get this to work on Unraid

1 Like

Great tools, works like a charm :smiley:
I see potential in you to even create web version of Team speak, haha :smiley:
Is there any way to add Communities servers? I’ve also got few of them besides self hosted ones :slight_smile:

Did you try it with “portainer”?

iam not to clued up with portainer would be willing to give it a shot if there was a readme to go along with

I upload local songs to the local library but chinese name can’t right display

Hi All,

First of all, this project is awesome!

Though my knowledge is limited, and since TS6 supports ARM cpu’s now, I used docker to install both the ts6 server and ts6-manager on my raspberry pi.

The ts6 server works 100%, as I’m able to make changes to it and see traffic when using voice etc. The ts6-manager seems to work propetly. However, when adding the connection under Settings, ts6-manager is unable to load the ts6 server. Upon checking the backend logs, I found the following:

[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080
[Error] TSApiError: connect ECONNREFUSED <localaddress>:10080

The raspberry firewall is not active, since it’s only locally used. Therefor I do not understand this issue.

Used the following settings in the yml file:

services:
teamspeak:
image: teamspeaksystems/teamspeak6-server:latest
container_name: teamspeak-server
restart: unless-stopped
ports:
- “9987:9987/udp”   # Voice Port
- “30033:30033/tcp” # File Transfer
- “10080:10080/tcp” # Web Query
- “10022:10022/tcp” # SSH
environment:
- TSSERVER_LICENSE_ACCEPTED=accept
- TSSERVER_QUERY_HTTP_ENABLED=true
- TSSERVER_QUERY_SSH_ENABLED=true
- TSSERVER_QUERY_SSH_PORT=10022
- TSSERVER_QUERY_PROTOCOLS=http
- TSSERVER_QUERY_HTTP_IP=<localaddress>
- TSSERVER_QUERY_HTTP_PORT=10080

volumes:
  - teamspeak-data:/var/tsserver

volumes:
teamspeak-data:
name: teamspeak-data

SSH seems to work properly. Have connected to it to get the API -key.

Any chance somebody has some experience with this, and could point me is the right directon?

The raspberry pi:

Many thanks in advance ! :flexed_biceps:

UPDATE
Tried using SSH connection, and got the following error in the backend logs:

[Error] TSApiError: Client network socket disconnected before secure TLS connection was established
[Error] TSApiError: write EPROTO 20A02A9D7F000000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:350:

Hey,

the issue is identifiable from your config. A few things to address:

Root Cause: TSSERVER_QUERY_HTTP_IP=<localaddress>

You’re binding the HTTP query interface to your Raspberry Pi’s LAN IP (e.g. 192.168.x.x). A Docker container doesn’t recognize the host’s LAN IP as one of its own network interfaces — so the TS server either doesn’t bind correctly, or the port mapping doesn’t work as expected.

Fix 1 — Bind to all interfaces

Change this line in your compose file:

- TSSERVER_QUERY_HTTP_IP=0.0.0.0

This tells the TS server to listen on all interfaces inside the container, which is required for Docker port mapping 10080:10080 to work properly.

Fix 2 — Container-to-container communication

If ts6-manager is also running as a Docker container (in the same Compose file or network), do not use the Pi’s LAN IP as the host in the ts6-manager settings. Use the service name instead:

Host: teamspeak Port: 10080

Docker has built-in DNS resolution for service names within the same network. The LAN IP only works reliably if you’re using network_mode: host.

Regarding the SSH error (wrong version number)

ssl3_get_record:wrong version number

This error occurred when you switched to the SSH connection type in ts6-manager. It suggests a protocol mismatch — ts6-manager may be attempting a TLS-wrapped connection to the SSH query port (10022), which the TS server doesn’t expect. The exact internal behavior of ts6-manager’s SSH connection handling isn’t fully clear to me, so I’d recommend getting the HTTP connection working first (after applying the fixes above) before troubleshooting the SSH path further.

b]Summary[/b]

ECONNREFUSED :10080
Set TSSERVER_QUERY_HTTP_IP=0.0.0.0

Manager can’t reach TS server
Use service name teamspeak instead of LAN IP

SSL wrong version number
Likely protocol mismatch — get HTTP working first

Hope that helps — let us know if the issue persists after these changes.

1 Like

Hi @Domeninchen ,

Thank you for reaching out and providing a very detailed explanation.

This information did helped me a lot, and was able to resolve the issue. Main issue was the IP binding part!

Thanks a million! :flexed_biceps:

1 Like

did you find a solution?
I’m stuck in there too
All is fine but can’t load any info of my VPS (IONOS) TS6 server

Hi @klurosu ,

If you are running docker on the VPS, take note on the IP binding part:

Hi all,

Thanks to @Domeninchen , I was able to setup the http side of things. Which is awesome. After reading up on the bot flow options, I see SSH is required to make use of it.

So, the http side of things work 100% in the dashboard. However, when trying to setup the HTTPS connection, the dashboard does not seem to find the server, although the credentials are correct.

When looking in the backend of things, I see the following error:

[Error] TSApiError: Client network socket disconnected before secure TLS connection was established
[Error] TSApiError: Client network socket disconnected before secure TLS connection was established
[Error] TSApiError: Client network socket disconnected before secure TLS connection was established
[Error] TSApiError: Client network socket disconnected before secure TLS connection was established

Any chance to elaborate what the issue might be, and if possible, point me in the right direction?

Many thanks in advance !

Glad it worked out! Thanks for the update.

1 Like

A couple of things to try on the TS6 server config side:

1. Add the SSH IP binding explicitly: - TSSERVER_QUERY_SSH_IP=0.0.0.0 According to the official documentation this should already default to 0.0.0.0, but it’s worth setting it explicitly anyway.

2. The PROTOCOLS line: - TSSERVER_QUERY_PROTOCOLS=http This variable does not exist in the official TS6 server documentation. Either remove it entirely, or if you want to keep it, add ssh to it: - TSSERVER_QUERY_PROTOCOLS=http,ssh

Also — how are you running ts6-manager? The prebuilt docker-compose.yml pulls images from Docker Hub which are currently 2+ months old. Or are you building from source? That’ll help narrow down the next steps.

[1]Note: English is not my native language. I use a translation tool only to improve wording and readability — the content, ideas, and technical knowledge are my own.


  1. Fußnoten ↩︎

Hi @Domeninchen ,

Thank you for reaching out again. I’ve made some changes to the docker-composer.yml file.

This is what I have now, including your recommendations:

services:
teamspeak:
image: teamspeaksystems/teamspeak6-server:latest
container_name: teamspeak-server
restart: unless-stopped
ports:
- “9987:9987/udp”   # Voice Port
- “30033:30033/tcp” # File Transfer
- “10080:10080/tcp” # Web Query
- “10022:10022/tcp” # SSH Web Query
environment:
- TSSERVER_LICENSE_ACCEPTED=accept
- TSSERVER_QUERY_HTTP_ENABLED=true
- RSSERVER_QUERY_HTTPS_ENABLED=true
- TSSERVER_QUERY_PROTOCOLS=http,ssh
- TSSERVER_QUERY_SSH_ENABLED=true
- TSSERVER_QUERY_SSH_IP=0.0.0.0
- TSSERVER_QUERY_SSH_PORT=10022
- TSSERVER_QUERY_HTTP_IP=0.0.0.0
- TSSERVER_QUERY_HTTPS_IP=0.0.0.0
- TSSERVER_QUERY_HTTP_PORT=10080
- TSSERVER_QUERY_ADMIN_PASSWORD=Roflcopter2025!

volumes:
  - teamspeak-data:/var/tsserver

volumes:
teamspeak-data:
name: teamspeak-data

Unfortunatly I still get the same error.

Can you tell me that?

Hi @Domeninchen ,

Thank you for your reply.

I’m indeed using the pull method from docker hub, and am not building it from source.

Unfortunatly I lack the knowledge to do it in a few “simple” steps.

Am willing to learn though :flexed_biceps: