HowTo: convert audio to TAF fast and easy (macOS/Linux)

no, teddycloud on its own raspi with static ip (nothing else running on it)

quite sure, no connection from within the docker container to outside

Could be the case. Maybe you can change this somewhere in the settings of Docker Desktop? I’m using the official “Docker for Mac” (which is the equivalent) and it works there. I haven’t changed any settings.

its a fresh installation…

curl 192.168.178.40

curl: (7) Failed to connect to 192.168.178.40 port 80 after 3117 ms: Couldn’t connect to server

but this confirms that it cant connect to the outside

I just wanted to propose that you try to connect inside my container and do a curl upload manually to your teddycloud:

docker run -it ghcr.io/marco79cgn/audio2tonie bash

docker run -it Package audio2tonie ¡ GitHub bash
root@17f91da93bdc:/app# curl -F “file=@opus2tonie.py” “http://192.168.178.40/api/fileUpload?path=&special=library”
curl: (7) Failed to connect to 192.168.178.40 port 80 after 3112 ms: Couldn’t connect to server
root@17f91da93bdc:/app#

it looks like you have to add --net=host right after

docker run --net=host -it Package audio2tonie ¡ GitHub bash
root@docker-desktop:/app# curl -F “file=@opus2tonie.py” “http://192.168.178.40/api/fileUpload?path=&special=library”
OK
root@17f91da93bdc:/app#

but even it worked here, in context with the encoding it does not work
but if i use docker desktop to jump on the running docker, i can curl the file to teddycloud:

root@docker-desktop:/data# curl -F “file=@22- Pumuckl und das Spielzeugauto (Das Original aus dem Fernsehen).taf” “http://192.168.178.40/api/fileUpload?path=&special=library”
OK
root@docker-desktop:/data#