+vouchers times out

Bug #1014641 reported by Brad Crittenden
14
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://launchpad.net/~/+vouchers) timeouts are being seen, e.g.

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

Brad Crittenden (bac)
tags: added: oops timeout
Curtis Hovey (sinzui)
tags: added: salesforce
Curtis Hovey (sinzui)
tags: removed: oops
Revision history for this message
Laura Czajkowski (czajkowski) wrote :

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.

Changed in launchpad:
importance: High → Critical
Ian Booth (wallyworld)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Curtis Hovey (sinzui) wrote :

There is not default timeout for transports set when garbo frequently runs.
http://qastaging.launchpadlibrarian.net/93904170/21KnXZMdpT7qFlxamFbrmaiINv4.txt

The default timeout is set by launchpad when it starts. I think we have two choices. Set a default timeout, or decorate the proxy methods with a timeout decorator.

tags: added: qa-bad
removed: qa-needstesting
tags: added: bad-commit-16172
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-bad
Changed in launchpad:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
tags: added: qa-ok
removed: qa-needstesting
Ian Booth (wallyworld)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.