Hello, everyone.
We have just upgraded to 1.7.13. We were able to successfully use self-registration on our TEST server pointing to our DEV database but once we moved to testing against our PROD database, self-registration always fails with this error message in an alert-style box in the browser: "Sorry. We are unable to sign you up at this time. Please contact the admin. " Users see this message after authenticating, clicking the ‘accept terms’ checkbox, and clicking the sign up button.
I’ve traced that message back to these lines in this file /var/www/html/webclient/registration/user/federated/index.php
$result_status_error = hasErrorStatus(setUser($full_name, $email, $username, $passwordi, $_COOKIE['hostName']));
if ($result_status_error) {
$_SESSION['error_msg'] = "Sorry. We are unable to sign you up at this time. Please contact the admin. " . $extrastuff;
and I believe these errors in the Wildfly log are related (but I could easily be wrong about that);
2024-02-20 08:51:50,432 ERROR [edu.harvard.i2b2.pm.delegate.ServicesHandler] (Thread-819) i2b2demo is not associated with this domain i2b2prod. Please check the i2b2workbench.properties file.
2024-02-20 08:51:50,432 ERROR [stderr] (Thread-819) java.lang.Exception: i2b2demo is not associated with this domain i2b2prod. Please check the i2b2workbench.properties file.
2024-02-20 08:51:50,432 ERROR [stderr] (Thread-819) at edu.harvard.i2b2.pm.delegate.ServicesHandler.execute(ServicesHandler.java:317)
2024-02-20 08:51:50,432 ERROR [stderr] (Thread-819) at edu.harvard.i2b2.pm.ws.ExecutorRunnable.run(ExecutorRunnable.java:81)
2024-02-20 08:51:50,432 ERROR [stderr] (Thread-819) at java.lang.Thread.run(Thread.java:750)
2024-02-20 08:55:42,323 ERROR [edu.harvard.i2b2.pm.delegate.ServicesHandler] (Thread-820) Unable to sign in
2024-02-20 08:55:42,324 ERROR [stderr] (Thread-820) java.lang.Exception: Unable to sign in
2024-02-20 08:55:42,324 ERROR [stderr] (Thread-820) at edu.harvard.i2b2.pm.delegate.ServicesHandler.execute(ServicesHandler.java:435)
2024-02-20 08:55:42,324 ERROR [stderr] (Thread-820) at edu.harvard.i2b2.pm.ws.ExecutorRunnable.run(ExecutorRunnable.java:81)
2024-02-20 08:55:42,324 ERROR [stderr] (Thread-820) at java.lang.Thread.run(Thread.java:750)
What we do see and know:
The error message in the Wildfly log that asks me to check the i2b2workbench.properties file ... is there some config setting somewhere that I can look for? Or does anyone have advice on finding what could be slightly different between our DEV and PROD databases that might explain this?
Thank you very much,
Dale Johnson
Department of Biomedical Informatics and Data Science
University of Alabama at Birmingham