-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Not possible to enable / disable list behind apache proxy #2260
Comments
I've seen similar reports, this was mostly due to damaged Please post a debug token. |
Difficult without configs, but I had to add the forwarding of |
Could you help me out, what is your config now? My current apache conf-file contains: ` ` |
|
There were no immediate errors in your debug log regarding the databases. Please run the debug again with the
|
The database is fine.
|
Transfering into FTL as this seems to be an API issue |
@conturNDE seems to have solved it by changing the proxy-conf file since it is a 404 error. But I dont know what he means by forwarding in his proxy config. Maybe this helps? 3rd line contains the 404 error:
|
Hi @RobMeerwijk
|
@conturNDE Thanks, I tried what I think is the equivalent in Apache:
That did not work at all, no data loaded in dashboard or any other screen When I uncomment the last lines, behaviour is te same as before, cannot enable / disable list items. I cannot find a clue in the logs, except 404 errors, in the proxy-logs, not even with debugging webserver on. |
I'd propose you run
and then try accessing the page again. This debug setting will not only be rather verbose about what is happening in |
Funny, no 404 in the pihole webserver log, only in the proxy-log. In the FTL log I find this, but I do not understand what is going on there. I give up for now. If I need to change list settings, I will bypass the proxy. Much easier. Thanks everybody:
|
I think this may be the same issue I just reported here (v6 not honouring X-Forwarded-For header): Issue 2298 |
Versions
Platform
Expected behavior
My pihole docker container is behind an apache reverse proxy that is normally working for the most part, except enabling/disabling subscribed lists. I would expect to be able to enable / disable list items.
Actual behavior / bug
When pressing enabled / disabled item in "subscribed lists" settings are not changed. In my proxy I find the following lines (404):
"PUT /api/lists/https%3A%2F%2Fs3.amazonaws.com%2Flists.disconnect.me%2Fsimple_tracking.txt?type=block HTTP/1.1" 404 518 "https://pihole.example.com/admin/groups/lists"
I switched back to the previous version, there was no problem in that case. If I bypass the proxy in version 6.0 also no problem.
Steps to reproduce
1 Put pihole v6.0 behind a reverse proxy (apache)
2 Test enable/disable button: error
3 Go to pihole without reverse proxy
4 Test enable/disable button: normal behavior
5 Switch to v5.x behind same proxy, nothing changed in proxy!
6 Test enable/disable button: normal behavior
7 Switch back to v6.0 behind proxy
8 Test button: error
Thanks for looking into this (not so important) problem.
Rob
The text was updated successfully, but these errors were encountered: