Extension directory times out when uncached
Civi's Guzzle connections time out after the number of seconds specified in the http_timeout
setting. Which, by default, is 5 seconds.
As the extension directory has grown, the amount of time needed to generate the results of, say, https://civicrm.org/extdir/ver=5.68.alpha1|uf=Drupal|status=stable|ready=
now exceeds 5 seconds.
This leads to timeouts when accessing the directory - difficult to troubleshoot because the next time, the cached results are returned quickly.
I thought I'd raise this as an infra issue first. If reducing the time needed to generate the results isn't possible, I'll submit a PR to raise the connection timeout specifically when loading the extension directory.