cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl: (52) Empty reply from server

From: Dechnik, Michael <mdechnik_at_Elemica.com>
Date: Mon, 10 Mar 2003 16:53:32 -0500

It appears that we cannot post a document to a remote b2b server using curl. We contiuously get the the same error: curl: (52) Empty reply from server. We have tried several command line options including the -2, -3 --trace. It appears that a certificate exchange is completed then the post ends prematurely based on the trace file. Any thoughts?

/opt/bin/curl -v --data-binary @b2bcompany.out --cert ns01.pem -H 'Content-type: application/x-rosettanet-agent'
https://connect.someb2bcompany.com:5443/invoke/gateway.b2b.xml/receiveXML

Here is the output:

* About to connect() to connect.b2bcompany.com:5443
* Connected to connect.b2bcompany.com (216.183.XXX.XXX) port 5443
* SSL connection using DES-CBC3-SHA
* Server certificate:
* subject: /C=US/ST=Pennsylvania/L=Philadelphia/O=B2bcompany/OU=B2bcompany/OU=Terms of use at www.verisign.com/rpa (c)00/CN=connect.b2bcompany.com
* start date: 2003-01-10 00:00:00 GMT
* expire date: 2005-01-09 23:59:59 GMT
* common name: connect.b2bcompany.com (matched)
* issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign
> POST /invoke/gateway.b2b.xml/receiveXML HTTP/1.1
User-Agent: curl/7.9.8 (sparc-sun-solaris2.8) libcurl 7.9.8 (OpenSSL 0.9.6d)
Host: connect.b2bcompany.com:5443
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-type: application/x-rosettanet-agent
Content-Length: 33

This is a test file from ClientX
* Connection #0 left intact
curl: (52) Empty reply from server
* Closing connection #0

---------------------------
Mike. Dechnik
Senior System Administrator
Elemica
mdechnik[at]elemica.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-10