cURL / Mailing Lists / curl-users / Single Mail

curl-users

Troubleshooting Connection Error

From: Demetri Mouratis <dmourati_at_gmail.com>
Date: Thu, 16 Nov 2006 11:56:34 -0800

Hi,

I'm using curl as a component in another software package called
pakiti, http://pakiti.sourceforge.net/. I'm running into a problem
where curl exits with "Connection error."

By way of background, the host dropbox4 is the pakati and curl client
and pakiti is the server.

Here's an invocation of the pakiti tool from the command line with
verbose output to show the curl invocation nested within:

[root_at_dropbox4 ~]# pakiti -v
/usr/bin/yum -d 0 check-update
HOSTNAME: dropbox4.lnc.rnmd.net
OS: CentOS release 4.4 (Final)
KERNEL: 2.6.9-42.ELsmp
/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/

This results in a log message in the pakiti client log that says
simply "Connection error."

[root_at_dropbox4 ~]# cat /var/log/pakiti/pakiti.log
Connection error

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.

Thanks.
Received on 2006-11-16