Error refreshing authentication token (Appspot server over quota) #147
Comments
judhat2
commented
Sep 20, 2015
|
Amazon Cloud Drive is currently having some problems. I am getting the same message and can't access their website. |
|
+1 I called them earlier. They're investigating Sent from my iPhone On 20 Sep 2015, at 15:16, judhat2 <notifications@github.commailto:notifications@github.com> wrote: Amazon Cloud Drive is currently having some problems. I am getting the same message and can't access their website. Reply to this email directly or view it on GitHubhttps://github.com/yadayada/acd_cli/issues/147#issuecomment-141791051. |
amaxcz
commented
Sep 20, 2015
|
ofc, its a good reason to make a fix acdcli now :) |
|
You can't fix acdcli if Amazon is down... I get 500 errors btw, not the same as you. Sent from my iPhone On 20 Sep 2015, at 15:17, amaxcz <notifications@github.commailto:notifications@github.com> wrote: ofc, its a good reason to make a fix acdcli now :) Reply to this email directly or view it on GitHubhttps://github.com/yadayada/acd_cli/issues/147#issuecomment-141791499. |
yadayada
added the
oauth
label
Sep 20, 2015
yadayada
referenced
this issue
Sep 20, 2015
Closed
Error during sync "This application is temporarily over its serving quota. Please try again later." #148
yadayada
changed the title from
please track ACD failures in proper way and return right message and error code to Error refreshing authentication token (Appspot server over quota)
Sep 20, 2015
jbuchbinder
commented
Sep 20, 2015
|
Any chance of checking in the appspot code (since it's not accessible when the server is over quota)? I'm sure some of us wouldn't mind running our own instances to take some of the traffic off the appspot service. :) |
|
I have tried with my own oauth handler, and get the same error. I think there's still an issue with Amazon. |
vampywiz17
commented
Sep 20, 2015
|
Same error with me.. I talk the amazon support. The answer: "Hello, I'm sorry to hear about the trouble you've in using Cloud Drive Web and PC application. At this point of time, we are currently facing the issue and our technical team is working on it to resolve the at the earliest. Please try again over the next few hours. Errors like this are usually corrected shortly after they're reported. Before you try, please signout from the application and then signin and try again. One of the benefits we try very hard to offer our customers is convenience. I'm very sorry for the inconvenience you experienced. Thanks for your patience and understanding in this matter. We look forward to see you soon again. We'd appreciate your feedback. Please use the links below to tell us about your experience today." |
jon-rolfe
commented
Sep 20, 2015
|
@yadayada In 17 hours when the quota is reset, won't there be an even larger spike in requests from the 24+ hour downtime? If so... it'll hit the quota almost instantly again. Repeat ad infinitum. |
|
Ignore me, I was able to sync when refreshing the @jon-rolfe has a very good point. This may be the time to provide real documentation on setting own oauth handler. |
jamesrascal
commented
Sep 20, 2015
|
Can we setup a donate portal or something to bring this back online? |
|
Donations won't help this. Check #74 (comment) for using your own oauth app - the steps with the webserver are unneseccary. |
conihorse
commented
Sep 20, 2015
|
Heh interesting, that should still be there - give me a moment Actually never mind, that step is unnecessary - skip the step about a local webserver. You can just paste the URL you are redirected to into |
vampywiz17
commented
Sep 20, 2015
|
I try to create own oauth (skip the webserver step) but i get a error if i try to run acd_cli sync: The firefox cant connect the "locashost" server What i do it wrong? |
|
That's fine. Just copy the url Firefox is trying to make you go to and paste in to acd_cli Sent from my iPhone On 20 Sep 2015, at 17:37, vampywiz17 <notifications@github.commailto:notifications@github.com> wrote: I try to create own oauth (drip the webserver step) but i get a error if i try to run acd_cli sync: The firefox cant connect the "locashost" server What i do it wrong? Reply to this email directly or view it on GitHubhttps://github.com/yadayada/acd_cli/issues/147#issuecomment-141808827. |
vampywiz17
commented
Sep 20, 2015
|
ok but where? :) and how... |
|
When it launches your browser it should be waiting for you to input the URL you were redirected to, so just go back to the terminal |
vampywiz17
commented
Sep 20, 2015
|
Ohh i see now is working! Thanks a lot! One question: next time, if i try to sync, (like restart computer) it is need to do this steps again? |
|
No, if you check |
|
If someone is desperate, I put up a backup on https://acd-cli-oa-backup.appspot.com diff --git a/acdcli/api/oauth.py b/acdcli/api/oauth.py
index 2bc1e60..b8ffd99 100644
--- a/acdcli/api/oauth.py
+++ b/acdcli/api/oauth.py
@@ -124,7 +124,7 @@ class OAuthHandler(object):
class AppspotOAuthHandler(OAuthHandler):
- APPSPOT_URL = 'https://tensile-runway-92512.appspot.com/'
+ APPSPOT_URL = 'https://acd-cli-oa-backup.appspot.com'
def __init__(self, path):
super().__init__(path) |
vampywiz17
commented
Sep 20, 2015
|
Great! Thanks! |
fiunchinho
commented
Sep 20, 2015
|
Changing appspot url now I get
|
|
Yeh appears to be another Amazon problem |
RobinHoutevelts
commented
Sep 20, 2015
|
I could fetch my oath_data right now. Edit: tried again later. Getting errors again :/ |
dellipse
commented
Sep 21, 2015
|
After trying to use the oauth data from the backup server, I am now getting the following errors:
and
Any idea what is causing these issues? Are they related to the oauth change? Do I need to modify a file on my machines to use the backup oauth APPSPOT_URL? |
vampywiz17
commented
Sep 21, 2015
|
Same error with me... I think it is not a settings problem your machine. It is amazon problem... I can't login to the website, so it is a global fault... I think |
dellipse
commented
Sep 21, 2015
|
Amazon is still having issues with CloudDrive, but if you call them, they are at least offering some promotional credits as a token...not that it helps, but.... |
|
Seems that Amazon have fixed it by now. |
dellipse
commented
Sep 21, 2015
|
No, it is sporadic and not effecting everyone according to the CSR I spoke with. |
|
Well, I happened to be in one of the tiny spots when it sporadically worked...then I'm out of luck. It's best if Amazon tell us what happened afterwards. |
When this happens, acd_cli returns 0 and the cache is not updated. Maybe this error should produce a non-zero exit code? |
amaxcz
commented
Sep 21, 2015
|
ACD broken totally. Its allows upload sometime. but not listing of files. so, downtime ~14h for now :) |
|
At least 23h now according to GAE's spike. Their uptime just dropped to 99.7% this year. It better not be, but let's see if ACD crosses the 99% line...that would be 88h downtime. |
yadayada
added the
AWS apocalpyse
label
Sep 21, 2015
dellipse
commented
Sep 21, 2015
|
Here is the latest sample response (outside of the 503 errors)
Not sure if we want to open another issue for the fact that the lack of data results in an "everything worked" result code of 0. |
jonas5
commented
Sep 21, 2015
acdcli.api.common.RequestError: RequestError: 1004, Error refreshing authentication token: <html>
<head>
<title>Internal Server Error</title>
<style>
body {
padding: 20px;
font-family: arial, sans-serif;
font-size: 14px;
}
pre {
background: #F2F2F2;
padding: 10px;
}
</style>
</head>
<body>
<h1>Internal Server Error</h1>
<p>The server has either erred or is incapable of performing
the requested operation.</p>
<pre>Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~tensile-runway-92512/1.387290494974093533/main.py", line 105, in post
resp = urllib2.urlopen(AMAZON_OA_TOKEN_URL, urllib.urlencode(params), timeout=15)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
</pre>
</body>
</html> |
vampywiz17
commented
Sep 21, 2015
|
The web connect start to normalize (not perfect, but sometimes loading well) but the acd_cli not working... |
dellipse
commented
Sep 21, 2015
|
@yadayada I suggest that once things calm down with the ACD API side of things, you reach out to the AWS folks to see if the can reset your daily limit so you can continue to operate normally as this was caused by an Amazon issue, not your code. They have done similar things for me in the past, but your mileage may vary.... |
vampywiz17
commented
Sep 21, 2015
|
@dellipse I think, lot of as now use own OAuth server (me, yes) so now the limit not the biggest problem. |
dellipse
commented
Sep 21, 2015
|
@vampywiz17 True, but for some people it is a pain to set up their own OAuth server, so they still rely on his. If AWS resets his quota, that fixes THAT piece of the issue for everyone. Now to get ACD to start working with their APIs. It would also be good for them to tell us what happened. It would be awesome if they used this format from meh.com, but I doubt they will. At least they could use this when things go wrong. |
metalgeekstl
commented
Sep 21, 2015
|
Are we all still waiting for Amazon to get their collective S&#* together? |
|
Can we stop all the unproductive spam on this issue? My inbox is becoming full of useless information for a situation none of us have control over. I propose we only add stuff to this issue when there's something in |
|
Finally a successful sync. Anyone else? |
vampywiz17
commented
Sep 22, 2015
|
Yes, working again. |
yadayada
closed this
Sep 22, 2015
yadayada
added a commit
that referenced
this issue
Oct 10, 2015
|
|
yadayada |
6adcad9
|




amaxcz commentedSep 20, 2015
Now ACD have some troubles from my side.
This application is temporarily over its serving quota. Please try again later.