I also have the problem of peers not showing up.
I have installed the latest snapdrop docker container on a raspberry pi4 using the Docker CLI command (no docker compose) as displayed on the website Docker Hub
When connecting with chromium to the local server the snapdrop website shows up with the message “reconnecting in 5 seconds”. No peers show up.
In chromium debug mode (F12) the console says:
network.js:16 WebSocket connection to ‘ws://localhost/server/webrtc’ failed:
Docker logs (docker logs snapdrop) gives the following error message:
Fatal error in , line 0
The nginx log (in CONFIGDIR/log/nginx/error.log) says:
2106/02/05 19:01:12 [error] 378#378: *148 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: “GET /server/webrtc HTTP/1.1”, upstream: “http://127.0.0.1:3000/server/webrtc”, host: “localhost”
After logging into the running snapdrop container, i cannot find the file WEBROOT/server/webrtc, and netstat doesn’t show any server listening on Port 3000 either (but instead on port 9000)
Here is what ‘netstat -tulpn’ from within the running container says:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 352/php-fpm.conf)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 349/nginx.conf
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 349/nginx.conf
How can I make snapdrop work ?
Thank you for your hard work!!!
kind regards - andi