TechShreyash / techzdl

A simple yet powerfull file downloader package for python
https://telegram.me/TechZBots
MIT License
4 stars 2 forks source link

Response payload is not completed #3

Closed Un-0wn closed 3 months ago

Un-0wn commented 3 months ago

Why i m getting this error & how to solve it

TechZDL - TSLDUQ - ERROR - Error downloading chunk 398458880-403701759: Response payload is not completed: <ContentLengthError: 400, message='Not enough data for satisfy content length header.'>

Stack trace - "https://ctxt.io/2/AAAYIvIJFg"

TechShreyash commented 3 months ago

@Un-0wn Can you provide the file url for me to test

Un-0wn commented 3 months ago

@Un-0wn Can you provide the file url for me to test

"https://d.terabox.app/file/8f16998b461939626cfc242ba0b82cf0?fid=4399013972090-250528-886098680875893&dstime=1719568013&rt=sh&sign=FDtAER-DCb740ccc5511e5e8fedcff06b081203-UBQWkG6xtfdr0FZTfkp34ZGWZhE%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8780384961685417933&dp-callid=0&r=558226178&sh=1%C2%AEion=jp"

TechShreyash commented 3 months ago

@Un-0wn Some problem in the download server

The download link very slow, i am getting 20 kbps speed

You can try downloading with single threaded mode

Un-0wn commented 3 months ago

If download speed is slow then this error will come right 😒

TechShreyash commented 3 months ago

@Un-0wn Download speed too slow directly means that there's high chance of disconnection