Got a 401 on a fresh purchase
Bug #627608 reported by
Michael Vogt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Michael Nelson | ||
Software Center Agent |
Fix Released
|
High
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I just tested purchasing the fluendo DVD player. Right after the purchase I got a 401 from that repository. A minute later when I ran apt-get update manually it worked.
I wonder if there is a race condition between creating the PPA subscription and actually having the subscription available (having the token known in the PPA).
Related branches
lp://staging/~michael.nelson/launchpad/627608-p3a-token-race
- Michael Hudson-Doyle: Approve
-
Diff: 90 lines (+50/-6)2 files modifiedlib/lp/archivepublisher/scripts/generate_ppa_htaccess.py (+7/-2)
lib/lp/archivepublisher/tests/test_generate_ppa_htaccess.py (+43/-4)
Changed in software-center-agent: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 10.10 |
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → ubuntu-10.10 |
Changed in software-center (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in software-center-agent: | |
milestone: | 10.10 → none |
Changed in soyuz: | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There is. So this isn't an issue with the agent, but with Launchpad. The private ppa htaccess files are only updated every 5 minutes currently :(
*/5 * * * * LPCONFIG=ppa /srv/launchpad. net/codelines/ current/ cronscripts/ generate- ppa-htaccess. py -vv
I wonder if we can have this updated to every minute until there is infrastructure to trigger it immediately.
So currently the client will need to poll for a maximum of whatever the cron period is.