acd_cli icon indicating copy to clipboard operation
acd_cli copied to clipboard

Rate Exceeded

Open nemymongus opened this issue 7 years ago • 82 comments

I am getting the following when trying to do a sync. I have tried delete-everything and reinstalling with no gain. Both computers that I had set up are broken but the message is slightly different on the one that I didn't reinstall on and it has the 429 error code. Did acd_cli get shut down again?

17-05-30 21:37:42.718 [CRITICAL] [acdcli.api.client] - Error getting endpoint data. Response: {"message":"Rate exceeded"} Traceback (most recent call last): File "/usr/local/bin/acd_cli", line 9, in load_entry_point('acdcli==0.3.2', 'console_scripts', 'acd_cli')() File "/usr/local/bin/acd_cli.py", line 1657, in main acd_client = client.ACDClient(CACHE_PATH, SETTINGS_PATH) File "/usr/local/lib/python3.5/dist-packages/acdcli/api/client.py", line 46, in init self._load_endpoints() File "/usr/local/lib/python3.5/dist-packages/acdcli/api/client.py", line 63, in _load_endpoints self._endpoint_data = self._get_endpoints() File "/usr/local/lib/python3.5/dist-packages/acdcli/api/client.py", line 80, in _get_endpoints raise Exception Exception

nemymongus avatar May 31 '17 02:05 nemymongus

Ditto:

Traceback (most recent call last):
  File "/usr/local/bin/acd_cli", line 9, in <module>
    load_entry_point('acdcli==0.3.2', 'console_scripts', 'acd_cli')()
  File "/usr/local/bin/acd_cli.py", line 1688, in main
    ret = args.func(args)
  File "/usr/local/bin/acd_cli.py", line 849, in usage_action
    r = acd_client.get_account_usage()
  File "/usr/local/lib/python3.5/dist-packages/acdcli/api/account.py", line 67, in get_account_usage
    raise RequestError(r.status_code, r.text)
acdcli.api.common.RequestError: RequestError: 429, {"message":"Rate exceeded"}

ChrisRomp avatar May 31 '17 02:05 ChrisRomp

I figured I'd try to enable my own security profile as outlined here, but then I started getting invalid_scope errors when trying to get a token under my new profile.

And now this page has the following message:

The Amazon Drive API and SDKs are currently closed to new developers. Thank you for your interest. We received an overwhelming number of API invitation requests with many innovative integration scenarios. We have ended the invitation period to focus on enabling new customer experiences with current developers.

I'm unsure if this is related, or how recent that message is, but it's crap timing. :-/

ChrisRomp avatar May 31 '17 03:05 ChrisRomp

Same here, same stacktrace as @nemymongus.

au5ton avatar May 31 '17 03:05 au5ton

It would probably be safe to assume that this is just another Amazon Cloud Drive quota we blew over (#550). I would wait until things settle, I doubt this is the end again, unless @yadayada went behind Amazon's back and is using a different CLIENT_ID and never had their ban lifted in the first place.

This is likely just Amazon's throttling as described in #416

au5ton avatar May 31 '17 03:05 au5ton

Still get 429 even switching between multiple authorized apps. Perhaps something wrong on the backend.

In the response headers: x-amzn-ErrorType: TooManyRequests:http://internal.amazon.com/coral/com.amazon.clouddrive.service/

Body: {"code":null,"info":null,"logref":null,"message":"Rate exceeded"}

jxyzn avatar May 31 '17 05:05 jxyzn

Yep. I'm getting a 429 with a different app too.

chrisgavin avatar May 31 '17 06:05 chrisgavin

Works fine with Advanced Users (Security Profile) auth method. Yes, it means you have to register your own app on https://developer.amazon.com

karbentur avatar May 31 '17 07:05 karbentur

@karbentur, registering a security profile won't work anymore because Amazon have to whitelist it and they aren't accepting any new apps. I'm also not convinced it would help because the security profiles for several apps seem not to be working.

chrisgavin avatar May 31 '17 07:05 chrisgavin

@chrisgavin, ok, now I see. Anyway, security profiles method still works fine.

karbentur avatar May 31 '17 07:05 karbentur

@karbentur how can you say it works fine? I have a security but I cant generate a new oauth key? I the page to generate them is gone?

bdeluca avatar May 31 '17 08:05 bdeluca

I have the same problem: [CRITICAL] [acdcli.api.client] - Error getting endpoint data. Response: {"message":"Rate exceeded"} Traceback (most recent call last): File "/usr/bin/acd_cli", line 11, in load_entry_point('acdcli==0.3.2', 'console_scripts', 'acd_cli')() File "/usr/bin/acd_cli.py", line 1646, in main acd_client = client.ACDClient(CACHE_PATH, SETTINGS_PATH) File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 46, in init self._load_endpoints() File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 69, in _load_endpoints self._endpoint_data = self._get_endpoints() File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 80, in _get_endpoints raise Exception Exception

bigrana avatar May 31 '17 09:05 bigrana

+1

ederjc avatar May 31 '17 09:05 ederjc

+1

AiMAnsarie avatar May 31 '17 10:05 AiMAnsarie

Same here

ShapeShifter499 avatar May 31 '17 11:05 ShapeShifter499

+1

lloydie2009 avatar May 31 '17 11:05 lloydie2009

for me, acd_cli sync give this:

acdcli.api.common.RequestError: RequestError: 429, [acd_api] no body received.

and Expandrive gives an empty folder.

Amazon is messing again with 3rd party tools

Kedryn avatar May 31 '17 13:05 Kedryn

My Expandrive is also not working.

AiMAnsarie avatar May 31 '17 13:05 AiMAnsarie

From Expandrive support chat, they are getting error 429 as acd_cli but it's not an oauth error like last time

Kedryn avatar May 31 '17 14:05 Kedryn

That's actually a good news in a sense that it could be temporary. As Expandrive is a paid (and an expensive one) service and the developers play by the rules but even they're down.

AiMAnsarie avatar May 31 '17 14:05 AiMAnsarie

OR, ACD decided to shut down 3rd party tools. Remeber that the 3rd party tools web page has been removed from amazon few days ago

Kedryn avatar May 31 '17 14:05 Kedryn

@kedryn Yep that's what I'm concerned about. Guess all we can do is wait.

ChrisRomp avatar May 31 '17 14:05 ChrisRomp

That would be a pretty stupid move on Amazon's account because I haven't seen many people using it as a "backup/restore" only storage. Even if people do then Amazon hasn't made even a remotely useful app or web interface to perfectly utilize stored media. That's enough inconvenience for me to switch to some other cloud storage with a lot less space.

AiMAnsarie avatar May 31 '17 14:05 AiMAnsarie

Gentlemen, Today I got the same problem while trying to connect to Amazon Drive. Acdcli returns the error: [Acdcli.api.client] - Error getting endpoint data. Response: {"message": "Rate exceeded"}

I emailed Amazon, where I quickly responded. I wondered how to use Amazon Drive on Linux. The sad news is that Amazon Drive supports only connection via web browser. Acdcli and rclone client apps are not supported. That's why we're not getting access to Amazon Drive.

Here is the answer portion of the email:

Hello,

I understand your concern about using third party clients and apps to access Amazon Drive on Linux. Unfortunately, third party applications such as, acd_cli and Rclone client access has been revoked and they no longer supports Amazon Drive access. I'm sorry for any inconvenience this might have caused to you. I'd suggest you to please access Amazon Drive using website on Linux. Here's the link:

https://www.amazon.com/clouddrive

ricardoclaus avatar May 31 '17 15:05 ricardoclaus

Oh dear. Hopefully this is just the support person being incompetent and getting confused over the recent OAuth issues. If they really have banned all third party tools intentionally then ACD is completely useless.

On the plus side, maybe this is the motivation needed to reverse engineer the "official" client.

chrisgavin avatar May 31 '17 15:05 chrisgavin

@ricardoclaus I think they are repeating old news to you (I hope). That's one of the the 3 things people seemed to be told by first level support when calling about this last time. Given that other apps are also not working and all this has happened several times before, I would treat this as a likely Amazon problem at least for today.

Or maybe too many people started syncing once acd_cli was reauthorized by Amazon and we have collectively exceeded Amazon's daily quota for acd_cli

thenoahcomputer avatar May 31 '17 15:05 thenoahcomputer

ODrive is still working, so they haven't banned all the 3rd party clients (yet).

talisto avatar May 31 '17 16:05 talisto

Expandrive told me that Amazon is esperiencing selective outage. For example NetDrive is working, Arq backup is not

Il 31 mag 2017 4:16 PM, "Chris R" [email protected] ha scritto:

@Kedryn https://github.com/kedryn Yep that's what I'm concerned about. Guess all we can do is wait.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yadayada/acd_cli/issues/572#issuecomment-305200293, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKyUGzgSmNcryoAzwzNHvx6idSGcMdLks5r_XY_gaJpZM4NrFp9 .

Kedryn avatar May 31 '17 16:05 Kedryn

ODrive is kind of Amazon's buddy. They where there in the first hour and Amazon used their auto-sync feature to promote drive. At the time the official app was just manual and quite unusable. I highly doubt they would ban them that easily.

kconat avatar May 31 '17 16:05 kconat

Shameless plug, but there's a discord server based on discussing future of unlimited cloud storage providers & future of acd_cli

I know last time the issues got out of hand, so there's a acd_cli channel there should anyone be interested.

tombowditch avatar May 31 '17 19:05 tombowditch

The official acd_cli chat is on gitter though, as linked from the main github page: https://gitter.im/yadayada/acd_cli

pink-mist avatar May 31 '17 19:05 pink-mist