Slowed down instance due to *.nextcloud.com outages? #40088
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
27-feedback
bug
feature: install and update
performance 🚀
Bug description
Yesterday, my own Nextcloud instance (manual install on Debian container) becane extremely unresponsive. Each site / authenticated route would take 5-10 minutes to load, with the only exceptions being the updater when directly navigated to rather than using the settings "Open Updater", and the login screen for unauthenticated browser sessions.
I attempted to backup and update to perhaps alleviate the issue, however found that docs.nextcloud.com and download.nextcloud.com were down, taking a very long time to time out, almost similar to my own instance, rendering me unable to update, but providing a possible line of reasoning.
The only explanation I could come up with was that perhaps the built-in update notification app was attempting to fetch the newest version from its endpoint, which I later dug out of the code to be updates.nextcloud.com/updater_server, but experiencing the same issue i had with docs and download, causing the loading to be delayed until the request finally either timed out or succeeded.
Steps to reproduce
This reproduction is untested.
If my theory is correct, then it should be loading for a long time.
Expected behavior
I expected to load the site in a reasonable amount of time given my setup, despite nextcloud services being down. As a fix, if I've correctly identified the issue, I would propose adding a manual timeout to the fetching of updates, perhaps 1-5 seconds. Low enough not to be a major inconvenience, but high enough to not prematurely terminate would-be-successful requests.
Installation method
None
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
The text was updated successfully, but these errors were encountered: