Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2025, 03:36 AM   #1
hondabf
Enthusiast
hondabf doesn't litterhondabf doesn't litter
 
hondabf's Avatar
 
Posts: 40
Karma: 100
Join Date: Jan 2024
Device: Kindle PW4
Calibre KOReader wireless plugin stops if transfer takes longer than a minute

Currently using Kindle PW4, KOReader 2024.11.

Calibre frequently stops and disconnects from KOReader when sending files above 100~ MB, or rather, if the transfer takes more than 1 minute and 38 seconds.

If I send books of lower size, the wireless transfer will work without issues.

My biggest file is a 248 MB CBZ, sending it normally will fail, but if I keep tapping on the Kindle (tapping on blank spaces, navigate through the menu) the book will get sent.

Maybe KOR or Calibre think the device is inactive while transferring (1 minute and 38 seconds) and stops the connection? Keeping the Kindle idling while connected to Calibre, without sending any book won't stop the connection.

I have tried the following:
  • Restarted Calibre, my computer and my Kindle several times.
  • Tried running KOReader on ASAP and in "No Framework Mode".
  • Checked Calibre on the Windows Defender Firewall allowed apps list and in the Inbound and Outbound options
  • Allowed Calibre on Windows Antivirus
  • Deleted the calibre driveinfo and metadata files on my Kindle multiple times
  • Changed the port

Please suggest a solution that it isn't just reinstalling Calibre or restarting the device.

I will share the Calibre logs:

Error message log when I try sending the same large book normally:

Code:
calibre, version 7.24.0
ERROR: Error: Error communicating with device

[WinError 10054] An existing connection was forcibly closed by the remote host

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1495, in upload_books
  File "calibre\devices\smart_device_app\driver.py", line 730, in _put_file
  File "calibre\devices\smart_device_app\driver.py", line 613, in _send_byte_string
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Debug mode log when I send the same large book normally:

Code:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && Apple Books covers (0, 2, 0) && Goodreads (1, 8, 2) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && Kindle hi-res covers (0, 5, 1) && Quality Check (1, 13, 16)
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && Apple Books covers (0, 2, 0) && Goodreads (1, 8, 2) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && Kindle hi-res covers (0, 5, 1) && Quality Check (1, 13, 16)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 141.7674418604651 x 142.13471502590673
[0.00] Starting up...
[0.02] Showing splash screen...
[1.19] splash screen shown
[1.19] Initializing db...
[1.25] db initialized
[1.25] Constructing main UI...
[3.11] GUI main window shown
[3.17] main UI initialized...
[3.17] Hiding splash screen
[3.17] splash screen hidden
[3.17] Started up in 3.17 seconds with 50 books
Traceback (most recent call last):
  File "calibre\devices\smart_device_app\driver.py", line 650, in _call_client
  File "calibre\devices\smart_device_app\driver.py", line 692, in _receive_from_client
calibre.devices.errors.ControlError: Device responded with incorrect information
Traceback (most recent call last):
  File "calibre\gui2\device.py", line 351, in detect_device
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1052, in open
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 650, in _call_client
  File "calibre\devices\smart_device_app\driver.py", line 692, in _receive_from_client
calibre.devices.errors.ControlError: Device responded with incorrect information
[WinError 10054] An existing connection was forcibly closed by the remote host

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1495, in upload_books
  File "calibre\devices\smart_device_app\driver.py", line 730, in _put_file
  File "calibre\devices\smart_device_app\driver.py", line 613, in _send_byte_string
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Debug mode when sending the large file while tapping and keeping active the Kindle (this works for some reason):

Code:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && Apple Books covers (0, 2, 0) && Goodreads (1, 8, 2) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && Kindle hi-res covers (0, 5, 1) && Quality Check (1, 13, 16)
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && Apple Books covers (0, 2, 0) && Goodreads (1, 8, 2) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && Kindle hi-res covers (0, 5, 1) && Quality Check (1, 13, 16)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 141.7674418604651 x 142.13471502590673
[0.00] Starting up...
[0.00] Showing splash screen...
[1.17] splash screen shown
[1.17] Initializing db...
[1.17] db initialized
[1.17] Constructing main UI...
[2.19] GUI main window shown
[2.23] main UI initialized...
[2.23] Hiding splash screen
[2.23] splash screen hidden
[2.23] Started up in 2.23 seconds with 50 books
Traceback (most recent call last):
  File "calibre\devices\smart_device_app\driver.py", line 650, in _call_client
  File "calibre\devices\smart_device_app\driver.py", line 692, in _receive_from_client
calibre.devices.errors.ControlError: Device responded with incorrect information
Traceback (most recent call last):
  File "calibre\gui2\device.py", line 351, in detect_device
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1052, in open
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 650, in _call_client
  File "calibre\devices\smart_device_app\driver.py", line 692, in _receive_from_client
calibre.devices.errors.ControlError: Device responded with incorrect information

Last edited by hondabf; 01-29-2025 at 11:34 PM.
hondabf is offline   Reply With Quote
Reply

Tags
calibre, koreader, wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Change the Inbox Folder for Calibre Wireless Transfers to Koreader kemala.ang KOReader 1 01-03-2025 12:43 PM
KOReader to Calibre wireless connection, error about UUID lightmaster Devices 3 07-26-2024 08:19 PM
Calibre Wireless Conection > Koreader - How to specify supported formats? Amon_Re Server 3 10-01-2022 07:24 AM
Koreader > Calibre Wireless Device Connection Amon_Re KOReader 10 10-18-2019 05:45 PM
Calibre -> KOReader wireless sync troubles Fuzzaddict KOReader 3 09-13-2017 08:22 PM


All times are GMT -4. The time now is 07:45 AM.


MobileRead.com is a privately owned, operated and funded community.