how to prevent a lockup?
-
I have found that I can reliably take down my entire system by having a user try to register themselves on fusionauth twice. This is super scary and Halloween is already over. I am thinking my best bet is to check to see if a user has already registered a specific email address prior to allowing them to register.
Since I will need to do this "preventive step" each time someone tries to register, what is my best (least cpu cost) php function call to check to make sure a certain email hasn't already been registered?
-
Hi @richb201 !
Are you saying that FusionAuth crashes or that your application crashes? Can you share some code?
-
I didn't write a stub and my code is really large. what I noticed is If i try to register a person who is already registered, the FA server locks up. I will play with it some more and get back to you. I did get it stuck in getting a 500 server error late last night, but it cleared up by itself in a few hours. I'll try to find repeatable steps.
Well within a few minutes more of testing I got this popup from the email link. I didn't add any new users or delete any. It just occurred upon clicking on a plain vanilla passwordless email. i AM IN dOCKER, btw
The system appears stuck this way. I brought down my containers and brough them back up with no luck. I posted the log in github fusionauth issues.
-
There appears to be a bug in the version i am running. I am in the process of upgrading now.
-
Upgrading to v 1.19.7 seemed to work. thx