Open matthias-ronge opened 4 years ago
You doesn't have to restart tomcat. It's sufficient to enter the root url again. Then you see this: The redirection to the desktop is somehow missing here
I meant that you have to restart Tomcat after fixing the problem with ElasticSearch, so that Production tried to connect again.
Instead of redirecting to a broken desktop with an error message I would suggest to display the same error message popup that is shown when a user without administrative privileges logs into a system with an out-of-date index (see #2928)
I can confirm that I get the desktop (but empty, and takes a long time − timeouts?) when I manually truncate the URL in the browser window; and after starting ElasticSearch it reconnects! Maybe this was fixed meanwile, I update the issue description. However, the suggestion of @solth is the best fit here.
If ElasticSearch is not available, after a correct login only an empty page appears, no desktop (also no empty desktop).
An error message appears in the log when the page with the login form is loaded. However, there is no indication that an error has occurred.
Error message after login:
You have to log in first to realize that you are stuck.
Reconnect is not attempted, Tomcat has to be restarted.Goal: An error message should be displayed on the login form. (The login might be locked.)
The next time you try, Production should try to connect again without you having to restart Tomcat.