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
On Thu, Mar 19, 2020 at 05:33:52PM -0700, 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
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?
On Thu, 19 Mar 2020, Ray Satiro via curl-library wrote:
CURLOPT_ERRORBUFFER can sometimes be used to obtain a more detailed error
string. [3]
There's also CURLINFO_OS_ERRNO:
https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html
... that can help explain why connect() failed.
--
/
On 3/19/2020 4:30 PM, Leo Song via curl-library wrote:
This Curl error 7 is happening intermittently, so yes I am able to
connect to the server using the command line tool.
Therefore, in case if this happens again in future, I want my
application to display more error messages than just Curl
Hello Jason,
Thanks for the reply. This Curl error 7 is happening intermittently, so yes
I am able to connect to the server using the command line tool.
Therefore, in case if this happens again in future, I want my application
to display more error messages than just Curl error 7, which is why I
On Wed, Mar 18, 2020 at 11:29 PM Leo Song via curl-library
wrote:
>
> Hello,
>
> My application is trying to access to a host, and getting Curl error code 7.
> Curl returned error code 7 - Couldn't connect to server
>
> I need to diagnose this a bit deeper and see what is happening. I've already
Hello,
My application is trying to access to a host, and getting Curl error code 7.
Curl returned error code 7 - Couldn't connect to server
I need to diagnose this a bit deeper and see what is happening. I've
already implemented a callback function with CURLOPT_DEBUGFUNCTION, and the
function