curl-users
Re: Troubleshooting Connection Error
Date: Thu, 16 Nov 2006 16:18:44 -0800
On 11/16/06, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Thu, Nov 16, 2006 at 11:56:34AM -0800, Demetri Mouratis wrote:
> > If I drill down and exclude the pakati invocation and just call curl
> > as pakiti wants to, here's what I get:
> >
> > [root_at_dropbox4 ~]# /usr/bin/curl -s -x pakiti.scc.rnmd.net:80 -F
> > host="dropbox4.lnc.rnmd.net" -F kernel="2.6.9-42.ELsmp" -F
> > admin="dmourati_at_rnmd.net" -F os="CentOS release 4.4 (Final)" -F
> > version="5" -F updates="\<UPDATES\>\<\/UPDATES\>"
> > http://pakiti.scc.rnmd.net/feed/
> > Connection error[root_at_dropbox4 ~]#
> >
> > Any help in troubleshooting this is greatly appreciated.
>
> Try adding the -v option to see exactly how far it's getting in the
> transaction. What version of curl are you using?
>
Dan,
Thanks for the reply. Here's some further detail based on your suggestions.
[root_at_dropbox4 ~]# /usr/bin/curl -s -v -x pakiti.scc.rnmd.net:80 -F
host="dropbox4.lnc.rnmd.net" -F kernel="2.6.9-42.ELsmp" -F
admin="dmourati_at_rnmd.net" -F os="CentOS release 4.4 (Final)" -F
version="5" -F updates="\<UPDATES\>\<\/UPDATES\>"
http://pakiti.scc.rnmd.net/feed/
* About to connect() to pakiti.scc.rnmd.net port 80
* Trying 207.0.21.137... * connected
* Connected to pakiti.scc.rnmd.net (207.0.21.137) port 80
> POST http://pakiti.scc.rnmd.net/feed/ HTTP/1.1
User-Agent: curl/7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1
OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
Host: pakiti.scc.rnmd.net
Pragma: no-cache
Accept: */*
Content-Length: 714
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------5f0233e0ae1e
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Date: Fri, 17 Nov 2006 00:15:45 GMT
< Server: Apache/2.0.52 (CentOS)
< X-Powered-By: PHP/4.3.9
< Content-Length: 16
< Connection: close
< Content-Type: text/html; charset=UTF-8
* Closing connection #0
Connection error[root_at_dropbox4 ~]# which curl
/usr/bin/curl
[root_at_dropbox4 ~]# rpm -qf /usr/bin/curl
curl-7.12.1-8.rhel4
Received on 2006-11-17