-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Very slow access to apps.nextcloud.com/api/v1/apps.json for checking app updates #45162
Comments
This issue is related more to the appstore and related to infrastructure, imho. Sometimes getting of json from "api/v1/apps.json" can fail(when appstore is under high load), but in 98-99% cases it should be fine. |
Could you please tell the infrastructure division/department to check/troubleshoot the issue? Since it can't load the apps.json file, I can't update the apps and also can't accessing the Appstore too to install apps. :( |
It works for me now and has worked since the very beginning of today. |
How to increase the curl timeout in the nextcloud to fetch apps.json file completely? Do you have any clue? |
@hammeractual What does
#40082 has a manual approach for doing so. Also it's tracking the feature request. |
Thanks for the info |
I was wrong. |
Something does not add up. Your throughput is incredibly slow relative to your latency. You're getting like 6558 B/s (!). Can you sanity check that curl performance by downloading something from elsewhere: Maybe P.S. Is your Server @ Hetzner? |
Quite fast while curl to another server/address. |
Any updates guys? :'( I've tried to increase timeout value in Fetcher.php to 1800 seconds, but no success.
|
I think the challenge is we're having a hard time reproducing this and there doesn't seem be an explanation for why your environment is experiencing this. It's tough to fix without a clear (or even suspected possible) cause. :-) |
You may have missed this question. I asked because your ping times are ~1-2 ms. At the time I was taking a shot in the dark that maybe there is something unusual about Hetzner's internal client-to-client connectivity. Today I ran across a note in the Portainer Knowledge Base while trying to help out a user on the forums that suggests Hetzner's private networking uses an MTU of 1450. Got me thinking about this again. |
Not only that. Try to load https://apps.nextcloud.com/apps/mail Ok, it is hosted at the terrible Hetzner, but this is not only Hetzner at fault. |
Same issue with our Nextcloud instance ver. 30.0.2. It's located on the west coast of Canada in a datacenter with 1 gigabit connection, not sure if that would make a difference. It seems to have gotten worse over the last two weeks as I was able to open the app store after several tries before, now it times out consistently. Here's the output of the curl command:
ping:
|
I just installed Nextcloud a few days ago, and this (or something like this) is happening to me too. Over five minutes for under 16 MB.
This causes the app store page to be completely unusable, due to always timing out. From
I understand I can (or at least can try) to increase the time limit, but even so, at five minutes per load it won't be terribly usable anyway. It seems like this is obviously not a problem with my Nextcloud configuration, as the I should also note that I strongly believe this is not some temporary condition: (1) The app store has been unusable for me ever since I installed Nextcloud, days ago. Up to tonight I've been troubleshooting other issues, and just started investigating this one, but I was checking the app store page every once in a while, and it always failed. Looking at the logs now, it was always due to timing out on the download. (2) I've been vaguely interested in Nextcloud for years, and my memory is that the site itself has always seemed extremely slow whenever I looked at it. (3) Several years ago, I installed Nextcloud, but eventually gave up on it. When I installed it this time (a few days ago), I had forgotten why I gave up, but now I believe I remember it was also because the app store page was unusable, timing out consistently. |
Yeah, just tried bumping the timeout (by manually modifying |
Bug description
Often to always failed when checking for Apps Update caused by very slow access to https://apps.nextcloud.com/api/v1/apps.json
Connection speed on the Client and on the Server seems normal, but when accessing https://apps.nextcloud.com/api/v1/apps.json either from the server or from the client is pretty slow (mostly failed to load) for json file to be loaded completely.
Steps to reproduce
Expected behavior
Checking update for apps completed successfully.
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
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?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
[appstoreFetcher] Warning: Could not connect to appstore: cURL error 28: Operation timed out after 60000 milliseconds with 903254 out of 6408674 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json GET /ocs/v2.php/apps/updatenotification/api/v1/applist/28.0.5.1 from x.x.x.x by e2cd37b6-6ebf-103d-84c2-addc165358a8 at 3 Mei 2024, 09.09.50
Additional info
No response
The text was updated successfully, but these errors were encountered: