Making WordPress.org

Opened 10 years ago

Closed 7 years ago

#592 closed defect (bug) (worksforme)

Plugins API timeouts

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: normal
Component: API Keywords:
Cc:

Description

While browsing through the 'Popular' tab on the Plugins -> Add New screen in trunk, I'm noticing that most of the requests to the Plugins API are timing out. After the "An unexpected error occurred..." message is shown and I reload the page, the response seems to be very quick, likely due to a cache hit the second time around.

If you manually navigate to anything beyond about page 15 you should see the same behaviour if you don't get a response from a cache hit.

I'm using Query Monitor to monitor the HTTP requests to the API on these pages.

Change History (5)

#1 @johnbillion
10 years ago

I should add that what I mean by browsing is paging through the screens one after the other.

#2 @netweb
10 years ago

Not sure if this is the same issue exactly, waiting ~20 seconds for "Install Now" to turn up:

Repro:

  • Add new plugin screen
  • Search for Akismet
  • Click "more details"
  • Wait for "Install Now" to show up

https://cloudup.com/cjhuaWgTUl8

#3 follow-up: @obenland
7 years ago

After Shiny Updated v2 and the plugin directory update, is this still an issue?

#4 in reply to: ↑ 3 @dd32
7 years ago

I have a feeling that this was mostly fixed by the new plugin directory - although there are some API args which will be slower at high page numbers

#5 @obenland
7 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Let's keep an eye on it and close it for now. I couldn't reproduce it anymore either.

Note: See TracTickets for help on using tickets.