linuxserver / docker-calibre-web

GNU General Public License v3.0
1.01k stars 144 forks source link

[BUG] Unable to Use certs for SSL on QNAP NAS #293

Closed eiauo closed 1 month ago

eiauo commented 5 months ago

Is there an existing issue for this?

Current Behavior

I have successfully installed docker-calibre-web on QNAP NAS,I can successfully set up the Server Configuration to http. When use a passphrase protected key and cert file in the in the Server Configuration, the server not responding.

Expected Behavior

Able to use HTTPS/SSL

Steps To Reproduce

Use a passphrase protected key and cert file in the in the Server Configuration Look at calibre-web.log to see error log.

Environment

- OS:qnap TS-453D QTS 5.1.5.2679

Calibre-Web version: 0.6.21
Browser: Chrome

CPU architecture

x86-64

Docker creation

Use Container Station, Create Docker linuxserver/calibre-web:latest.

Container logs

[2024-04-28 02:50:54,025]  INFO {cps:177} Starting Calibre Web...
[2024-04-28 02:50:54,673]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/flask_limiter/extension.py:308: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(

[2024-04-28 02:50:55,001]  INFO {apscheduler.scheduler:181} Scheduler started
[2024-04-28 02:50:55,002]  INFO {apscheduler.scheduler:895} Added job "end scheduled task" to job store "default"
[2024-04-28 02:50:57,744]  INFO {cps.server:207} Starting Gevent server on [::]:8083
[2024-04-28 02:50:58,389]  WARN {cps.server:217} Gevent SSL Error: [Errno 13] Permission denied
[2024-04-28 02:51:22,777]  WARN {cps.server:217} Gevent SSL Error: [Errno 13] Permission denied
[2024-04-28 02:51:22,778]  WARN {cps.server:217} Gevent SSL Error: [Errno 13] Permission denied
[2024-04-28 02:51:22,779]  WARN {cps.server:217} Gevent SSL Error: [Errno 13] Permission denied
github-actions[bot] commented 5 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

LinuxServer-CI commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 4 months ago
  1. We suggest using a reverse proxy for this.
  2. We also do not support deploying our containers with a UI, we support docker compose and docker run. the various UIs cause numerous problems.
  3. You have a permissions issue (per your logs) which we can not provide insight into as you didnt deploy in a supported manner.
github-actions[bot] commented 4 months ago

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

wiebereu commented 4 months ago

I still have an issue with putting Caibre-web behind a reverse proxy. I have numerous containers running and have no issue with putting behind a reverse proxy, only Calibre Web is a problem. If I put it behind a reverse proxy it keeps logging me out.

drizuid commented 4 months ago

I still have an issue with putting Caibre-web behind a reverse proxy. I have numerous containers running and have no issue with putting behind a reverse proxy, only Calibre Web is a problem. If I put it behind a reverse proxy it keeps logging me out.

what does your issue have to do with qnap nas and putting ssl directly in calibre-web? read and reply when your response is applicable.

LinuxServer-CI commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 1 month ago

closing as no reply from OP