Search found 5 matches
- Fri Mar 29, 2019 8:16 am
- Forum: ESP-IDF
- Topic: MQTT over SSL - Mosquitto
- Replies: 9
- Views: 20183
Re: MQTT over SSL - Mosquitto
Sorry for the late reply. I am using 1.4.15-2ubuntu0.18.04.2 . After reinstall mosquitto: E (23524) TRANS_SSL: mbedtls_net_connect returned -44 I (23524) mbedtls: ssl_tls.c:7592 => write close notify I (23524) mbedtls: ssl_tls.c:7608 <= write close notify E (23524) MQTT_CLIENT: Error transport conne...
- Thu Mar 21, 2019 1:11 pm
- Forum: ESP-IDF
- Topic: MQTT over SSL - Mosquitto
- Replies: 9
- Views: 20183
Re: MQTT over SSL - Mosquitto
Hi balint603 Espressif supports this library from IDF v3.2, but still this should work with 3.1 and 3.0 (Have just tested on idf 3.0 and connects correctly to the public broker) Can you please test if - you can connect to iot.eclipse.org (broker from the example)->OK - you connect to your local mos...
- Wed Mar 20, 2019 8:08 pm
- Forum: ESP-IDF
- Topic: MQTT over SSL - Mosquitto
- Replies: 9
- Views: 20183
Re: MQTT over SSL - Mosquitto
Hi, could you please try this? const esp_mqtt_client_config_t mqtt_cfg = { .uri = "mqtts://192.168.1.11:8883", .event_handle = mqtt_event_handler, .cert_pem = (const char *)your_server_cert_pem_start, }; I changed the URI but still the same error. My Mosquitto broker detects socket error on client....
- Tue Mar 19, 2019 8:35 am
- Forum: ESP-IDF
- Topic: MQTT over SSL - Mosquitto
- Replies: 9
- Views: 20183
Re: MQTT over SSL - Mosquitto
Try this uri = "mqtts://iot.eclipse.org:8883" .event_handle = mqtt_event_handler, .cert_pem = (const char * ) server_cert_pem_start, .username = "your user name", .password = "your password", Thanks, but I need to connect to a local broker. I changed my client settings to this: const esp_mqtt_clien...
- Mon Mar 18, 2019 7:38 pm
- Forum: ESP-IDF
- Topic: MQTT over SSL - Mosquitto
- Replies: 9
- Views: 20183
MQTT over SSL - Mosquitto
Hi, I'm having trouble with MQTT connection. I'd like to create SSL based communication between a Mosquitto broker and an ESP32 using ESP32 mqtt component. Finally (it looks like) the transmission layer works. But now the problem is the MQTT level connection doesn't work, because the client gets an ...