A 524 error indicates that Cloudflare made a successful TCP connection to the origin web server, but the origin did not reply with an HTTP response before the connection timed out. Review the suggestions in this Community Tip for troubleshooting ideas.
This gives you an idea of the error is. The user is registered because the request was received by the server, but no response was ever sent from there. The issue is on the server.