-
-
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
Using object storage is slow because of « 429 too many request » on objectstorage auth API #3248
Comments
cc @icewind1991 |
Hi @LukasReschke, I seem to be having the same problem but downloading files to my local computer. This is what the desktop client is showing me: And this is what I found in the nextcloud.log:
|
#4116 adds caching for auth tokens to swift |
Please retry with 12.0.2. We improved a lot in the 12 series for object storage. |
I don't know what happened but this doesn't work anymore. I'm using nextcloud 14.0.4 and I get the error all the time, making this unusable. |
Steps to reproduce
Expected behaviour
Files are stored directly on the bucket.
Actual behaviour
Error 500 is returned by nextcloud server to nextcloud client, because of an error in objectstore app : « Could not create object: Client error response [status code] 429 [reason phrase] Too Many Requests [url] https://auth.cloud.ovh.net/v2.0/tokens »
Server configuration
Operating system: FreeBSD 11
Web server: nginx + php-fpm
Database: mariaDB
PHP version: 7.0.14
Nextcloud version: 11.0.1
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: tarball archive
Signing status:
Signing status
The content of config/config.php:
Config report
Are you using external storage, if yes which one: none
Are you using encryption: no
Are you using an external user-backend, if yes which one: none
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
``` {"reqId":"jrte5uCaPZF1+liXHDVr","remoteAddr":"188.165.203.76","app":"objectstore","message":"Could not create object: Client error response\n[status code] 429\n[reason phrase] Too Many Requests\n[url] https:\/\/auth.cloud.ovh.net\/v2.0\/tokens","level":3,"time":"2017-01-25T04:52:31+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/lilypond\/html\/Documentation\/internals\/sequentialmusic.html","user":"vanelstraete.antoine","version":"11.0.1.2"} {"reqId":"jrte5uCaPZF1+liXHDVr","remoteAddr":"188.165.203.76","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 500 Client error response\\n[status code] 429\\n[reason phrase] Too Many Requests\\n[url] https:\\\/\\\/auth.cloud.ovh.net\\\/v2.0\\\/tokens\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(158): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->convertToSabreException(Object(Guzzle\\\\Http\\\\Exception\\\\ClientErrorResponseException))\\n#1 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(137): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #31)\\n#2 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1072): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('sequentialmusic...', Resource id #31)\\n#3 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('Documents\\\/lilyp...', Resource id #31, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#10 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":557,\"User\":\"vanelstraete.antoine\"}","level":4,"time":"2017-01-25T04:52:31+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\blahblahblah...","user":"vanelstraete.antoine","version":"11.0.1.2"} ```The text was updated successfully, but these errors were encountered: