njh / sonoff-ota-flash-cli

Bash script to perform an OTA (Over the Air) firmware update for Sonoff 'DIY Mode' device on the command line
http://sonoff-ota.aelius.com/
MIT License
134 stars 20 forks source link

Empty reply from server #6

Closed steinmetz closed 2 years ago

steinmetz commented 2 years ago

Hi, I am getting this error. Do you have any idea what I should do to fix it?

Thanks.


./sonoff-ota-flash.sh tasmota-latest-lite.bin
Checking new firmware file exists
OK

Looking up sha256sum for firmware
OK

Searching for Sonoff module on network...
Found module on network.
Hostname: eWeLink_10011f2dfb
IPv4 Address: 192.168.0.121

Getting Module Info...
curl: (52) Empty reply from server
Error posting to: http://192.168.0.121:8081/zeroconf/info
njh commented 2 years ago

Sorry for not responding. Did you work out what was wrong?

I have generally got "Empty reply from server" when something has gone wrong but the modules unfortunately don't have specific error message to return.