Skip to content

Wifi problem in ESP32 Board  #7440

Closed
Closed
@suryanshRoy

Description

@suryanshRoy

Board

Esp32 Dev Module

Device Description

Esp32 Dev module , chip is cp2102

Hardware Configuration

No

Version

v2.0.3

IDE Name

Arduino IDE

Operating System

Windows 10

Flash frequency

80mhz

PSRAM enabled

no

Upload speed

115200

Description

In the first Time my board gets connected to the WiFi and after 10 to 20 second the Board gets disconnected to the WiFi and unable to reconnect to the WiFi until I press the EN button in my board
and it print some error in the Serial Monitor whenever it gets disconnected from the WiFi.
Please help

Sketch

case ARDUINO_EVENT_WIFI_STA_DISCONNECTED:
      digitalWrite(wifiLed, false);
      break;
      case WIFI_PROV_STA_CONNECTING:
      {
      Serial.println("\nDisconnected. Connecting to the AP again... ");
      delay(20000);
      }
      break;
    case ARDUINO_EVENT_WIFI_STA_CONNECTED:
      Serial.printf("\nConnected to Wi-Fi!\n");
      digitalWrite(wifiLed, true);
      break;

Debug Message

E (621984) TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 48
E (621986) MQTT_CLIENT: Poll read error: 119, aborting connection
E (643762) esp-tls: couldn't get hostname for :a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0
E (643762) esp-tls: Failed to open new connection
E (643767) TRANSPORT_BASE: Failed to open a new connection
E (643772) MQTT_CLIENT: Error transport connect
E (643776) esp_mqtt_glue: MQTT_EVENT_ERROR

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions