Open ayush9upta opened 2 years ago
Some logs from monitor would be helpful ... Also electric schema if it is not evalboard.
I'm using ESP32 Devkit V1 Attaching the Logs: 14:42:07.895 -> LDR - 10.00 14:42:07.989 -> Failed to read from DHT sensor! 14:42:09.966 -> LDR - 10.00 14:42:10.061 -> Failed to read from DHT sensor! 14:42:12.043 -> LDR - 10.00 14:42:12.137 -> Failed to read from DHT sensor! 14:42:14.098 -> LDR - 10.00 14:42:14.193 -> Failed to read from DHT sensor! 14:42:16.179 -> LDR - 10.00 14:42:16.272 -> Failed to read from DHT sensor! 14:42:18.259 -> LDR - 10.00 14:42:18.305 -> Failed to read from DHT sensor! 14:42:20.050 -> E (7620457) TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 48 14:42:20.099 -> E (7620457) MQTT_CLIENT: Poll read error: 88, aborting connection 14:42:48.610 -> E (7649023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:42:48.657 -> E (7649024) esp-tls: Failed to open new connection 14:42:48.657 -> E (7649028) TRANSPORT_BASE: Failed to open a new connection 14:42:48.657 -> E (7649033) MQTT_CLIENT: Error transport connect 14:42:48.657 -> E (7649038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:43:17.625 -> E (7678023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:43:17.672 -> E (7678023) esp-tls: Failed to open new connection 14:43:17.672 -> E (7678028) TRANSPORT_BASE: Failed to open a new connection 14:43:17.672 -> E (7678033) MQTT_CLIENT: Error transport connect 14:43:17.672 -> E (7678038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:43:46.643 -> E (7707023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:43:46.643 -> E (7707023) esp-tls: Failed to open new connection 14:43:46.643 -> E (7707028) TRANSPORT_BASE: Failed to open a new connection 14:43:46.691 -> E (7707033) MQTT_CLIENT: Error transport connect 14:43:46.691 -> E (7707038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:44:15.686 -> E (7736023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:44:15.686 -> E (7736023) esp-tls: Failed to open new connection 14:44:15.686 -> E (7736028) TRANSPORT_BASE: Failed to open a new connection 14:44:15.686 -> E (7736033) MQTT_CLIENT: Error transport connect 14:44:15.686 -> E (7736038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:44:44.666 -> E (7765023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:44:44.712 -> E (7765023) esp-tls: Failed to open new connection 14:44:44.712 -> E (7765028) TRANSPORT_BASE: Failed to open a new connection 14:44:44.712 -> E (7765033) MQTT_CLIENT: Error transport connect 14:44:44.712 -> E (7765038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:45:13.679 -> E (7794023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:45:13.679 -> E (7794023) esp-tls: Failed to open new connection 14:45:13.679 -> E (7794028) TRANSPORT_BASE: Failed to open a new connection 14:45:13.726 -> E (7794033) MQTT_CLIENT: Error transport connect 14:45:13.726 -> E (7794038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:45:42.701 -> E (7823023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:45:42.701 -> E (7823023) esp-tls: Failed to open new connection 14:45:42.701 -> E (7823028) TRANSPORT_BASE: Failed to open a new connection 14:45:42.701 -> E (7823033) MQTT_CLIENT: Error transport connect 14:45:42.701 -> E (7823038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:46:11.676 -> E (7852023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:46:11.723 -> E (7852023) esp-tls: Failed to open new connection 14:46:11.723 -> E (7852028) TRANSPORT_BASE: Failed to open a new connection 14:46:11.723 -> E (7852033) MQTT_CLIENT: Error transport connect 14:46:11.723 -> E (7852038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:46:40.706 -> E (7881023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:46:40.706 -> E (7881023) esp-tls: Failed to open new connection 14:46:40.706 -> E (7881028) TRANSPORT_BASE: Failed to open a new connection 14:46:40.706 -> E (7881033) MQTT_CLIENT: Error transport connect 14:46:40.706 -> E (7881038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:47:09.680 -> E (7910023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:47:09.730 -> E (7910023) esp-tls: Failed to open new connection 14:47:09.730 -> E (7910028) TRANSPORT_BASE: Failed to open a new connection 14:47:09.730 -> E (7910033) MQTT_CLIENT: Error transport connect 14:47:09.730 -> E (7910038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:47:38.684 -> E (7939023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:47:38.731 -> E (7939023) esp-tls: Failed to open new connection 14:47:38.731 -> E (7939028) TRANSPORT_BASE: Failed to open a new connection 14:47:38.731 -> E (7939033) MQTT_CLIENT: Error transport connect 14:47:38.731 -> E (7939038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:48:07.721 -> E (7968023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:48:07.721 -> E (7968023) esp-tls: Failed to open new connection 14:48:07.721 -> E (7968028) TRANSPORT_BASE: Failed to open a new connection 14:48:07.721 -> E (7968033) MQTT_CLIENT: Error transport connect 14:48:07.721 -> E (7968038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:48:36.718 -> E (7997023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:48:36.718 -> E (7997023) esp-tls: Failed to open new connection 14:48:36.718 -> E (7997028) TRANSPORT_BASE: Failed to open a new connection 14:48:36.718 -> E (7997033) MQTT_CLIENT: Error transport connect 14:48:36.718 -> E (7997038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:49:05.727 -> E (8026023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:49:05.727 -> E (8026023) esp-tls: Failed to open new connection 14:49:05.727 -> E (8026028) TRANSPORT_BASE: Failed to open a new connection 14:49:05.727 -> E (8026033) MQTT_CLIENT: Error transport connect 14:49:05.727 -> E (8026038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:49:34.691 -> E (8055023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:49:34.737 -> E (8055023) esp-tls: Failed to open new connection 14:49:34.737 -> E (8055028) TRANSPORT_BASE: Failed to open a new connection 14:49:34.737 -> E (8055033) MQTT_CLIENT: Error transport connect 14:49:34.737 -> E (8055038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:50:03.704 -> E (8084023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:50:03.704 -> E (8084023) esp-tls: Failed to open new connection 14:50:03.704 -> E (8084028) TRANSPORT_BASE: Failed to open a new connection 14:50:03.752 -> E (8084033) MQTT_CLIENT: Error transport connect 14:50:03.752 -> E (8084038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:50:32.714 -> E (8113023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:50:32.714 -> E (8113023) esp-tls: Failed to open new connection 14:50:32.714 -> E (8113028) TRANSPORT_BASE: Failed to open a new connection 14:50:32.714 -> E (8113033) MQTT_CLIENT: Error transport connect 14:50:32.714 -> E (8113038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:51:01.713 -> E (8142023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:51:01.713 -> E (8142023) esp-tls: Failed to open new connection 14:51:01.713 -> E (8142028) TRANSPORT_BASE: Failed to open a new connection 14:51:01.713 -> E (8142033) MQTT_CLIENT: Error transport connect 14:51:01.713 -> E (8142038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:51:30.726 -> E (8171023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:51:30.726 -> E (8171023) esp-tls: Failed to open new connection 14:51:30.726 -> E (8171028) TRANSPORT_BASE: Failed to open a new connection 14:51:30.726 -> E (8171033) MQTT_CLIENT: Error transport connect 14:51:30.726 -> E (8171038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:51:59.707 -> E (8200023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:51:59.707 -> E (8200023) esp-tls: Failed to open new connection 14:51:59.707 -> E (8200028) TRANSPORT_BASE: Failed to open a new connection 14:51:59.707 -> E (8200033) MQTT_CLIENT: Error transport connect 14:51:59.754 -> E (8200038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:52:28.701 -> E (8229023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:52:28.701 -> E (8229023) esp-tls: Failed to open new connection 14:52:28.701 -> E (8229028) TRANSPORT_BASE: Failed to open a new connection 14:52:28.747 -> E (8229033) MQTT_CLIENT: Error transport connect 14:52:28.747 -> E (8229038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:52:57.704 -> E (8258023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:52:57.704 -> E (8258023) esp-tls: Failed to open new connection 14:52:57.704 -> E (8258028) TRANSPORT_BASE: Failed to open a new connection 14:52:57.750 -> E (8258033) MQTT_CLIENT: Error transport connect 14:52:57.750 -> E (8258038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:53:26.699 -> E (8287023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:53:26.745 -> E (8287023) esp-tls: Failed to open new connection 14:53:26.745 -> E (8287028) TRANSPORT_BASE: Failed to open a new connection 14:53:26.745 -> E (8287033) MQTT_CLIENT: Error transport connect 14:53:26.745 -> E (8287038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:53:55.713 -> E (8316023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:53:55.713 -> E (8316023) esp-tls: Failed to open new connection 14:53:55.713 -> E (8316028) TRANSPORT_BASE: Failed to open a new connection 14:53:55.713 -> E (8316033) MQTT_CLIENT: Error transport connect 14:53:55.713 -> E (8316038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:54:24.728 -> E (8345023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:54:24.728 -> E (8345023) esp-tls: Failed to open new connection 14:54:24.728 -> E (8345028) TRANSPORT_BASE: Failed to open a new connection 14:54:24.728 -> E (8345033) MQTT_CLIENT: Error transport connect 14:54:24.728 -> E (8345038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:54:53.727 -> E (8374023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:54:53.727 -> E (8374023) esp-tls: Failed to open new connection 14:54:53.727 -> E (8374028) TRANSPORT_BASE: Failed to open a new connection 14:54:53.727 -> E (8374033) MQTT_CLIENT: Error transport connect 14:54:53.727 -> E (8374038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:55:22.724 -> E (8403023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:55:22.724 -> E (8403023) esp-tls: Failed to open new connection 14:55:22.724 -> E (8403028) TRANSPORT_BASE: Failed to open a new connection 14:55:22.724 -> E (8403033) MQTT_CLIENT: Error transport connect 14:55:22.724 -> E (8403038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:55:51.699 -> E (8432023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:55:51.746 -> E (8432023) esp-tls: Failed to open new connection 14:55:51.746 -> E (8432028) TRANSPORT_BASE: Failed to open a new connection 14:55:51.746 -> E (8432033) MQTT_CLIENT: Error transport connect 14:55:51.746 -> E (8432038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:56:20.731 -> E (8461023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:56:20.731 -> E (8461023) esp-tls: Failed to open new connection 14:56:20.731 -> E (8461028) TRANSPORT_BASE: Failed to open a new connection 14:56:20.731 -> E (8461033) MQTT_CLIENT: Error transport connect 14:56:20.731 -> E (8461038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:56:49.692 -> E (8490023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:56:49.738 -> E (8490023) esp-tls: Failed to open new connection 14:56:49.738 -> E (8490028) TRANSPORT_BASE: Failed to open a new connection 14:56:49.738 -> E (8490033) MQTT_CLIENT: Error transport connect 14:56:49.738 -> E (8490038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:57:18.720 -> E (8519023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:57:18.720 -> E (8519023) esp-tls: Failed to open new connection 14:57:18.720 -> E (8519028) TRANSPORT_BASE: Failed to open a new connection 14:57:18.720 -> E (8519033) MQTT_CLIENT: Error transport connect 14:57:18.720 -> E (8519038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:57:47.709 -> E (8548023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:57:47.709 -> E (8548023) esp-tls: Failed to open new connection 14:57:47.709 -> E (8548028) TRANSPORT_BASE: Failed to open a new connection 14:57:47.709 -> E (8548033) MQTT_CLIENT: Error transport connect 14:57:47.758 -> E (8548038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:58:16.728 -> E (8577023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:58:16.728 -> E (8577023) esp-tls: Failed to open new connection 14:58:16.728 -> E (8577028) TRANSPORT_BASE: Failed to open a new connection 14:58:16.728 -> E (8577033) MQTT_CLIENT: Error transport connect 14:58:16.728 -> E (8577038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:58:45.711 -> E (8606023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:58:45.711 -> E (8606023) esp-tls: Failed to open new connection 14:58:45.711 -> E (8606028) TRANSPORT_BASE: Failed to open a new connection 14:58:45.757 -> E (8606033) MQTT_CLIENT: Error transport connect 14:58:45.757 -> E (8606038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:59:14.704 -> E (8635023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:59:14.750 -> E (8635023) esp-tls: Failed to open new connection 14:59:14.750 -> E (8635028) TRANSPORT_BASE: Failed to open a new connection 14:59:14.750 -> E (8635033) MQTT_CLIENT: Error transport connect 14:59:14.750 -> E (8635038) esp_mqtt_glue: MQTT_EVENT_ERROR 14:59:43.717 -> E (8664023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 14:59:43.764 -> E (8664023) esp-tls: Failed to open new connection 14:59:43.764 -> E (8664028) TRANSPORT_BASE: Failed to open a new connection 14:59:43.764 -> E (8664033) MQTT_CLIENT: Error transport connect 14:59:43.764 -> E (8664038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:00:12.722 -> E (8693023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:00:12.770 -> E (8693023) esp-tls: Failed to open new connection 15:00:12.770 -> E (8693028) TRANSPORT_BASE: Failed to open a new connection 15:00:12.770 -> E (8693033) MQTT_CLIENT: Error transport connect 15:00:12.770 -> E (8693038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:00:41.729 -> E (8722023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:00:41.776 -> E (8722023) esp-tls: Failed to open new connection 15:00:41.776 -> E (8722028) TRANSPORT_BASE: Failed to open a new connection 15:00:41.776 -> E (8722033) MQTT_CLIENT: Error transport connect 15:00:41.776 -> E (8722038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:01:10.761 -> E (8751023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:01:10.761 -> E (8751023) esp-tls: Failed to open new connection 15:01:10.761 -> E (8751028) TRANSPORT_BASE: Failed to open a new connection 15:01:10.761 -> E (8751033) MQTT_CLIENT: Error transport connect 15:01:10.761 -> E (8751038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:01:39.724 -> E (8780023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:01:39.760 -> E (8780023) esp-tls: Failed to open new connection 15:01:39.760 -> E (8780028) TRANSPORT_BASE: Failed to open a new connection 15:01:39.760 -> E (8780033) MQTT_CLIENT: Error transport connect 15:01:39.760 -> E (8780038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:02:08.726 -> E (8809023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:02:08.774 -> E (8809023) esp-tls: Failed to open new connection 15:02:08.774 -> E (8809028) TRANSPORT_BASE: Failed to open a new connection 15:02:08.774 -> E (8809033) MQTT_CLIENT: Error transport connect 15:02:08.774 -> E (8809038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:02:37.766 -> E (8838023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:02:37.766 -> E (8838023) esp-tls: Failed to open new connection 15:02:37.766 -> E (8838028) TRANSPORT_BASE: Failed to open a new connection 15:02:37.766 -> E (8838033) MQTT_CLIENT: Error transport connect 15:02:37.766 -> E (8838038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:03:06.757 -> E (8867023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:03:06.757 -> E (8867023) esp-tls: Failed to open new connection 15:03:06.757 -> E (8867028) TRANSPORT_BASE: Failed to open a new connection 15:03:06.757 -> E (8867033) MQTT_CLIENT: Error transport connect 15:03:06.757 -> E (8867038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:03:35.772 -> E (8896023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:03:35.772 -> E (8896023) esp-tls: Failed to open new connection 15:03:35.772 -> E (8896028) TRANSPORT_BASE: Failed to open a new connection 15:03:35.772 -> E (8896033) MQTT_CLIENT: Error transport connect 15:03:35.772 -> E (8896038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:04:04.765 -> E (8925023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:04:04.765 -> E (8925023) esp-tls: Failed to open new connection 15:04:04.765 -> E (8925028) TRANSPORT_BASE: Failed to open a new connection 15:04:04.765 -> E (8925033) MQTT_CLIENT: Error transport connect 15:04:04.765 -> E (8925038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:04:33.754 -> E (8954023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:04:33.754 -> E (8954023) esp-tls: Failed to open new connection 15:04:33.754 -> E (8954028) TRANSPORT_BASE: Failed to open a new connection 15:04:33.754 -> E (8954033) MQTT_CLIENT: Error transport connect 15:04:33.754 -> E (8954038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:05:02.735 -> E (8983023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:05:02.781 -> E (8983023) esp-tls: Failed to open new connection 15:05:02.781 -> E (8983028) TRANSPORT_BASE: Failed to open a new connection 15:05:02.781 -> E (8983033) MQTT_CLIENT: Error transport connect 15:05:02.781 -> E (8983038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:05:31.767 -> E (9012023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:05:31.767 -> E (9012023) esp-tls: Failed to open new connection 15:05:31.767 -> E (9012028) TRANSPORT_BASE: Failed to open a new connection 15:05:31.767 -> E (9012033) MQTT_CLIENT: Error transport connect 15:05:31.767 -> E (9012038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:06:00.737 -> E (9041023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:06:00.783 -> E (9041023) esp-tls: Failed to open new connection 15:06:00.783 -> E (9041028) TRANSPORT_BASE: Failed to open a new connection 15:06:00.783 -> E (9041033) MQTT_CLIENT: Error transport connect 15:06:00.783 -> E (9041038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:06:29.756 -> E (9070023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0 15:06:29.756 -> E (9070023) esp-tls: Failed to open new connection 15:06:29.756 -> E (9070028) TRANSPORT_BASE: Failed to open a new connection 15:06:29.756 -> E (9070033) MQTT_CLIENT: Error transport connect 15:06:29.756 -> E (9070038) esp_mqtt_glue: MQTT_EVENT_ERROR 15:06:58.757 -> E (9099023) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0
Please Help me solve this @jacek12345
@ayush9upta this seems like an error with your network, probably Internet getting lost. Can you double check that your Internet is reliable and the host a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com is reachable?
@shahpiyushv thanks for your giving time on this issue, unfortunately I’ve tried diagnose my network, I have even provided fixed IP address to the ESP32 and fixed channel for 2.4ghz network, still it disconnects after few hours. If i turn off my network and turn it on, the ESP32 doesn’t reconnect automatically. So the problem is either the code, which doesnt have a reconnect function or I’ve to make other changes to my router which I don’t know
@ayush9upta reconnection attempts are definitely being made, as you can see in the logs itself. However, it is not able to resolve the hostname, which typically points to network/DNS issues.
@ayush9upta another thing worth checking is the memory consumption. You can add the below code in your project and call the function periodically to track memory consumption
#include <esp_heap_caps.h>
static void print_heap(void)
{
Serial.printf("\tDescription\tInternal\tSPIRAM\n");
Serial.printf("Current Free Memory\t%d\t\t%d\n",
heap_caps_get_free_size(MALLOC_CAP_8BIT) - heap_caps_get_free_size(MALLOC_CAP_SPIRAM),
heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
Serial.printf("Largest Free Block\t%d\t\t%d\n",
heap_caps_get_largest_free_block(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL),
heap_caps_get_largest_free_block(MALLOC_CAP_SPIRAM));
Serial.printf("Min. Ever Free Size\t%d\t\t%d\n",
heap_caps_get_minimum_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL),
heap_caps_get_minimum_free_size(MALLOC_CAP_SPIRAM));
}
Hi, I've been using ESP Rainmaker for days now, Everything works perfectly except that it gets disconnected after few hours, Day 1- 3hrs, 4hrs, 2hrs, 30mins etc.. and same thing happens in the next days the longest it has stayed connected is 5-6hrs.
The Only solution is to turn off and turn the ESP32 board back on and it connects Instantly again. Attaching the code that I'm using below. If someone has a solution for this i would be really glad.
Code_ESP32_RainMaker_IR_DHT11_8Relay_Button.zip
Hi, I've been using ESP Rainmaker for days now, Everything works perfectly except that it gets disconnected after few hours, Day 1- 3hrs, 4hrs, 2hrs, 30mins etc.. and same thing happens in the next days the longest it has stayed connected is 5-6hrs.
The Only solution is to turn off and turn the ESP32 board back on and it connects Instantly again. Attaching the code that I'm using below. If someone has a solution for this i would be really glad.
you can add below line of code to void sysProvEvent(arduino_event_t *sys_event)
case ARDUINO_EVENT_WIFI_STA_DISCONNECTED:
Serial.println("\nDisconnected. Connecting to the AP again... ");
WiFi.begin(name wifi, pass);
break;
Hi, I've been using ESP Rainmaker for days now, Everything works perfectly except that it gets disconnected after few hours, Day 1- 3hrs, 4hrs, 2hrs, 30mins etc.. and same thing happens in the next days the longest it has stayed connected is 5-6hrs.
The Only solution is to turn off and turn the ESP32 board back on and it connects Instantly again. Attaching the code that I'm using below. If someone has a solution for this i would be really glad.
Code_ESP32_RainMaker_IR_DHT11_8Relay_Button.zip