mdouchement / standardfile

Yet Another Standardfile (standardnotes server) Implementation written in Golang
MIT License
80 stars 9 forks source link

Unable to login with latest server and Android app #82

Closed squalus closed 2 years ago

squalus commented 2 years ago

I'm using standardfile v0.7.1 and Android Standard Notes 3.26.14 (latest version on f-droid). I expected #77 to fix this, but I get a 401 error from the new v2/login-params API.

Jul 10 12:00:48 xxxxx standardfile[828]: [401] POST /v2/login-params (149) 1.110931ms
shagr4th commented 2 years ago

Hi. FWIW, the same build works fine on my end :

[200] POST /v2/login-params (153) 3.737602ms
[200] POST /v2/login (226) 257.497839ms
mdouchement commented 2 years ago

I've successfully login with Android client 3.23.8 (3002010)

squalus commented 2 years ago

Same issue for me in the Desktop client 3.23.69. Verified that an older client works with the same credentials (3.11.1)

squalus commented 2 years ago

It works fine with the new client if I make a fresh database, but not if I use my existing database. Maybe some kind of a migration issue?

squalus commented 2 years ago

OK, I think this was just a build system mixup for me. Once I got that sorted out, 0.7.1 works properly with Desktop 3.23.69 and Android 3.26.14. Sorry!