Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx cannot connect to pipedproxy #47

Open
ormoyo opened this issue Jun 21, 2024 · 2 comments
Open

Nginx cannot connect to pipedproxy #47

ormoyo opened this issue Jun 21, 2024 · 2 comments

Comments

@ormoyo
Copy link

ormoyo commented Jun 21, 2024

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
Copy link

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

@FatVenom
Copy link

FatVenom commented Jan 15, 2025

Heys
I might have found the issue.
When adding website using configure-instance.sh
It fails to edit "config>config.properties"
There could be permission issue idk
I'm doing this on windows
You can edit this file manually as they are mounted in docker container

Replace
HTTP_Mode_Placeholder with https or http based on what you choose during configure-instance.sh

You can look at Piped-Backend Repo for comparision

https://github.com/TeamPiped/Piped-Backend/blob/master/config.properties

after editing you simply restart the backend container.
And if it doesn't work create new container..

And you might wanna clear site cache from your browser.
Because it may continue loading prevoius website that HTTP_Mode_Placeholder issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants