-
Notifications
You must be signed in to change notification settings - Fork 13.3k
HTTPUpdate problem #6304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I tried your URL for redirects with this tool. HTTPUpdate does not support redirects. I think if you try http://www.qtsolutions.com.co/Blink.bin instead, I think it will work |
Redirects are optionally supported. You need to call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am using the httpUpdate example and I get wrong http code the server link is this: http://qualitysystems.com.co/Blink.bin
I searched the internet and found this 2016 post #2022 I tried what it says but it has not worked and everything I find is very old. I do not know what else to do to solve this problem.
my code:
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include <ESP8266httpUpdate.h>
#define USE_SERIAL Serial
#ifndef APSSID
#define APSSID "HERMES"
#define APPSK "55469347daz"
#endif
ESP8266WiFiMulti WiFiMulti;
void setup() {
USE_SERIAL.begin(115200);
// USE_SERIAL.setDebugOutput(true);
USE_SERIAL.println();
USE_SERIAL.println();
USE_SERIAL.println();
for (uint8_t t = 4; t > 0; t--) {
USE_SERIAL.printf("[SETUP] WAIT %d...\n", t);
USE_SERIAL.flush();
delay(1000);
}
WiFi.mode(WIFI_STA);
WiFiMulti.addAP(APSSID, APPSK);
}
void loop() {
// wait for WiFi connection
if ((WiFiMulti.run() == WL_CONNECTED)) {
}
}
The text was updated successfully, but these errors were encountered: