[Bug]: If a NC instance with folders shared to your instance doesn't respond, your NC instance also times out #44814
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
28-feedback
bug
feature: external storage
feature: federation
Bug description
I have a couple of shared folders from foreign NC instances imported in my server. Then my friends server died, making each http connection time out. At the same time my NC instance stopped working (at least most pages); when his worked, mine also worked again. While debugging, I raised the PHP memory limit to 1,5 GB - but that didn't solve the problem.
Steps to reproduce
(I don't have time to prepare a setup for reproduction - still I am pretty sure that is the problem)
Expected behavior
Actually not sure how to best solve it on a technical level in PHP - the curl timeout is already at 10s I noticed. But if you have multiple unreachable folders, the 30s can be reached. Maybe in case it is unavailable: Save that information and regularly re-check availability asyncronely via cron? So there won't be anymore syncronous requests which delay responses as long as the folder is unavailable?
Installation method
Community Docker image
Nextcloud Server version
28
Operating system
Other
PHP engine version
PHP 8.2
Web server
Nginx
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
Another small issue I noticed: In the original logfile there is a formatting error since I found this string quite often "http://localhosthttps://" - followed by the URL of a federated NC instance (or a file stored there)
The text was updated successfully, but these errors were encountered: