Discussions

Ask a Question
Back to all

Downloading Runtime Error

Hi,

I am trying to download Advan Research's Foot Traffic Data using Dewey client.

The CLI commmand that I tried to use is this:

python3 -m deweypy --api-key (my api key) speedy-download (data id) --num-workers 8

And every time I initiate the download, it does well for a about a minute, and it just aborts and return me the following error:


Error downloading 2019-01--data_01c201c4-0307-9625-0042-fa07059be7c2_608_0_0.snappy.parquet: Response payload is not completed: <ContentLengthError: 400, message='Not enough data to satisfy
content length header.'>. ConnectionResetError(54, 'Connection reset by peer')

(...some long error message...)

│ RuntimeError: Error downloading 2019-01--data_01c201c4-0307-9625-0042-fa07059be7c2_608_0_0.snappy.parquet: Response payload is not completed: <ContentLengthError: 400, message='Not enough │
│ data to satisfy content length header.'>. ConnectionResetError(54, 'Connection reset by peer')


I tried:

  • the one-line method using uv
  • changing number of workers to smaller than 8 (even a single worker didn't work)

Is there anything else I can try to avoid this error? Thank you.