TeamSpeak-Systems / ts-services

TeamSpeak 5 service collection for docker compose deployments
73 stars 5 forks source link

ts3-file-importer: "Is the server running?" #24

Closed dlueder closed 1 year ago

dlueder commented 1 year ago

Describe the bug

When using the provided collect.py script the error "Failed to connect to TeamSpeak 3 webquery. Is the server running?" comes up. I used sudo python3 collect.py --path=/var/lib/docker/volumes/teamspeak/_data --apikey=XXXX --webquery=http://localhost:10080

But when I call curl -X POST http://localhost:10080/1/whoami?api-key=XXXXI get a positive response with a JSON body.

Used versions/hash

ts-services beta-58rc20 630e2e5

dlueder commented 1 year ago

--path=/var/lib/docker/volumes/teamspeak/_data needs to be --path=/var/lib/docker/volumes/teamspeak/_data/files when using docker for TS3