Skip to content

Conversation

@womoak75
Copy link
Contributor

@womoak75 womoak75 commented Nov 1, 2024

in method

bool esp32FOTA::forceUpdate(const char* firmwareHost, uint16_t firmwarePort, const char*  firmwarePath, bool validate )

url assembly was missing a '://' between protocol and host part.

forceUpdate("update.myhost.com", 80, "/firmware.bin", true)  

resulted in

"httpupdate.myhost.com:80/firmware.bin"

instead of

"http://update.myhost.com:80/firmware.bin"

@chrisjoyce911 chrisjoyce911 merged commit 24e6072 into chrisjoyce911:master Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants