docker-calibre-web icon indicating copy to clipboard operation
docker-calibre-web copied to clipboard

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

Open eiauo opened this issue 9 months ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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

eiauo avatar Apr 28 '24 05:04 eiauo

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

github-actions[bot] avatar Apr 28 '24 05:04 github-actions[bot]

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.

LinuxServer-CI avatar May 28 '24 23:05 LinuxServer-CI

  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.

drizuid avatar Jun 02 '24 14:06 drizuid

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

github-actions[bot] avatar Jun 02 '24 14:06 github-actions[bot]

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.

wiebereu avatar Jun 03 '24 18:06 wiebereu

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.

drizuid avatar Jun 03 '24 19:06 drizuid

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.

LinuxServer-CI avatar Jul 03 '24 23:07 LinuxServer-CI

closing as no reply from OP

drizuid avatar Aug 26 '24 12:08 drizuid