dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

Registration Broken? #629

Closed puppycodes closed 5 years ago

puppycodes commented 6 years ago

When attempting to register a new account here: https://datbase.org/register

Uncaught DOMException: Failed to execute 'measure' on 'Performance': The mark 'end-2746000-choo.use' does not exist.
    at https://datbase.org/public/js/app.min.bd980c7098a61c6803c9b251f21dee02.js:633:374344
    at https://datbase.org/public/js/app.min.bd980c7098a61c6803c9b251f21dee02.js:633:375106
3api/v1/register Failed to load resource: the server responded with a status of 400 ()

Chrome Version 65.0.3325.181 (Official Build) (64-bit)

joehand commented 6 years ago

Hmmm. That error shouldn't affect registration. I just tried in Chrome and it worked. Are you still having issues?

puppycodes commented 6 years ago

Yes i'm still unable to register... the only thing I can think of is perhaps registration doesn't recognize some TLD's? My email i'm trying to register is woof@puppy.codes

puppycodes commented 6 years ago

if its the TLD's maybe we could add a verbose error to the submission form

joehand commented 6 years ago

Ya, someone else was having issues too so seems like a bug somewhere. Not sure why I can't reproduce here. We definitely need to show what errors are happening to the form! Related: #630

puppy.codes is a perfectly awesome domain, so it should definitely accept it.

puppycodes commented 6 years ago

haha thanks Joe! ☺️

joehand commented 6 years ago

Added the error message to the form. Let us know what error you're getting and hopefully we can get it fixed. Thanks!

puppycodes commented 6 years ago

hehe so...

screen shot 2018-04-24 at 4 35 27 pm screen shot 2018-04-24 at 4 35 44 pm
joehand commented 6 years ago

LOL. Well, thats confusing!

Looks like there is an account for you: https://datbase.org/puppycodes. Do you recognize what email that gravatar comes from, is that the one you are using? I think we can assume its an error with the login form now.

Curious if the forgot password maybe works? Im pretty confused about what is going on here. I can confirm I can login with my email. But not sure what else to look at. I can dig into the login errors a bit.

okdistribute commented 6 years ago

@joehand I think this happens when township adds a user successfully, but the database doesn't (or vice versa)

puppycodes commented 6 years ago

@joehand cool! i figured out the email connected to the account and I reset my password, so it seems just we need to differentiate between "this username is already taken" vs "this email is already registered" in terms of errors.

Thanks Again! <3

puppycodes commented 6 years ago

Hi, so this is still an issue strangely i can't login with my email. I'm still getting the user does not exist error, but i am able to reset my password without being able to log in after changing it or before.

joehand commented 6 years ago

Are you unable to login with the command line too? Wondering if its a UI/web issue or the API/db issue.

puppycodes commented 6 years ago

@joehand I also get "user does not exist" in the cli

okdistribute commented 5 years ago

@puppycodes did you resolve the issue?

puppycodes commented 5 years ago

@karissa I realized that my original assumption was probably the issue... an error semantics problem. Maybe it should say something like "username already exists". Strangely i was able to reset my password for the email that wasn't associated with any account (this is still a mystery). But it looks like my username was tied to a different email. I was able to login with that email address and change it to the one I wanted to use. Thanks for your help!

okdistribute commented 5 years ago

K great, yeah the messages need to be improved!