TeamPiped / Piped-Docker

MIT License
39 stars 32 forks source link

Nginx cannot connect to pipedproxy #47

Open ormoyo opened 1 week ago

ormoyo commented 1 week ago

Hello,

I am trying to self host, I ran the configure-instance.sh and chose nginx, I use nginx proxy manager as the reverse proxy. I followed all of the steps in the self host docs, my instance can show video titles but doesn't show thumbnails or play videos. I looked at the docker logs for the piped containers, they all look working, except the nginx logs which showed the error:

2024/06/21 04:01:05 [crit] 22#22: *53 connect() to unix:/var/run/ytproxy/actix.sock failed (13: Permission denied) while connecting to upstream,
client: 172.29.0.6, server: pipedproxy.example.org, request: "GET /sw.js HTTP/1.1", upstream: "http://unix:/var/run/ytproxy/actix.sock:/sw.js", host: "youtube.example.org"

All of the containers run on the same user so I don't understand why there are permission problems.

I kept all of the configuration files the same and I am running this on a nixos 23.11 server.

KevinSalmon commented 1 week ago

Hello, same procedure and I have a 400 Bad Request on a generic Ubuntu 22.04 server