Sync broken - 404 not found


#1

The sync seems to have broken since yesterday. Here is part of the debug log from the Android app (the rest is just the same thing going back 24 hours).

2022-10-05T15:29:55 - [INFO][turtl_core::api] api::call() -- res(85): 200 GET https://apiv3.turtlapp.com/sync?sync_id=5416591&type=poll
2022-10-05T15:29:55 - [INFO][turtl_core::sync::incoming] SyncIncoming.update_local_db_from_api_sync() -- ignored 0 incoming syncs
2022-10-05T15:29:55 - [INFO][turtl_core::dispatch] dispatch::dispatch_event() -- sync:connected
2022-10-05T15:29:55 - [INFO][turtl_core::dispatch] dispatch::dispatch_event() -- sync:incoming
2022-10-05T15:29:55 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:29:56 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:29:57 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:29:58 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:29:59 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:00 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:00 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:01 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:02 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:03 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:04 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:05 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:06 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:07 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:08 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:09 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:10 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:11 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:12 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:13 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:14 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:15 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:16 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:17 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:17 - [INFO][turtl_core::api] api::call() -- res(85): 200 GET https://apiv3.turtlapp.com/sync?sync_id=5416591&type=poll
2022-10-05T15:30:17 - [INFO][turtl_core::sync::incoming] SyncIncoming.update_local_db_from_api_sync() -- ignored 0 incoming syncs
2022-10-05T15:30:17 - [INFO][turtl_core::dispatch] dispatch::dispatch_event() -- sync:connected
2022-10-05T15:30:18 - [INFO][turtl_core::dispatch] dispatch::dispatch_event() -- sync:incoming
2022-10-05T15:30:18 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}
2022-10-05T15:30:19 - [INFO][turtl_core::sync::outgoing] SyncOutgoing.run_sync() -- sending 17 sync items
2022-10-05T15:30:19 - [INFO][turtl_core::dispatch] dispatch(26): app:get-log

#2

I had the same problem on Linux version


#3

I have the same problem on Manjaro on my main computer. When I checked my sync info, I found fifty or so sync items being blocked by a frozen sync item, which was some file upload/deletion. I removed the frozen item and the rest of my pending sync items showed up as “Ready to sync,” but I still continue to receive ttl’s error message in my debug log. I’ve tried clearing local data and reinstalling the application, but the problem persists. I cannot upload or receive synced any notes from my main computer at the moment.

Files uploaded to Turtl from my laptop always appear as frozen items in Sync info and result in the following warnings appearing in the debug log. The notes containing the uploaded files successfully sync to my phone, but attempting to download the files from my phone results in a file not found error. Text notes sync between my laptop and phone flawlessly.

2022-10-09T02:10:22 - [WARN][turtl_core::sync::files::outgoing] FileSyncOutgoing.run_sync() -- failed to upload file: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}

#5

Exact same problem here. Turtl had been running smoothly for years syncing between my computer and my phone. Then at about the same date (oct 5), it stopped syncing.

I have the exact same error message than ttl:

On my computer (Linux Kubuntu 22.04; KDE Plasma Version: 5.24.6; KDE Frameworks Version: 5.92.0; Qt Version: 5.15.3; Kernel Version: 5.15.0-48-generic (64-bit); Graphics Platform: X11; Processors: 4 × Intel® Core™ i3-7100U CPU @ 2.40GHz; Memory: 11,6 GiB of RAM; Graphics Processor: Mesa Intel® HD Graphics 620):

2022-10-13T11:53:05 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":156,"wrapped":true}

On my phone (Android 11 RKQ1.200826.002) [except ““line”:224” instead of ““line”:156”]:

2022-10-13T12:03:33 - [ERROR][turtl_core::sync] sync::runner() -- outgoing: main loop: {"err":{"message":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.18.0</center>\r\n</body>\r\n</html>\r\n","subtype":"Not Found","type":"api"},"file":"src/api.rs","line":224,"wrapped":true}

Seeing that my exported Turtl datafile weighted 60MB, and reading here (https://turtlapp.com/premium/) that my TurtlApp version can store up to 50MB, I deleted some notes (same on my phone and on my computer) so that the exported datafile on both sides weights about 30MB.

Those deletions didn’t solve the problem.

A problem with the TurtlApp server?


#6

Hurrah! Today: Back to normal. No more error message in the debug log. All notes synced on both devices! (I hadn’t tried since October 16, when it didn’t sync.)


#7

Mine has also begun syncing, but I lost all the unsynced changes.

I think I will have to look for an alternative. Turtl seems to be unmaintained or barely supported. It’s a shame. The main reason I used it was because it was encrypted, but I can’t lose the ability to take notes for weeks (or possibly permanently?). This was an eye opener.