10-10-2016, 09:14 PM
(This post was last modified: 10-10-2016, 09:18 PM by Peter de Vries.)
I was using 3.5.x. So now I tried with 2.7.8 and looks better, however, now it seems I got a connection, but after a short while the connection is aborted:
D:\Downloads\fw>espota.py -i 192.168.1.102 -f latestVairGit.bin -d -r
23:10:48 [DEBUG]: Options: {'esp_ip': '192.168.1.102', 'image': 'latestVairGit.bin', 'auth': '', 'esp_port': 8266, 'spiffs': False, 'debug': True, 'progress': True}
23:10:48 [INFO]: Starting on 0.0.0.0:24071
23:10:48 [INFO]: Upload size: 310128
23:10:48 [INFO]: Sending invitation to: 192.168.1.102
23:10:48 [INFO]: Waiting for device...
23:10:58 [ERROR]: No response from device
In the vThings app I see the following response when starting the upload, but after a couple of seconds in ends with an error.
received:Start
Progress: 0%
received:Error[2]: Connect Failed
Error[4]: End Failed
Never mind... firewall was blocking communication on port 8266. After temporary disabling my firewall I was able to upload the firmware
D:\Downloads\fw>espota.py -i 192.168.1.102 -f latestVairGit.bin -d -r
23:10:48 [DEBUG]: Options: {'esp_ip': '192.168.1.102', 'image': 'latestVairGit.bin', 'auth': '', 'esp_port': 8266, 'spiffs': False, 'debug': True, 'progress': True}
23:10:48 [INFO]: Starting on 0.0.0.0:24071
23:10:48 [INFO]: Upload size: 310128
23:10:48 [INFO]: Sending invitation to: 192.168.1.102
23:10:48 [INFO]: Waiting for device...
23:10:58 [ERROR]: No response from device
In the vThings app I see the following response when starting the upload, but after a couple of seconds in ends with an error.
received:Start
Progress: 0%
received:Error[2]: Connect Failed
Error[4]: End Failed
Never mind... firewall was blocking communication on port 8266. After temporary disabling my firewall I was able to upload the firmware