-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
Error when creating a user with a non-unique name. #2955
Comments
This comment was marked as abuse.
This comment was marked as abuse.
I think the original report isn't limited to creating a user with a non-unique name. The original issue is the server doesn't properly return an explanation is something fails, in this case when we see in the logs Not sure if it's possible since I haven't fully looked into the code, the backend needs to send a default error format to the UI, I mean send |
User registration is handled here. There is an attempt to check for duplicate usernames but apparently its not working correctly. You can setup a dev environment and test how to get it working properly. |
What version do I need to roll back to, to get this working? v0.17.2? There are a LOT of reddit communities looking to switch over right now, and this is a COMPLETE AND TOTAL showstopper of a bug. |
This comment was marked as abuse.
This comment was marked as abuse.
I noticed that my particular issue was half pebkac and half bug. My issue - SMTP misconfiguration on TLS (needed to be starttls instead of just tls for Protonmail) When this type of misconfiguration occurs, it appears that it's creating stub user that isn't rolled back after failure. So when the issue is resolved, any further attempts to create the user run into constraint issues since the user is half created. So I think the bug here is that user creation needs to roll back on SMTP issues when email verification is enabled. |
I've been trying to sign up to various instances, and always get the infinite hanging. I think it's this issue. For now, is there a quick and dirty way to check if a username is available, to help with the sign up process? EDIT: I guess visiting INSTANCE/u/USERNAME works |
Hi! I've been attempting to register the past few days and I also get stick in the loading state forever. I tried multiple usernames but no feedback on what's going on whatsoever. |
* Correct error messages if user registers with taken user/email (fixes #2955) * exists
For example here's the log if I try to sign up when registration is closed
Here's when a duplicate user exists
All of them don't send a response to the UI.
It can be easily verified in the network tab of the browser watching the websocket interaction, it sends the operation
Register
and the server never gets back.Originally posted by @pe1uca in LemmyNet/lemmy-ui#1062 (comment)
The text was updated successfully, but these errors were encountered: