If you are using this deprecated CLI, you may get this error.
The workaround is to explicitly set the
importcommand takes an optional
batchSizeargument using the
-bflag. Using this should circumvent the network speed test altogether.
It is highly recommended to switch to the new CLI as it is an official/supported library, and should be even easier + more convenient to use in your build process.
More information can be found in this github issue: https://github.com/algolia/algolia-cli-old/issues/60