janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.17k stars 1.41k forks source link

Unable to generate Kobo API Key #3114

Closed Ilpredatore closed 3 months ago

Ilpredatore commented 3 months ago

Describe the bug/problem

When I attempt to create a kobo sync token, I get 3 dots on the pop-up where I expect the token to be, however the auth URL never appears.

I have already read all previous issues, i disabled Kepubify.

I try from inside network than generating key grom reverse proxy.

I aldo think when trying to create an api key calibre-web crashes and it restarts

To Reproduce

When I attempt to create a kobo sync token, I get 3 dots on the pop-up where I expect the token to be, however the auth URL never appears.

Logfile

[2024-08-02 12:06:29,316]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from this module in 48.0.0.
  from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4
[2024-08-02 12:06:30,278]  INFO {cps.server:218} Starting Gevent server on [::]:8083
[2024-08-02 12:06:31,767] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:07:35,463] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:08:06,581] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:08:23,570] DEBUG {cps.config_sql:408} _ConfigSQL updating storage
[2024-08-02 12:08:23,584]  WARN {cps.config_sql:384} Log path  not valid, falling back to default
[2024-08-02 12:08:27,494] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:09:08,638] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:09:40,380] ERROR {cps.db:881} Author Carola Frediani not found to display name in right order
[2024-08-02 12:09:40,622] ERROR {cps.db:881} Author T.L. Smith not found to display name in right order
[2024-08-02 12:09:40,679] ERROR {cps.db:881} Author Del Debbio, Paolo not found to display name in right order
[2024-08-02 12:09:51,173] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:10:41,032] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:10:54,811] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00
[2024-08-02 12:11:00,294]  INFO {cps.server:319} webserver stop (restart=False)
[2024-08-02 12:11:00,295]  INFO {apscheduler.scheduler:212} Scheduler has been shut down
[2024-08-02 12:11:00,297]  INFO {cps.server:298} Performing shutdown of Calibre-Web
[2024-08-02 12:11:01,972]  WARN {cps.config_sql:384} Log path  not valid, falling back to default
[2024-08-02 12:11:02,027]  INFO {cps:175} Starting Calibre Web...
[2024-08-02 12:11:02,359]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/flask_limiter/extension.py:333: 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-08-02 12:11:02,616]  INFO {apscheduler.scheduler:181} Scheduler started
[2024-08-02 12:11:02,617]  INFO {apscheduler.scheduler:895} Added job "delete temp" to job store "default"
[2024-08-02 12:11:02,618]  INFO {apscheduler.scheduler:895} Added job "end scheduled task" to job store "default"
[2024-08-02 12:11:02,619]  INFO {apscheduler.scheduler:895} Added job "immediately delete temp" to job store "default"
[2024-08-02 12:11:02,620]  INFO {apscheduler.executors.default:123} Running job "immediately delete temp (trigger: date[2024-08-02 12:11:02 CEST], next run at: 2024-08-02 12:11:02 CEST)" (scheduled at 2024-08-02 12:11:02.618925+02:00)
[2024-08-02 12:11:02,620]  INFO {apscheduler.scheduler:641} Removed job b8a31f1f9fa4429a9c8f66ea6ba6259e
[2024-08-02 12:11:02,635] DEBUG {cps.services.worker:91} Add Task for user: System - Clean up
[2024-08-02 12:11:02,641]  INFO {apscheduler.executors.default:144} Job "immediately delete temp (trigger: date[2024-08-02 12:11:02 CEST], next run at: 2024-08-02 12:11:02 CEST)" executed successfully
[2024-08-02 12:11:02,643] DEBUG {cps.tasks.clean:43} Deleted expired session_keys
[2024-08-02 12:11:03,435]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from this module in 48.0.0.
  from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4
[2024-08-02 12:11:04,368]  INFO {cps.server:218} Starting Gevent server on [::]:8083
[2024-08-02 12:14:45,699] DEBUG {cps.updater:325} Nightly version: 0ff3f0f426bc51e7445ad49550e73832455a3eb9, 2024-07-30T18:51:52+02:00

Environment (please complete the following information):

OzzieIsaacs commented 3 months ago

This sounds like a problem with the web browser. Calibre-web is opening the pop up (the 3 dots appear) and then loads the content of the dialog and this ssems to fail. Could you please open the developer console of your browser and check for relevant output?