Insync not syncing to Gdrive (rate limit)

Insync just stopped uploading to Gdrive. When opening Insync `insync start --no-daemon, I see the following message:

INFO 2021-07-06 10:21:18,330 [cloudclient:_request:191] Retrying request to ‘https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=*&upload_id=ADPycdtYDy0ml4lhKvKTuF3Opzr1TXG8zFtRZxFvttgOjDaUe5kjoJOK9BHSIRe73luyYAyiY1p_ZdII4owuX7QnN534VHVCFQ’ due to rate limit error…

Any help to deal with this issue?

I’m using ubuntu 20.04, insync 3.4.1.X.

Hi @Flavio_Pinheiro1! I received your email and have responded to request for logs :slight_smile:

Did you all ever find an answer to this? I’m seeing the same problem, many many lines in out.txt like

INFO 2021-08-26 17:27:31,971 [cloudclient:_request:195] Retrying request to ‘https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=*&upload_id=...REDACTED…’ due to rate limit error…

Interestingly, if I copy some files over to another computer, a mac, with the official google drive client, it happily uploads more files. So I don’t think I’m hitting the upload gigabytes-per-day limit.

Hi @Wesley_Darlington! Seems like I’ve responded to an email from you as well about this? :slight_smile: I’ll have the logs investigated to see what’s blocking the rest of the sync.

Hi! Linking a post here:

Hi all! Could you please try out our latest build, 3.6.1? We have included an improvement for rate limit errors: New Insync version: 3.6.1

We’d love to hear how it goes for you!

Hi @mia

Today, I’ve updated to insync version 3.6.1.50206 and moved a bunch of smalls files and got the error.
It’s imposible to resume the sync. Is this something that I’ve to upgrade in my google accounts (API) ?

$ insync start --no-daemon
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 263]: option 'application/xhtml+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 263]: option 'application/xhtml+xml' in section 'Default Applications' already exists
INFO     2021-11-29 12:26:47,588 [mainlogs:_log_run:139] Core(app_version=3.6.1.50206, platform=Linux-x86_64-ubuntu/21.04) initialized
WARNING  2021-11-29 12:26:47,613 [base_events:_run_once:1771] Executing <Task pending coro=<init() running at ideskcore/core.py:146> wait_for=<Task pending coro=<SettingsMain._load_settings() running at ideskcore/mainsettings.py:170> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, <TaskWakeupMethWrapper object at 0x7f7a50602c78>()] created at ideskcore/mainsettings.py:148> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, _chain_future.<locals>._call_set_state() at asyncio/futures.py:355] created at asyncio/events.py:88> took 0.195 seconds
INFO     2021-11-29 12:26:47,694 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2021-11-29 12:26:47,695 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-11-29 12:26:47,696 [inotify_manager:_pull_loop:319] Inotify loop enter
INFO     2021-11-29 12:26:47,735 [fswatcher:watch:77] watch origin: /home/luciano/Insync/luciano@giacchetta.net/Google Drive
INFO     2021-11-29 12:26:47,739 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2021-11-29 12:26:47,739 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-11-29 12:26:47,740 [inotify_manager:_pull_loop:319] Inotify loop enter
INFO     2021-11-29 12:26:47,811 [fswatcher:watch:77] watch origin: /home/luciano/Insync/luciano@moegui.com/Google Drive
INFO     2021-11-29 12:26:47,826 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2021-11-29 12:26:47,827 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-11-29 12:26:47,828 [inotify_manager:_pull_loop:319] Inotify loop enter
INFO     2021-11-29 12:26:47,866 [fswatcher:watch:77] watch origin: /home/luciano/Insync/luciano@opster.com/Google Drive
INFO     2021-11-29 12:26:47,886 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2021-11-29 12:26:47,887 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-11-29 12:26:47,888 [inotify_manager:_pull_loop:319] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
INFO     2021-11-29 12:26:48,072 [fswatcher:watch:77] watch origin: /home/luciano/Insync/ldgiacchetta@gmail.com/Google Drive
INFO     2021-11-29 12:26:48,110 [main:start_core:49] core started
INFO     2021-11-29 12:26:48,111 [unix_socket_server:start:93] unix socket server thread start
INFO     2021-11-29 12:27:03,621 [cloudclient:_request:210] Retrying request to 'https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=%2A&upload_id=ADPycduxbt-Uk4WnxWizUyGWG_kVUDLqF90_VdVG_x7utTnwbh-IpfuajXeGA2JjuCy0_sw_-0hTZsJ8QzgrRnweWbk' due to rate limit error...
INFO     2021-11-29 12:27:04,283 [cloudclient:_request:210] Retrying request to 'https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=%2A&upload_id=ADPycdsxTGkvRWxxAXzWDSHkiov1fHdCoszMAFUCiffUcz6DV-bJHtlzyEVfmUwb6qz6RqCDOOshkTgkAmK8SFR4iK0' due to rate limit error...
INFO     2021-11-29 12:27:04,344 [cloudclient:_request:210] Retrying request to 'https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=%2A&upload_id=ADPycdtCQQnayHrULCnIg3AvLS2OHlIlnrxBESTlalts2GehEhdQIe1ZIeF0Nq7bNAK_JUHtF-UKwU8Ny2PqEOq3iX8' due to rate limit error...
INFO     2021-11-29 12:27:04,345 [cloudclient:_request:210] Retrying request to 'https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable&supportsAllDrives=true&prettyPrint=false&fields=%2A&upload_id=ADPycdt5WtYPmV7zYz27mWAWieXCCKVArpWsQn4Bw68M2M16ZATXKS5LxKz1Mx-t-2AsPEXgfJfz2tpNzmdaQlrXMgvGC9du4A' due to rate limit error...
....
....
....

Hey @Luciano_Giacchetta! Could you please send your logs.db and out.txt files to support@insynchq.com with the link to this post?

It looks like the errors are directly pertaining to rate limit after moving many small files. Did you move it within the same synced folder, or did you move it out/in?