Bug #971
Unique error codes for network errors, unique handling of errors in general
Status: | Closed | Start date: | 07/29/2011 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Kostas Papadimitriou | % Done: | 0% |
|
Category: | Cyclades UI | Spent time: | - | |
Target version: | v0.6 |
Description
Currently ui report network (ajax) errors with a common error code (-1).
Those errors should have unique codes to ease the identification of the api request that caused the error.
Also, to explore:
Distinct handling of errors based on the error code.
Possibilities:
a) handle the first request timeout in a different way compared to the next ones (retry vs. report error)
b) handle HTTP 400 differently for ?changes-since vs. full GET /servers requests (retry full GET vs. report error)
Related issues
Associated revisions
Improved UI ajax error reporting, Refs #971
- Added request information to the user data
- Set initialized date for each api request
- Added error date to user data
Unique error codes for ajax errors, Refs #971
Improved ajax requests timeout handling, Refs #971
Retry after first timeout for repeated (update
vms/networks/stats) ajax requests.
UI ajax error handling improvements, Refs #971
- centralized error handler method
- avoid first error occured if error concerns malformed/invalid
changes-since value. Reset the parameter and continue requests.
- custom messages for 401 and timeout errors
- disable error report link for 413 and timeout errors
History
#1 Updated by Vangelis Koukis over 12 years ago
- Subject changed from Unique error codes for network errors to Unique error codes for network errors, unique handling of errors in general
- Status changed from New to Assigned
#2 Updated by Kostas Papadimitriou over 12 years ago
Updated list of errors that need to have more informative
user messages on UI
- timeouts
- 401 Not Authorized
- 5xx
- changes-since (can we identify it ???)
- 413 vms limit
#3 Updated by Kostas Papadimitriou over 12 years ago
- Priority changed from Medium to High
- Target version set to v0.5.5
#4 Updated by Kostas Papadimitriou over 12 years ago
- Status changed from Assigned to Feedback
Some improvements have been made on 96ff5f7
remains to change messages for timeout/413/401 (something more informative/user friendly)
#5 Updated by Vangelis Koukis about 12 years ago
- Target version changed from v0.5.5 to v0.6
#6 Updated by Vangelis Koukis about 12 years ago
- Status changed from Feedback to Closed
Merged, made minor modifications to error messages, closing ticket.