PiotrMachowski / Xiaomi-cloud-tokens-extractor

This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
MIT License
3.17k stars 327 forks source link

curl: (23) Failed writing header #103

Open hartmood opened 10 months ago

hartmood commented 10 months ago

pi@piaware:~ $ bash <(curl -L https://github.com/PiotrMach owski/Xiaomi-cloud-tokens-extractor/raw/master/run.sh)
% Total % Received % Xferd Average Speed Time T ime Time Current
Dload Upload Total S pent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --: --:-- --:--:-- 0
0 487 0 0 0 0 0 0 --:--:-- --: 100 487 100 487 0 0 763 0 --:--:-- --: --:-- --:--:-- 8696
curl: (23) Failed writing header
pi@piaware:~ $

PiotrMachowski commented 10 months ago

It is probably a problem with downloading data from GitHub. Is it possible that your disk is full?

hartmood commented 10 months ago

I have a plain vanilla Raspberry Debian setup with approx—90% free disk.

lolfonfire commented 9 months ago

I also receive this error: Failed writing header. A few weeks ago it worked without problems. Also have plenty of free disk space .

I used the Windows solution and this still works: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/releases/latest/download/token_extractor.exe

IT-VBFK commented 7 months ago

For me, deleting all previous stuff fixes this issue: e.g. rm -rf token_extractor_docker*

This "orphaned" files remains on disk, e.g. if token extractor quitted with an unexpected error..

mikedebian commented 6 days ago

Install the python-crypto and python-requests packages.