Comments (10)
Can you share what reverse proxy configuration you are using?
from komga.
Can you also get the content of https://komga.domain.com/api/v1/books/06GB75S90JH57/manifest ?
from komga.
Hello. I'm having this same issue. I can read manga fine, it's only an issue with the new eBooks reader.
Komga version: 1.8.3
Operating system: FreeBSD
Installation method: jar
# Proxy for Komga
location /manga {
return 302 $scheme://$host/manga/;
}
location /manga/ {
proxy_pass http://192.168.x.xxx:25600;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
I'm not having any luck with the Manifest thing you're asking for.
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Dec 05 05:14:13 GMT 2023
There was an unexpected error (type=Not Found, status=404).
404 NOT_FOUND
from komga.
I believe you may be missing X-Forwarded-Proto in your reverse proxy configuration.
from komga.
Well that did change things. Instead of getting a blank page I got a little exclamation mark triangle instead. I didn't have an error referencing index.js:62874 and Mixed Content not loading like I was getting, similar to @JamesDAdams. Instead I now had:
Invalid X-Frame-Options header was found when loading “https://domain.tld/manga/api/v1/books/0EDB0YARZXJPM/resource/OPS/cover.xhtml”: “invalid” is not a valid directive.
I followed the Inspector's link to read up on the error, and added add_header X-Frame-Options SAMEORIGIN;
to my config as well, and that seems to have fixed this issue for me. 👍
from komga.
you probably have some other missing configuration in your reverse proxy if you need to add the X-Frame-Options
, as it is already being returned by the backend.
Maybe your RP is filtering it, and thus it does not reach your browser.
from komga.
I am using Caddy 2 myself, and it works outside the box. This is what Caddy is doing in reverse proxy:
It sets or augments the X-Forwarded-For header field.
It sets the X-Forwarded-Proto header field.
It sets the X-Forwarded-Host header field.
from komga.
Well that did change things. Instead of getting a blank page I got a little exclamation mark triangle instead. I didn't have an error referencing index.js:62874 and Mixed Content not loading like I was getting, similar to @JamesDAdams. Instead I now had:
Invalid X-Frame-Options header was found when loading “https://domain.tld/manga/api/v1/books/0EDB0YARZXJPM/resource/OPS/cover.xhtml”: “invalid” is not a valid directive.
I followed the Inspector's link to read up on the error, and added
add_header X-Frame-Options SAMEORIGIN;
to my config as well, and that seems to have fixed this issue for me. 👍
I add add_header X-Frame-Options SAMEORIGIN;
in my nginx proxy manager and it's doesn't work for me :/
Same for :
It sets or augments the X-Forwarded-For header field.
It sets the X-Forwarded-Proto header field.
It sets the X-Forwarded-Host header field.
from komga.
from komga.
I use Cloudfalre tunnel and if i redirect the tunnel directly on Komga container it's work, but i redirect all my tunnel to Nginx proxy manager and NPM redirect to my container
from komga.
Related Issues (20)
- web ui: Find and go to page option for epub. HOT 1
- Search Authors automatically when searching HOT 1
- Sub-title display field for series
- Epub reader to highlight text (to serve as bookmarks) or just bookmark pages
- Search for books with COMMENT
- ePub: Cover support for ePub files generated by older versions of Sigil HOT 1
- Refresh metadata does not update removed metadata from files HOT 1
- Allow read lists to use first/last book as cover image globally
- Allow decimal number usage for StoryArcNumber element in ComicInfo.xml HOT 3
- When OAuth2 login is enabled, SERVER_SERVLET_SESSION_TIMEOUT seems not to take effect properly HOT 7
- Add page margins option in the webtoon mode
- Komga doesn't log unauthenticated requests HOT 1
- Komga doesn't log Tomcat errors HOT 2
- files not analyzed on mac HOT 4
- Optional title name parser expression HOT 1
- Deletetion Issue HOT 3
- UpgradeIndex execution failed on every restart HOT 1
- Cannot to run, permission denied HOT 1
- Can't delete unavailable book HOT 2
- Errors related to an OPDS V2 client using Let's Encrypt certificates. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komga.