auth failure isn't handled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bug Hugger |
Confirmed
|
High
|
Unassigned |
Bug Description
bughugger doesn't understand when LP auth fails. At "Setting Up Launchpad Credentials.", progress bar "Requesting Authorization Token From Launchpad," if Launchpad gives an HTTP error code, bughugger waits forever, with no feedback to the user that they should hit "Cancel."
Then, when one hits "Cancel", the progress window remains, and the entire program hangs and the main window of bughugger is marked as dead by the windowing system.
cmiller@hypatia:~$ bughugger
running logon dialog for bughugger
making .local directory for bughugger
/home/cmiller/
directories now exist for bughugger
no cached credentials, retrieving from Launchpad
attempting to authenticate
contacting https:/
<launchpadlib.
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
data = self.run_
File "/usr/lib/
link = self.__
File "/usr/lib/
auth_url = credentials.
File "/usr/lib/
raise HTTPError(response, content)
HTTPError: HTTP Error 503: Service Unavailable
Response headers:
---
connection: close
content-length: 1294
content-type: text/html
date: Thu, 04 Feb 2010 17:11:04 GMT
expires: Thu, 04 Feb 2010 17:11:04 GMT
server: squid/2.6.STABLE18
status: 503
vary: Accept-Encoding
via: 1.0 arsenic.
x-cache: MISS from arsenic.
x-cache-lookup: MISS from arsenic.
x-scheme: https
x-squid-error: ERR_CANNOT_FORWARD 115
---
Response body:
---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
<HTML><HEAD><META HTTP-EQUIV=
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Unable to forward this request at this time.
</STRONG>
</UL>
<P>
This request could not be forwarded to the origin server or to any
parent caches. The most likely cause for this error is that:
<UL>
<LI>The cache administrator does not allow this cache to make
direct connections to origin servers, and
<LI>All configured parent caches are currently unreachable.
</UL>
<P>Your cache administrator is <A HREF="mailto:
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Thu, 04 Feb 2010 17:11:04 GMT by arsenic.
</ADDRESS>
</BODY></HTML>
---
Changed in bughugger: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: lucid |
This is "0.61" from the ppa.