runki icon indicating copy to clipboard operation
runki copied to clipboard

Cannot authenticate

Open psamim opened this issue 8 years ago • 9 comments

Hi,

When I run runki given the correct username, password and deck, I get the following error:

2016/08/06 09:32:11 can't login to ankiweb%!(EXTRA string=failed to get mid authentification value from anki web)

Thanks, Samim

psamim avatar Aug 06 '16 05:08 psamim

@psamim: Try to remove ~/.config/runki/creds. Auth works for me, so check auth params.

seletskiy avatar Aug 08 '16 04:08 seletskiy

The file does not exist and I give the auth params in the command line (--user and --pass).

psamim avatar Aug 08 '16 05:08 psamim

@psamim: Are you using latest version of runki? I've double checked it and it worked fine. Try to put your auth params into config file: ~/.config/runki/runkirc.

seletskiy avatar Aug 08 '16 06:08 seletskiy

I tried the one in AUR and also using go get, same results.

Runki --version says 2.0.

I also checked and I am able to login to ankiweb.net with the same user and pass.

psamim avatar Aug 08 '16 07:08 psamim

@psamim: That's definitely strange. Can you add some debug prints into the source code, so we can debug it?

seletskiy avatar Aug 08 '16 08:08 seletskiy

have the same error with --user --pass and with runkirc you can download failed session dump from http://flex.oganer.net/runki.pcapng

tsypa avatar Feb 17 '17 17:02 tsypa

The same problem seems to persist.

I don’t know if it has to do anything with this problem, but https://ankiuser.net/edit/save gives a 404 error.

rwmpelstilzchen avatar Nov 18 '18 07:11 rwmpelstilzchen

@rwmpelstilzchen: Hi. This repo is no longer maintained by me.

Can you check successor, maybe it will fit your needs: https://github.com/kovetskiy/ankictl

seletskiy avatar Nov 19 '18 14:11 seletskiy

@seletskiy: Thanks, but it doesn’t seem to work either (https://github.com/kovetskiy/ankictl/issues/2).

rwmpelstilzchen avatar Nov 19 '18 17:11 rwmpelstilzchen