-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I log in, it shows that the username and password are wrong #22
Comments
Hello, |
|
I see. I did an attempt to reproduce your issue - however, I was a bit occupied (as always :)) and I did not have an installation ready on my current distribution to test your problem. Now I ran into an issue compiling Anki 2.1.19 for my platform. Meanwhile I'm figuring the latter out, I'm checking the Android version. I've asked the community about that on Gitter. For the record, I'm copying that here as well.
|
@fusang1337 was this fixed for you? I'm experiencing the same issue. I added my user with
But I can't login in Anki desktop |
Having the same issue with Anki for iOS |
AnkiDesktop |
I am having this issue as well, lsuser shows my created user, but when I try to login from anki mobile or desktop client I am getting that in the log. Edit: This works: https://github.com/ankicommunity/anki-sync-server-rs/ |
Okay, did a bit of a digging. Essentially, the server tries to get the username and password from |
Apparently, kuklinistvan/anki-sync-server docker image has been updated 3 years ago and the current code is different = might work. So anyone who stumbles on this issue — follow the python instruction and let us know if it works, it just might. |
Since this repository has been archived I have decided to simply create my own docker image with the official anki sync server following the instructions for cargo |
Would you mind sharing the image setup? Looks like the repository is not archived anymore, it has been transferred to ankicommunity. Maybe we can try opening a PR here, I believe @VikashKothary is still reviewing them. |
check this, its work for me. |
Summary
Reproduction (what did you do - the more details you give, the better):
1 docker deployment
2 Username and password have been set
log:
auth.db found
,collections directory exists
,No outdated 'auth' table found.
,Starting tsudoko's anki-sync-server
,No outdated 'session' table found.
,Updating database schema
,[2021-01-02 14:50:29,852]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,ankisyncd.conf found
,[2021-01-02 14:49:42,327]:INFO:ankisyncd:ankisyncd [unknown version] (https://github.com/tsudoko/anki-sync-server)
,[2021-01-02 14:49:42,337]:INFO:ankisyncd:Loaded config from /app/anki-sync-server/ankisyncd.conf
,[2021-01-02 14:49:42,337]:INFO:ankisyncd.users:Found auth_db_path in config, using SqliteUserManager for auth
,[2021-01-02 14:49:42,339]:INFO:ankisyncd.sessions:Found session_db_path in config, using SqliteSessionManager for auth
,[2021-01-02 14:49:42,340]:INFO:ankisyncd:Serving HTTP on 0.0.0.0 port 27701...
,[2021-01-02 14:49:47,065]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:49:52,539]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:03,211]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:49:57,872]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:08,547]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:13,863]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:19,204]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:24,536]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:35,195]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:40,527]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
,[2021-01-02 14:50:45,877]:INFO:ankisyncd.http:127.0.0.1 "GET / HTTP/1.1" 200 16
What was expected to happen:
What happened instead (the more details you give, the better):
The text was updated successfully, but these errors were encountered: