Search found 4 matches

by kd.spide
Fri Jun 22, 2018 10:18 am
Forum: General Discussion
Topic: OTA Update with HTTPS problem.
Replies: 7
Views: 12302

Re: OTA Update with HTTPS problem.

Ima just throwing this out. When I originally tried to do https to a server (wasn't OTA) I had the same problem. Seems like I did two things and it started working. The one I remember was changing HTTP/1.0 to HTTP/1.1 The other was.. ummm not sure I did anything else. If this sounds vague and silly...
by kd.spide
Fri Jun 22, 2018 5:40 am
Forum: General Discussion
Topic: OTA Update with HTTPS problem.
Replies: 7
Views: 12302

Re: OTA Update with HTTPS problem.

My suggestion is to setup your esp32 to ota from local network and if it works test with curl if you can get access ota file on external address. My first OTA app issue was missing slash: https://github.com/espressif/esp-idf/issues/231#issuecomment-345897991 I have tested it with http. It is workin...
by kd.spide
Thu Jun 21, 2018 5:51 am
Forum: General Discussion
Topic: OTA Update with HTTPS problem.
Replies: 7
Views: 12302

OTA Update with HTTPS problem.

Hi, I am planning to make ota update using https for esp32. So, my setup is like it connects to my secure Mqtt broker. OTA is triggering in particular topic. I am using ESP-IDF and this example https://github.com/espressif/esp-idf/tree/master/examples/system/ota. I have changed the connectivity part...
by kd.spide
Thu May 03, 2018 7:44 am
Forum: General Discussion
Topic: Not able to connect Mosca SSL Server with ESP32
Replies: 0
Views: 2390

Not able to connect Mosca SSL Server with ESP32

Mosca SSL Broker is working fine with mqtt client.But ESP32 not connecting to it. const esp_mqtt_client_config_t mqtt_cfg = { .uri = "mqtts://192.168.43.187", .port = "8883", .event_handle = mqtt_event_handler, .cert_pem = (const char *)ca_crt_start, .transport = MQTT_TRANSPORT_OVER_SSL, .lwt_topic ...