+vouchers times out
Bug #1014641 reported by
Brad Crittenden
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
When attempting to redeem a commercial subscription voucher (https:/
OOPS-c5a0469351bb7e2a7c6783bbfa85467e
Launchpad must talk to a proxy running in the data center to get the data from Salesforce. That interaction is occasionally taking longer than the 9 second allowed timeout.
The SQL time is only 90ms and the remainder appears to be waiting on a response from the proxy.
When this happens, the proxy is telling Salesforce that the voucher was redeemed but the timeout prevents the db in LP from being updated with the information. The result is the user cannot retry as the voucher is not usable again.
Related branches
lp:~wallyworld/launchpad/vouchers-timeout-1014641
Superseded
for merging
into
lp:launchpad
- Curtis Hovey (community): Approve (code)
-
Diff: 637 lines (+237/-80)12 files modifieddatabase/schema/security.cfg (+1/-1)
lib/lp/registry/browser/person.py (+26/-15)
lib/lp/registry/browser/tests/test_commercialsubscription.py (+61/-2)
lib/lp/registry/doc/commercialsubscription.txt (+12/-6)
lib/lp/registry/errors.py (+5/-0)
lib/lp/registry/model/person.py (+16/-2)
lib/lp/registry/model/product.py (+14/-0)
lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt (+0/-48)
lib/lp/registry/templates/person-vouchers.pt (+4/-3)
lib/lp/scripts/garbo.py (+59/-0)
lib/lp/scripts/tests/test_garbo.py (+36/-1)
lib/lp/testing/factory.py (+3/-2)
lp:~wallyworld/launchpad/vouchers-timeout2-1014641
- Curtis Hovey (community): Approve (code)
tags: | added: oops timeout |
tags: | added: salesforce |
tags: | removed: oops |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Ian Booth (wallyworld) |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-needstesting removed: qa-ok |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is back causing issues again for users, has happened twice in the last few weeks causing more issues for people who wish to use their vouchers.