[BUG] iOS import not working
xavier7179 opened this issue Β· comments
Trying to synch the iOS app through server connection but, after browsing, importing gives an error ("There were errors during the import process, check your files and/or network connectivity - error: Error retrieving comic pages, HTTP: 404") that seems to correspond to the following lines on logs:
WARN 2023-10-07T08:16:10.431 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x557971038f30), parent's thread is QThread(0x55797102e4f0), current thread is QThread(0x557971042470)
INFO 2023-10-07T08:16:27.639 YACReaderLibrary closed with exit code : 700
INFO 2023-10-07T08:16:27.662 YACReaderLibraryServer attempting to start
Expected Behavior
Sync perfectly working
Current Behavior
Sync is not working at all
Environment
**OS: Ubuntu 20.04.6 LTS
Command used to create docker container (run/create/compose/screenshot)
yacserver:
image: xthursdayx/yacreaderlibrary-server-docker:p7zip
container_name: yacserver
restart: always
networks:
t2_proxy:
ipv4_address: $YACSERVER_T2_IP
security_opt:
- no-new-privileges:true
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
ports:
- "$YACSERVER_PORT:8080"
volumes:
- /etc/localtime:/etc/localtime:ro
- $DOCKERDIR/yacserver/config:/config
- $MEDIADIR/comics:/comics
Docker logs (QR code omitted)
----------------------------------------------------------
_ __________ ____ ______ _____ ____ _____ ___ __
| |/ /_ __/ / / / / / / __ \/ ___// __ \/ \ \/ / |/ /
| / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\ /| /
/ | / / / __ / /_/ / _, _/___/ / /_/ / ___ |/ // |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/ |_/_//_/|_|
Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------
User uid: 1000
User gid: 1001
-------------------------------------
[custom-init] No custom files found, skipping...
INFO 2023-10-07T08:14:57.651 YACReaderLibraryServer attempting to start
INFO 2023-10-07T08:14:57.651 ---------- System & configuration ----------
INFO 2023-10-07T08:14:57.651 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
INFO 2023-10-07T08:14:57.651 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO 2023-10-07T08:14:57.652 Libraries: QMap(("comics", QPair(1,"/comics")))
INFO 2023-10-07T08:14:57.652 --------------------------------------------
INFO 2023-10-07T08:14:57.656 YACReaderLibrary starting
INFO 2023-10-07T08:14:57.660 Running on "192.168.17.112:8080"
[ls.io-init] done.
WARN 2023-10-07T08:16:10.281 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x561578de6f30), parent's thread is QThread(0x561578ddc4f0), current thread is QThread(0x561578df0e80)
INFO 2023-10-07T08:16:10.308 YACReaderLibrary closed with exit code : 700
INFO 2023-10-07T08:16:10.368 YACReaderLibraryServer attempting to start
INFO 2023-10-07T08:16:10.368 ---------- System & configuration ----------
INFO 2023-10-07T08:16:10.368 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
INFO 2023-10-07T08:16:10.368 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO 2023-10-07T08:16:10.369 Libraries: QMap(("comics", QPair(1,"/comics")))
INFO 2023-10-07T08:16:10.369 --------------------------------------------
INFO 2023-10-07T08:16:10.369 YACReaderLibrary starting
INFO 2023-10-07T08:16:10.370 Running on "192.168.17.112:8080"
WARN 2023-10-07T08:16:10.431 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x557971038f30), parent's thread is QThread(0x55797102e4f0), current thread is QThread(0x557971042470)
INFO 2023-10-07T08:16:27.639 YACReaderLibrary closed with exit code : 700
INFO 2023-10-07T08:16:27.662 YACReaderLibraryServer attempting to start
INFO 2023-10-07T08:16:27.662 ---------- System & configuration ----------
INFO 2023-10-07T08:16:27.662 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
INFO 2023-10-07T08:16:27.662 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO 2023-10-07T08:16:27.662 Libraries: QMap(("comics", QPair(1,"/comics")))
INFO 2023-10-07T08:16:27.662 --------------------------------------------
INFO 2023-10-07T08:16:27.663 YACReaderLibrary starting
INFO 2023-10-07T08:16:27.663 Running on "192.168.17.112:8080"
WARN 2023-10-07T08:16:27.760 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x55bac1a0cf30), parent's thread is QThread(0x55bac1a024f0), current thread is QThread(0x55bac1a15530)
Sorry for the delayed response. I have been able to reproduce this error, and iOS syncing with YACReader Library Server seems to work fine on my network. Is it possible that there is a firewall rule preventing syncing, either on your router/firewall or Ubuntu?
No problem at all. I thought the same too, but when I ran the command to check if port 8080 is open (zc
on OSX), I got this: port 8080 [tcp/http-alt] succeeded!
If it helps track the issue, I checked the logs. It was not there in the first place (or at least I did not notice it before :( ), but now, when I press sync on my iOS app, the server goes down and restarts (within the docker image, I suppose) because I have the following error (after which the log contains all starting messages again, QR code include):
INFO 2023-12-10T07:27:49.556 YACReaderLibrary closed with exit code : 700
This complements the original strange log message that I was not able to track in any YacReader forum that appears at the end of the startup:
WARN 2023-12-10T07:27:49.881 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x55c1f868df30), parent's thread is QThread(0x55c1f86834f0), current thread is QThread(0x55c1f8696740)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I found out that, apparently, this issue is related to the #43. Once I switched to the unrar version, it worked out smoothly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've just pushed updated versions of this docker image to Docker Hub, please pull the new image and update your container and let me know if you're still having this issue. Thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've just pushed updated versions of this docker image to Docker Hub, please pull the new image and update your container and let me know if you're still having this issue. Thanks!
I am seeing this same issue with the latest 7zip version of yacreaderlibrary-server-docker when trying to import comics via the iPadOS app. The unarr version works correctly and allows me to import comics.
Whenever I try to open a comic via the 7zip version, YACReaderLibrary closes with exit code 700 and restarts:
yacserver | INFO 2024-03-27T13:43:23.341 "βββββββββββββββββββββββββββββββ"
yacserver | [ls.io-init] done.
yacserver | WARN 2024-03-27T13:44:54.588 QObject: Cannot create children for a parent that is in a different thread.
yacserver | (Parent is RequestMapper(0x55e931d1f760), parent's thread is QThread(0x55e931d13450), current thread is QThread(0x55e931d228c0)
yacserver | INFO 2024-03-27T13:45:12.310 YACReaderLibrary closed with exit code : 700
yacserver | INFO 2024-03-27T13:45:12.356 YACReaderLibraryServer attempting to start
yacserver | INFO 2024-03-27T13:45:12.356 ---------- System & configuration ----------
yacserver | INFO 2024-03-27T13:45:12.356 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
yacserver | INFO 2024-03-27T13:45:12.356 Kernel: "linux" "5.15.0-101-generic" Architecture: "x86_64"
yacserver | INFO 2024-03-27T13:45:12.356 Libraries: QList("comics [1, ed31d3af-6dab-480e-bf80-219f01a6dd5d, /comics]")
yacserver | INFO 2024-03-27T13:45:12.356 --------------------------------------------
yacserver | INFO 2024-03-27T13:45:12.356 YACReaderLibrary starting
yacserver | INFO 2024-03-27T13:45:12.357 Running on "172.19.0.10:8080"
yacserver |
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ βββββ βββββββ βββββ βββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ β β βββ β β β β βββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ βββββ βββββββ βββββ βββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββ β β βββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "ββββββββ β ββ ββ β β βββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ βββ β ββββββ ββ βββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββ ββββ β ββ βββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ βββββ ββββ ββββββ βββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ β β β βββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββ βββββ ββ ββ β ββ ββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:12.357 "βββββββββββββββββββββββββββββββ"
yacserver | WARN 2024-03-27T13:45:12.365 QObject: Cannot create children for a parent that is in a different thread.
yacserver | (Parent is RequestMapper(0x55e6c802d970), parent's thread is QThread(0x55e6c8021450), current thread is QThread(0x55e6c802b300)
yacserver | INFO 2024-03-27T13:45:25.845 YACReaderLibrary closed with exit code : 700
yacserver | INFO 2024-03-27T13:45:25.883 YACReaderLibraryServer attempting to start
yacserver | INFO 2024-03-27T13:45:25.883 ---------- System & configuration ----------
yacserver | INFO 2024-03-27T13:45:25.883 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
yacserver | INFO 2024-03-27T13:45:25.883 Kernel: "linux" "5.15.0-101-generic" Architecture: "x86_64"
yacserver | INFO 2024-03-27T13:45:25.883 Libraries: QList("comics [1, ed31d3af-6dab-480e-bf80-219f01a6dd5d, /comics]")
yacserver | INFO 2024-03-27T13:45:25.883 --------------------------------------------
yacserver | INFO 2024-03-27T13:45:25.883 YACReaderLibrary starting
yacserver | INFO 2024-03-27T13:45:25.883 Running on "172.19.0.10:8080"
yacserver |
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ βββββ βββββββ βββββ βββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ β β βββ β β β β βββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ βββββ βββββββ βββββ βββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββ β β βββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "ββββββββ β ββ ββ β β βββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ βββ β ββββββ ββ βββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββ ββββ β ββ βββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ βββββ ββββ ββββββ βββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ β β β βββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββ βββββ ββ ββ β ββ ββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββββββββββββββββββββ"
yacserver | INFO 2024-03-27T13:45:25.884 "βββββββββββββββββββββββββββββββ"
yacserver | WARN 2024-03-27T13:45:25.908 QObject: Cannot create children for a parent that is in a different thread.
yacserver | (Parent is RequestMapper(0x564366b08970), parent's thread is QThread(0x564366afc450), current thread is QThread(0x564366b062d0)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.