-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Describe the bug
I'm running a script which is called weekly via an cron job. The script performs a backup of several IoT devices which running Tasmota (most recent version). Some of them running tasmota and some of them running tasmota32. Unfortunately ist seems that performing a backup of an tasmota32 IoT device often fails with the following error message:
INFO: Load data by http from device 'XXX'
ERROR 22: Failed to establish HTTP connection to 'XXX:80'
Premature exit - #22 HTTP connection error
This is how I call "decode-config" which is working since a long time without any problem:
./tasmota_decode-config-latest -s $1 --json-indent 2 -o $targetFolder/Config_@[email protected] -o $targetFolder/Config_@[email protected]
To Reproduce
Not really reproducable. Sometimes backup works for the same IoT device without any problem. But it seems that ESP32 IoT devices running tasmota32 are more often exit with above mention error without performing backup.
Expected behavior
Backup performed of tasmota32 IoT devices
Version Information
tasmota_decode-config-latest v14.4.1.0 [dbe396f] by Norbert Richter [email protected]
Script: tasmota_decode-config-latest
Version: 14.4.1.0 [dbe396f]
Python: 3.6.8
Platform: Linux-4.18.0-553.33.1.el8_10.x86_64-x86_64-with-redhat-8.10-Ootpa - x86_64
OS: Linux 4.18.0-553.33.1.el8_10.x86_64 #1 SMP Fri Dec 6 15:07:20 EST 2024
Time: 2025-01-08 22:55:17
System' information of your Tasmota data
Append -g System to your decode-config parameter, e. g. decode-config.py -s myconfig.dmp -g System
>>> paste output here <<<
Additional context
Add any other context about the problem here.