curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: How to get more information about error code 7

From: Rich Gray via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 23 Mar 2020 11:34:46 -0400

Leo Song via curl-library wrote:
> Thanks for the reply.
> I've already enabled CURLOPT_VERBOSE, and still getting Curl error 7.
>
> I've tried with CURLINFO_OS_ERRNO, and am getting errno 101, which maps to
> "Network is unreachable".
> Is there any other way to get more debugging info from openssl or socket
> calls?

If there is a connection problem, this is really happening before TLS comes
in to play.

Might I suggest Wireshark or tcpdump to capture traffic and see what is
going on at wire level.

Rich

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-23