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

[Bug Report] OPDS not working with "auth_proxy_header_name" set up #255

Open
totof-l opened this issue Dec 3, 2021 · 6 comments
Open

[Bug Report] OPDS not working with "auth_proxy_header_name" set up #255

totof-l opened this issue Dec 3, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@totof-l
Copy link

totof-l commented Dec 3, 2021

Describe the bug
OPDS not working with "auth_proxy_header_name" set up.

To Reproduce
I have installed a new docker instance of Mango.
Without setting up "auth_proxy_header_name" in the config file, I can add http://IP:PORT/opds to the KyBook 3 app.
But when I change the config file with this line : auth_proxy_header_name: "X-WEBAUTH-USER" , it doesn't work.

Expected behavior
Access to the Mango OPDS feed from the KyBook 3 iOS app.

Environment (please complete the following information):

  • OS: UnRAID (docker)
  • Mango Version v0.24.0

Additional context

I also use Calibre-Web with Auth Proxy and OPDS, and I don't have this issue.

Screenshot :
Error

@totof-l totof-l added the bug Something isn't working label Dec 3, 2021
@hkalexling
Copy link
Member

Did you set up your reverse proxy? If KyBook directly accesses Mango with IP + port it probably doesn't go through your reverse proxy, and therefore not setting the X-WEBAUTH-USER header.

@totof-l
Copy link
Author

totof-l commented Dec 4, 2021

Initially, I was trying with the HTTPS URL (so with a reverse proxy) of my main Mango instance.
So same issue with both IP:PORT or HTTPS.
As a workaround, i‘ve set another instance of Mango just for OPDS, without the header.
It's working with both IP:PORT and HTTPS.

@haygoodhtpc
Copy link

Having a similar issue. I get a 404 when I try to go to /opds. Any ideas?

@hkalexling
Copy link
Member

@haygoodhtpc Oops the route was accidentally deleted in a recent commit. I will do a bug fix release soon.

@hkalexling hkalexling mentioned this issue Apr 18, 2022
@hkalexling hkalexling reopened this Apr 18, 2022
@hkalexling
Copy link
Member

@haygoodhtpc The 404 issue has been fixed in v0.26.2

@haygoodhtpc
Copy link

confirmed working at of v0.26.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants