Skip to content

libcurl failing to connect to server (testCurl.c) #219

@Kniggebrot

Description

@Kniggebrot

Hello everyone,
I recently tried to run the testCurl.c on my ESP32-DevKitC (revision 1) to test the functionality of libcurl on said ESP, because I was looking for a library which is able to do SMTP- and IMAP-TLS-E-Mail-sending and receiving and libcurl seems quite suited for the job whilst also available on the ESP (thanks @nkolban for that!)

And although app and library compile without an error (after removing system_init()), cURL prints the following error:

  • connect to 93.184.216.34 port 80 failed: Connection already in progress
  • Failed to connect to example.com port 80: Connection already in progress
  • Closing connection 0
    I (3342) main: curl_easy_perform failed: Couldn't connect to server

The full build & monitor log can be found here: https://pastebin.com/D9Ra0vdt

I used the latest cURL and ESP-IDF. I suspect it's an issue with the IDF since I tried various older versions...
Thank you for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions