Skip to content

ESP32 restarts when trying to connect with WiFiClient . #10974

Closed
@bartdereu

Description

@bartdereu

Board

Arduino Nano ESP32

Device Description

I have the problem even with the bare board not connected to anything.

Hardware Configuration

nothing

Version

v3.1.2

IDE Name

Arduino IDE

Operating System

Windows 10

Flash frequency

default

PSRAM enabled

no

Upload speed

default

Description

As soon as i try to connect , the board reboots.

Sketch

if (WiFiClient.connect(Host,Port) == false) //Attempt connection
{
     /// i don't even get here, the board has already restarted/
}

Debug Message

no error, or debug message. The compiling goes error free, so does the uploading.

Other Steps to Reproduce

I got it fixed by downgrading to version 3.0.2

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