Re: How to get more information about error code 7

2020-03-23 Thread Rich Gray via curl-library
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

Re: How to get more information about error code 7

2020-03-19 Thread Dan Fandrich via curl-library
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

Re: How to get more information about error code 7

2020-03-19 Thread Leo Song via curl-library
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?

Re: How to get more information about error code 7

2020-03-19 Thread Daniel Stenberg via curl-library
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. -- /

Re: How to get more information about error code 7

2020-03-19 Thread Ray Satiro via curl-library
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

Re: How to get more information about error code 7

2020-03-19 Thread Leo Song via curl-library
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

Re: How to get more information about error code 7

2020-03-19 Thread Jason Proctor via curl-library
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

How to get more information about error code 7

2020-03-19 Thread Leo Song via curl-library
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