-
Notifications
You must be signed in to change notification settings - Fork 165
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
Error: acd_cli
handling of expired oauth_token
(refreshing)
#47
Comments
UPDATE: after uploading about 100 GB I am receiving the same error again within a few hours of having this problem initially. Any idea what might be going on here? Is it possible that Amazon is resetting the PS: after deleting the cache (again) and downloading a new |
The next time this happens, please check that the Aside from this, this is basically the indended behavior when the access token cannot be refreshed. There is nothing I can do about a connection error. But I will wrap the connection error so the exception can be caught and the upload/download queue can potentially process further jobs (and retry the token refresh). |
How do I check if |
You will simply see if there is something wrong. It needs to be refreshed every hour.
The connection error tells me nothing. There should always be a response from the appspot server, even an empty response on error. Maybe it's a threading error. |
My
Possibly, but this is not (only) happening when running multiple threads. I actually first saw this error on calling Now, this is a repetitive problem for me. Uploading works for a while, but as soon as this error has occurred once (usually while uploading), all I can do is replace Or does this mean that right now I can not refresh the token at all and it probably only works for 3600 seconds, because it doesn't need to refresh during the first hour after generation of |
During upload (with `acd_cli.py -x 8) I get this error:
Even if I try uploading with a single thread or syncing after this happens, it just doesn't work. |
How should it work? Nothing can work with an outdated access token that cannot be refreshed.
Nope. If the data is intact, that shouldn't be it. What does python3 -c 'import requests; r = requests.post("https://tensile-runway-92512.appspot.com"); print(r.text, r.status_code)' output? The debug option could also shed more light on the connection error. |
Thanks for looking into this. The above command seems to produce the same error. I assume it must be a problem on my side in this case. Maybe my firewall is acting up - I am going to re-install it and see if that helps anything. |
Alright, I managed to re-install my firewall, which appeared to have blocked connections to the appspot.com address and crashed it's UI at the same time, so I didn't receive any info about this. You are welcome to close this issue. Thanks for your help! |
This morning I couldn't
acd_cli sync
due to what appears to be an expiredoauth_token
. An error appeared when trying to refresh the token as shows below (I am runningPython 3.4
under Mac OS X 10.10.3).I initially thought the host
https://tensile-runway-92512.appspot.com
was down (as reported in the error), but this is not the case. I managed to solve this by removing the existing cache and re-syncing, but in case you are interested here is the (verbose) output:The text was updated successfully, but these errors were encountered: