charm push should display a message when charm store is down

Bug #1584073 reported by mahmoh on 2016-05-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Undecided
Unassigned

Bug Description

Granted this situation should "never" really happen but if the charm store is down it would be nice to get a message like, "we're experiencing technical difficulties, please try again later" instead of:

ERROR cannot post archive: cannot unmarshal error response "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/ strict.dtd\">\n<html><head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<title>ERROR: The requested URL could n ot be retrieved</title>\n<style type=\"text/css\"><!-- \n Internal Error: Missing Template MGR_INDEX\n\nbody\n:lang(fa) { direction: rtl; fon t-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }\n:lang(he) { direction: rtl; }\n --></style>\n</head><body id=ERR_ZERO_S IZE_OBJECT>\n<div id=\"titles\">\n<h1>ERROR</h1>\n<h2>The requested URL could not be retrieved</h2>\n</div>\n<hr>\n\n<div id=\"content\">\n<p >The following error was encountered while trying to retrieve the URL: <a href=\"http://api.jujucharms.com/v5/~debayan-ch/abot/archive?\">htt p://api.jujucharms.com/v5/~debayan-ch/abot/archive?</a></p>\n\n<blockquote id=\"error\">\n<p><b>Zero Sized Reply</b></p>\n</blockquote>\n\n<p >Squid did not receive any data for this request.</p>\n\n<p>Your cache administrator is <a href=\"mailto:webmaster?subject=CacheErrorInfo%20- %2 ... [3470 bytes omitted]": invalid character '<' looking for beginning of value

^this is in no way pretty or clear.

mahmoh (mahmoh) on 2016-05-20
summary: - charm push should display a message when down
+ charm push should display a message when charm store is down
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers