-
Notifications
You must be signed in to change notification settings - Fork 39
[BUG] Cannot register on fresh installation #72
Comments
A similar error for me, using a fresh install on a fresh server If I reload the page and attempt to sign in, I'm prompted to enter a two-factor authentication code, which I can't because I haven't signed in to set up 2fa. |
Same here! |
Same, any eta on a fix? |
Ensure you're up to date on both the client and backend. There's been a few changes in this area so if you're running older versions with newer clients you'll have this issue. |
i have updated my backend yesterday, client was freshly downloaded yesterday too. |
Ah, indeed. Looks like a recent regression caused by a refactor of our registration handler. Will be fixed by standardnotes/snjs#771. |
🙂 thanks! |
Thanks! It started working, after I ran:
|
Note that registrations made during the time the regression was live (I believe it was only the web app, for only a couple days) were made to our server, and those accounts will still exist in our server until deleted. Wit the fix now deployed, you'll have to re-register on your server. |
@moughxyz I'm having the same problem: I self-hosted the docker standalone server and upon the first login after registering I get asked a 2FA code which prevents me from logging in. |
Did you run |
Yes, I did. I'm trying to host a local istance (no https) before going public. This is what I did/steps to reproduce, I didn't edit anything besides commands shown.
Status looks good, everything running, healtcheck OK. I tried to register from iOS, Android, Windows using "http://10.0.0.100:3000", I got a generic error at times, upon clicking register, regardless of this error I cannot register with another account because "another registration in progress" (or something in those lines). Upon trying to log in from the app (any platform) I get prompted to input the 2FA code, which I don't have, obviously, and at the same time the logs show:
|
I am still getting the enter 2-fa prompt when trying to create a new account on a brand new install. Both backend and app are up to date. |
Try to |
Thank you for this, however it did not work for me. I am getting a different error though. I tried the above and even tried a fresh install on a new machine from scratch. I now receive an invalid user/pass error and see the following in the logs:
|
nvm, I am an idiot. I needed to register the account first. |
After fresh server setup I tried to register new user in the app.standardnotes.org platform with my custom server address in the advanced options form. Immedietly after POST request, I get expired login screen but loging in with same credentials doesnt work.
In server logs I can see failed attempts logged. But if I check the users table in mysql container - it's still empty.
I tried to use these new credentials on default sync server - and I'm logged in.
It seems that registration form doesnt care about custom server address account is not registered on the custom server but in api.standardnotes.com server instead.
Case in point: I can provide any link in custom server address, like: https://anything.google.com and system still return error:
This email is already registered
if I try to use the same email which was used to register in your standart server.The text was updated successfully, but these errors were encountered: