-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
HTTP request returned status code 429 (Too Many Requests) #133
Comments
@anishmittal2020
Additionally what country are you located in? |
Further to this, it seems that the issue is being hit when attempting to download files. Are you seeing this issue also when uploading files? |
Account type: Premium version expired. But have access to data upto October.
I am just downloading the files. |
Germany |
Thanks. First suggestion, there is no real reason to use What that is doing - is each time you run the application - is it deletes the local database. Therefor the client will make many more requests revalidating each and every file. This will be a contributing factor for you |
* Inital work on adding a retry method for downloading files when a HTTP request returned status code 429 (Too Many Requests) response is returned from OneDrive
@anishmittal2020
If you can help test and provide feedback that would be greatly appreciated as I am unable to trigger a 429 event locally. |
@anishmittal2020 |
PR merged |
Hi, I installed latest version today. After 20 minutes of download I get this message "OneDrive returned a 'HTTP 429 - Too Many Requests' - gracefully handling error" |
Please can you provide a verbose log of the error. Is it still failing and stopping syncing or is it gracfully continuing? |
Hi - as previously advised - do not use --resync as this deletes your local database and significantly increases the rate of communication with OneDrive. |
To limit the download I specify only few folders in resync (In the file |
I do --resync only when I change the |
No .. everytime you use --resync it deletes the database thus has no record of what your trying to download and sync. If you are then trying to just sync a couple of folders - you are causing trouble for yourself Dont use --resync unless your doing a resync of your entire OneDrive |
But it was mentioned in the README.md |
Yes .. that advice is based on the Skilion code base. Leave sync_list blank and let it perform a full sync to get your data |
Actually, I have almost 800 GB of Data, which I don't expect to get downloaded in one go. Please say if the following workflow would work:
Also, I am having this hunch that onedrive server might be blacklisting me for few days, after this incident. Because I observe that once, I start to get this error. If I restart download, the error gets displayed after downloading 2 or 3 files. |
This is because you are using The Skilion code had no error handling. The advice there was that whenever there was a download issue or changing a configuration item to 'resync' - which all it does is delete the local database so the client has no idea of what you have downloaded - dont use that option.
This is WRONG. CTRL+Z will sleep the process, not stop it. You need to use CTRL-C to stop the program. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I tried to download contents of my Onedrive to my harddrive. It did download some data, but after a while I am getting this error:
The text was updated successfully, but these errors were encountered: