curl-and-php
Difference between error 7 and 28
Date: Tue, 16 Sep 2008 14:59:16 -0700
A PHP application my company made is having problems every now and then
connecting to a remote API server. We own both, and have verified them
to be up and available, so we think there is some kind of network
problem and we have been trying to diagnose it for a while now.
The system generally works, but occasionally returns error code 7
(couldn't connect to host) or error code 28 (timed out). Both seem to
occur in consecutive connection attempts over the period of a minute or
so, then go back to working. So, for example, there will be 100
successful connections, then 5 failed (with error 7) transactions during
a one-minute time-span, then 20 more successful transactions.
As a part of diagnosing the problem, I am interested to know the
differences between error 7 (can't connect to host) and error 28 (timed
out). My guess is that 28 means it could connect but not finish in
time, and 7 means it couldn't even connect in the first place. Is this
guess correct?
Thanks,
- Chris
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-09-17