Launchpad Ground Control

Login Endless Loop

Reported by Phillip Tweedie on 2011-05-24
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ground Control
Critical
Unassigned

Bug Description

Installed Ground Control from the standard package in Natty, no PPA packages.

Click "Login to Launchpad". Entered details, log in successfully and am taken to the Launchpad main page for a few seconds.

Page disappears and is replaced with the original login screen. This process will repeat itself resulting in an inability to login.

Martin Owens (doctormo) on 2011-05-24
Changed in groundcontrol:
importance: Undecided → Critical
status: New → Confirmed
Tom Bamford (tombamford) wrote :

I am also experiencing this behaviour with groundcontrol-1.6.6-1 running on Natty.

How can I help to debug?

Martin Owens (doctormo) wrote :

Sure it would be hreat if you could help debug the issue. Launch from the command line and get a report back, you can turn on debug by creating a groundcontrol.log file in your home folder which should be automatically filled.

Feel free to dissect the code if you know how.

Tom Bamford (tombamford) wrote :

I have attached ~/groundcontrol.log. The login page popped up and after I signed in successfully the browser window closed, taking me back to the window with the Login and Register buttons. Will also attach the corresponding console output.

Am currently exploring the trunk code, if you have any hints or pointers I'd love to hear them.

Tom Bamford (tombamford) wrote :
Todd Kennedy (toddkenn) wrote :

I'm getting the same issue on Natty with Ground-Control 1.6.6 from Natty PPA

I ran GC from commandline and am attaching both the output from the console as well as the groundcontrol.log file.

I did notice that there's a redirect from https to http as well as some non-ssl content being included. I wonder if it's getting tripped up on that part

Anyway I can help just let me know.

Martin Owens (doctormo) wrote :

Hey Todd, the logs show no errors, it just looks like we never get back a successful web page with a good cookie. Investigating the login code would be a good step, probably the webkit section where it checks for success.

Todd Kennedy (toddkenn) wrote :

Hey doctormo - I was doing some testing today and it seems not all of groundcontrol is inoperable to me. I had manually downloaded via bzr the groundcontrol code, and I also had it installed via your PPA. So I see teh button in the Projects folder to login but I also saw a Test and Update button as well for the groundcontrol code that I downloaded. which by the way was outside the Projects folder. So I'm assuming the plugin is reading the hidden bzr files within the directory I downloaded the initial code to.

I still haven't figured out if it's my account that it causing the issue of not seeing any branches to download or if it's something going on locally. I'm leaning towards my account being an issue because I've tested this with several flavors of ubuntu all with the same results. So next I'll create a test account in launchpad and try from there. I did see that OpenID accounts had issues at one point but am not so that is still the case.

I'll post back with more findings

Rex Tsai (chihchun) wrote :

I can reproduce the same issue, even delete all the cache/configs.

$ rm -rfv ~/.cache/launchpad/ ~/.config/groundcontrol/

Rex Tsai (chihchun) wrote :

Please note that the code looks for "+login" string in responsed page. But the latest version of launchpad page have some dbugging code with "+login" string.

  <!--
    Facet name: unknown
    Page type: locationless
    Has global search: False
    Has application tabs: False
    Has side portlets: False

    At least 53 queries/external actions issued in 0.27 seconds

    Features: {'profiling.enabled': None, 'memcache': None, 'visible_render_time': None, 'disclosure.picker_enhancements.enabled': u'on', 'hard_timeout': u'9000'}
    in scopes {'pageid:BugTask:+batched-comments': None, 'default': True, 'pageid:ProjectGroup:+milestones': None, 'pageid:Person:+archivesubscriptions': None, 'pageid:Distribution:+bugtarget-portlet-bugfilters-stats': None, 'pageid:Ro

    r14185
  -->

Rex Tsai (chihchun) wrote :
Rex Tsai (chihchun) wrote :

We need a SRU[1] for oneiric users.

[1] https://wiki.ubuntu.com/StableReleaseUpdates

Martin Owens (doctormo) wrote :

Rex Tsai, if you look at the recent code release, it contains a fix. I couldn't release it though because Ubuntu has changed so much with Gnome3 that it makes GroundControl completely inoperable and almost unfixable from a Gtk vs pygobject point of view.

I'd be interested to hear what you would like to do with the fix for the login.

Changed in groundcontrol:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers