|
|
Thread Tools | Search this Thread |
11-28-2021, 08:35 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
Uncaught Security Error: Block a frame... when read online on Safari and Chrome
Hi everyone, this is my first post on this forum.
I hosted my server on my old windows PC for few months and now for some reason I took a next step and try to learn and host calibre on ubuntu on a cloud. Everything goes as planned but for some reasons when I use chrome and safari to open online any book this error pop up. I tried with Brave and nothing happen. I follow exactly this tutorial on create service and config apache2 https://www.digitalocean.com/communi...n-ubuntu-20-04 I don't know what else to provide but i can provide more information thank you very much Last edited by siclib; 11-28-2021 at 08:38 AM. Reason: image too big |
11-28-2021, 08:38 AM | #2 |
creator of calibre
Posts: 44,416
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
First thing to do is uninstall the ubuntu provided calibre and install the official binary from https://calibre-ebook.com/download_linux hopefully that will fix it.
|
Advert | |
|
11-28-2021, 08:40 AM | #3 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
Quote:
|
|
11-28-2021, 08:59 AM | #4 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
Quote:
The error log says nothing here is my service config ## startup service [Unit] Description=calibre content server After=network.target [Service] Type=simple User=exampleuser Group=examplegroup ExecStart=/opt/calibre/calibre-server /mnt/calibre/library/Books /mnt/calibre/library/Dictionaries /mnt/calibre/library/Staff '/mnt/calibre/library/Guests' --auth-mode="basic" --enable-local-write --enable-auth --log="/mnt/calibre/library/log/error.log" --access-log="/mnt/calibre/library/log/access.log" --disable-log-not-found [Install] WantedBy=multi-user.target |
|
11-28-2021, 09:07 AM | #5 |
creator of calibre
Posts: 44,416
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
put the libraries after the options, not before.
|
Advert | |
|
11-28-2021, 09:20 AM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
|
11-28-2021, 09:33 AM | #7 |
creator of calibre
Posts: 44,416
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And are you running behind a reverse proxy? Does it happen if you access the page on the same computer as the server is running on? Or form a desktop browser? And if so open the javascript concole in the browser and post anything you see there.
|
11-28-2021, 09:57 AM | #8 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
Yes this is my Apache2 config
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so <VirtualHost *:80> ServerName your_domain AllowEncodedSlashes On ProxyPreserveHost On ProxyPass "/" "http://localhost:8080/" </VirtualHost> Quote:
But as I know, it runs smoothly on Brave. Also smoothly on Safari, Chrome with Same-Origin policy turned off. But I dont think thats a solution, just a quick fix. Hope anyone can give me some clues on how to troubleshoot or get some debugging info for you guys to figure out the problem. |
|
11-28-2021, 10:12 AM | #9 |
creator of calibre
Posts: 44,416
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This will most likely be a proxy config issue. Try running without a proxy to test.
You can also forward the port using ssh to your some computer and connect like that. To bypass the proxy and test with the browser on your home computer. Just google forwarding ports with ssh. |
11-29-2021, 08:33 AM | #10 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: BOOX Poke 2
|
Quote:
Thank you for your support |
|
Tags |
content server, error, web |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Eink device for Safari books online (Safari Queue app) | Mrocznooki | Which one should I buy? | 0 | 02-17-2018 07:57 PM |
Safari Books Online | Bryan Larsen | Which one should I buy? | 2 | 10-17-2008 08:36 AM |
Safari Books Online | markiehill | Sony Reader | 5 | 08-19-2008 06:01 PM |
minimo and Safari Books Online ? | ppxnouse | iRex | 9 | 05-31-2008 10:27 AM |
Safari Online script | sic | Sony Reader | 16 | 01-11-2008 02:10 AM |