-
Notifications
You must be signed in to change notification settings - Fork 26
Sync not reliable on desktop 2.1.60 #67
Comments
Hi!Thanks for providing detailed report containing server and cient. Ignore this paragraph--TO be honest,the info on server side seems only part of hte log imessage,It is better to post the full message that the server generates when the desktop client Anki launches and begins to sync against the server until the client report the error message. I assume your configuration should be correct,in your case the correct server address is After correct config,I think the problem may be caused by the following reason: The size of collection of cards and media is so big that it takes much time to sync .It maybe exceed the default time limit,thus causing time out.This happened and is reportted in anki forum https://forums.ankiweb.net/t/local-sync-server-collection-exceeds-size-limit/27183/7. The workaround is to increase limit of time out. Go to If this is not a fix,please report |
Hey, thanks for the quick response. I actually have a very small library of anki cards currently (around 100). I've tried increasing the timeout to no avail. I'm also running this on a powerful server and not like a raspberry pi, so it shouldn't be a resource bottleneck. And just to reiterate, it does work on occasion, so it's the correct server address. |
Can you reproduce the result currently?In what condition it will fail or cause client Anki to sto[ syncing? And I suggest that you can try this one https://docs.ankiweb.net/sync-server.html#without-gui-dependencies ,an official sync server ,installing via python pip.If it syncs sucessfully and not cause any error,then there is smoe problem in the server built from this repo. |
I've been seeing this problem as well. I have no problem syncing on AnkiDroid in about 3 seconds, but with the new desktop app there is zero progress and then a timeout error. So I don't think it's anything to do with the size of the library. maybe some difference in how the clients handle the sync? |
Yeah I haven't had time to deploy the "official" sync client container. Also have not noticed any pattern in the failures or successes. To be clear, it fails almost all of the time, and on a rare occasion will sync, so it's hard to figure out the success conditions. Same situation as @codemonkeysoftware describes. When I do deploy that other container I'll see if I face the same problems. @codemonkeysoftware, are you also running behind a reverse proxy or ingress? |
Have the same issue with 2.1.61 on MacOS |
I am running behind Traefik, and you bring up a good point. I'll have to try syncing directly to the server and see if it works better |
OK, circumventing traffic and going straight to the container didn't help, but I did get it to run consistently by disabling media sync on the client and restarting the server. |
I have the same issue with 2.1.65 on Windows |
Have the same issue with 2.1.65 on Arch Linux. Same situation as @codemonkeysoftware describes. I try official sync server (https://hub.docker.com/r/zweizs/anki-sync-server) behind Traefik on wireguard. It's OK. |
Same issue, Also behind Traefik, |
same issue on 2.1.61 on windows, seems like traefik's problem, |
Hi,
I am on an M1 macbook running Anki desktop 2.1.60. I find that most of the time the sync times out, with it very occasionally working. I am using "https://myurl.tld/" with the container behind a reverse proxy. No problems on AnkiDroid using the */ and */msync URLs.
Logs from the server:
Logs from the client:
Additional details: container running in K3s with Traefik.
Happy to get you guys more details if needed
The text was updated successfully, but these errors were encountered: