B4R Question esp8266 OTA updater error: -1 HTTP error: connection failed

peacemaker

Expert
Licensed User
Longtime User
HI, All

How to understand this error "-1 HTTP error: connection failed" of the lib, if the .bin file HTTP URL (not HTTPS) is accessible for sure ?
And board works OK with other HTTP server API via WiFi.
B4R 3.50 just updated.
Arduino lib: 1605080624310.png
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
B4X:
Sketch uses 454724 bytes (43%) of program storage space. Maximum is 1044464 bytes.
Global variables use 42792 bytes (52%) of dynamic memory, leaving 39128 bytes for local variables. Maximum is 81920 bytes.

Is problem that already 52% ? > than 50...
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
SOLVED. The lib works as should, if to use the correct URL.
My URL was incorrect after sending it as the parameter, it was encoded as "http:\/\/server.domain\/folder\/test1.bin" after receiving.
 
Last edited:
Upvote 0
Top