kuklinistvan / docker-anki-sync-server

Anki Sync Server with Docker - and it works!
GNU General Public License v3.0
132 stars 24 forks source link

"Your client is using unsupported sync protocol (10, supported version: 9) #14

Closed sevi1603 closed 4 years ago

sevi1603 commented 4 years ago

Syncing with AnkiDroid works

When trying to use the Windows Desktop client (Version 2.1.22) and the SyncRedirector plugin with this config:

{ "msyncUrl": "http://192.168.2.80:27701/msync/", "syncUrl": "http://192.168.2.80:27701/sync/" }

(Username and password has been put into the authentication pop up.)

I'm getting the following error message whenever a sync is triggered: "Your client is using unsupported sync protocol (10, supported version: 9)

Followed by this error: AnkiWeb ID or password was incorrect; please try again.

Logs from docker container: [2020-04-03 10:23:02,669]:INFO:ankisyncd.CollectionThread[user]:Running meta(*[], **{'v': 10, 'cv': 'ankidesktop,2.1.22 (0ecc189a),win:10'}) [2020-04-03 10:24:32,762]:INFO:ankisyncd.ThreadingCollectionManager:Monitor is closing collection on inactive CollectionThread[user]

sevi1603 commented 4 years ago

I noticed in the changelog of the Windows Anki Client 2.1.22 some sync related changes. When using the 2.1.15-standard client, syncing works. Seems like the server hasn't been updated yet

kuklinistvan commented 4 years ago

Hello,

I'm sorry for the late response.

I've noticed too that Anki tends to change its synchronization protocol quite often between patch version number updates. With the help of tsudoko I'm supporting (well, doing my best to support) the actual version stated in the README.md. At the moment these are AnkiDesktop version 2.1.19 and AnkiDroid version 2.9.1.

Yesterday I've put download links to the versions I've tested the synchronization with. I've also created a mirror for these executables in case those links become broken.

Happy syncing :)