Bug 36014 - UMC shows "Unauthorized" on login when UMC-server is not running
UMC shows "Unauthorized" on login when UMC-server is not running
Status: RESOLVED DUPLICATE of bug 36400
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-29 10:02 CEST by Florian Best
Modified: 2014-12-16 17:16 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting, Usability
Max CVSS v3 score:
best: Patch_Available+


Attachments
fix authentication response if UMC-server is not running (1.46 KB, patch)
2014-09-29 10:02 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-09-29 10:02:44 CEST
Created attachment 6137 [details]
fix authentication response if UMC-server is not running

If the UMC-Server is not running and someone tries to authenticate at UMC the UMC Web-Server currently answers with "401 - Unauthorized" - so that the user thinks his password is wrong.

Instead the answer should be "503 - Service Unavailable".
Attached is a patch which changes this, the frontend already handles this and shows a correct information dialog to the user then.
The dialog contains the text:
"Interner Server-Fehler: Der Dienst ist momentan nicht erreichbar!

Fehlernachricht des Servers:

The server is currently unable to handle the request due to a temporary overloading or maintenance of the server."

Additionally this message could be adapted so that the user is questioned to inform the Administrator to restart the UMC-Server.

In the internal development process we often stumble up on this.
Comment 1 Florian Best univentionstaff 2014-12-16 17:16:14 CET

*** This bug has been marked as a duplicate of bug 36400 ***