Synapse Down For Maintenance Page
Better, it show the Down page nwo (+ the msg popup). However if you dismiss the message and still attempt to login, then no msg. We should disable the button.
Assigning back to since she did the lion's share of the work to solve this ticket.
Recommend the Login widget is not changed (and still does the exponential backoff if attempted during RO mode), and instead we add something to the SynapseStatusDetector loop (which redirects to the Synapse Down page if in RO mode or is Down).
It looks like we're doing exponential backoff on 503 but we stay at the login page with no message.
Also, if already on the page, I did not see the change of state (Popup that says we're in RO mode).
I did see it when connecting in RO mode, or after refreshing the page.
, the status message that’s coming from the backend is customizable. The migration utility sets it on staging to 'Only read services are available during migration.' when Synapse goes into read-only mode, and back to 'Services are available for both read and write.' when back in RW mode. During migration, I manually set the message on prod during the final migration to a more succinct 'Synapse is in READ-ONLY mode' when RO and 'Synapse is in READ-WRITE mode' when coming back up.