500 Error At sign up

AI-generated summary

500 Error At sign up: User bjpark encountered a 500 error while signing up on their own instance, despite the email address not being banned in the logs. codinghorror asked for clarification and log details, which bjpark provided. The issue was suspected to be related to the email address or password, but bjpark confirmed no Korean characters were used.

sam identified the issue as a domain name problem and requested the full error message. bjpark provided it, revealing a non-Latin character in the domain name. sam pinpointed the problem to an automatic membership domain setting and suggested a fix. bjpark confirmed the solution worked. techAPJ added a validator to address the issue via a GitHub commit.

I input all info at sign up modal, and Error at This Modal.


But that Email Address is not registered.

Do you mean here or on your own instance? Is that email address banned in the Logs. IP section?

that error at my own instance.
not banned in the log.


this is console

What do you see in /logs in your browser? Any unusual plugins we do not ship?

「いいね!」 1

Was the password standard ASCII or did it contain Korean characters?

This errror at /logs
I hide our company’s domain.

i didn’t input any korean characters :frowning:

this is a pickle, we need to domain full error message here to fix the regexp, are there any non latin chars in your domain name?

Sorry

domains = group.automatic_membership_email_domains.gsub('.', '\.')
      if self.email =~ Regexp.new("@(#{domains})$", true)

you have automatic membership domain of *@mydomain.com remove the *@

@techAPJ can you add a validator there?

「いいね!」 8

Thank you for your support!
I solved problem!

「いいね!」 1

Done via:

https://github.com/discourse/discourse/commit/6354324f2f4335c60526af3dfa03a01865b23f07

「いいね!」 1