Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/me/purchases times out for users with thousands of purchases #96639

Open
dsas opened this issue Nov 21, 2024 · 6 comments
Open

/me/purchases times out for users with thousands of purchases #96639

dsas opened this issue Nov 21, 2024 · 6 comments
Labels
[Experiment] AI labels added [Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Purchase Management Related to managing purchases such as subscriptions, plans, history, auto-renew, cancellation, etc. [Feature] Site Performance Features related to the speed and performance of your site. [Pri] Low Address when resources are available. [Status] Auto-allocated [Status] Escalated to Product Ambassadors Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@dsas
Copy link
Contributor

dsas commented Nov 21, 2024

Quick summary

See the parent issue for more information

/me/purchases returns a HTTP 504 - gateway timeout for users with ~3000 subs. This has been noticed on /domains/manage but will probably cause them problems on other calypso pages too.

This happens for at least one user - it sounds like there have been repeated problems with this user's account for example p1694033164744309-slack-C096PD42U

Steps to reproduce

  1. Switch to the user mentioned in the first message here: p1732188303637839-slack-C07GZ2UA3TN
  2. Open up developer tools and switch to the network tab
  3. Go to /domains/manage
  4. In the network tab, filter for purchases and wait

What you expected to happen

A bunch of results

What actually happened

A http 504

Impact

One

Available workarounds?

No and the platform is unusable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

@dsas dsas added [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Nov 21, 2024
@dsas dsas added Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged [Status] Escalated to Product Ambassadors labels Nov 21, 2024
@matticbot matticbot moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Nov 21, 2024
@github-actions github-actions bot added [Pri] High Address as soon as possible after BLOCKER issues [Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Purchase Management Related to managing purchases such as subscriptions, plans, history, auto-renew, cancellation, etc. [Feature] Site Performance Features related to the speed and performance of your site. labels Nov 21, 2024
Copy link

OpenAI suggested the following labels for this issue:

  • [Feature Group] WPCOM Store & Purchases: The issue is related to the 'purchases' endpoint which suggests it's directly tied to the store and billing functionalities.
  • [Feature] Purchase Management: The problem affects users with a large number of purchases, indicating issues with managing these purchases.
  • [Feature] Site Performance: The HTTP 504 timeout clearly points to a performance issue when users attempt to access their purchase data.

@dsas
Copy link
Contributor Author

dsas commented Nov 21, 2024

@Automattic/shilling I think this is usually your department?

@sirbrillig
Copy link
Member

Yes. This is a known issue: https://github.com/Automattic/payments-shilling/issues/2199

Many users will see an improvement when https://github.com/Automattic/payments-shilling/issues/3173 merges but it doesn't look like those performance improvements will help the specific user in the original issue. We'll need to make further improvements to that endpoint.

@michaeldcain
Copy link
Member

Given the low number of users with thousands of purchases and Shilling's current workload, I'm inclined to lower the priority on this issue. Since we're still discussing it, I'm going to return the "Needs Triage" label.

@michaeldcain michaeldcain added Needs triage Ticket needs to be triaged and removed Triaged To be used when issues have been triaged. labels Jan 27, 2025
@jartes
Copy link
Contributor

jartes commented Feb 6, 2025

👋🏻 @michaeldcain Seeing that your team will work on this one, and we have a clear picture of this issue, can we mark this one as triaged?

I'm lowering the priority as you suggested since we are not getting many user reports for this one (and also to accommodate your backlog).

Thank you 😄

@jartes jartes added [Pri] Low Address when resources are available. and removed [Pri] High Address as soon as possible after BLOCKER issues labels Feb 6, 2025
@Robertght
Copy link

I'm marking this as Triaged on our end, but please ping us again if you need our input.

@Robertght Robertght added Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged labels Feb 21, 2025
@Robertght Robertght moved this from In Triage to Needs Triage in Automattic Prioritization: The One Board ™ Feb 21, 2025
@Robertght Robertght moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Experiment] AI labels added [Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Purchase Management Related to managing purchases such as subscriptions, plans, history, auto-renew, cancellation, etc. [Feature] Site Performance Features related to the speed and performance of your site. [Pri] Low Address when resources are available. [Status] Auto-allocated [Status] Escalated to Product Ambassadors Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

No branches or pull requests

6 participants