[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting with HTTPS to secure server



Sender: Wilbert van der Hoeven <wphoeven@xxxxxxxxx>

Yes! I found it.

Scott,

I tried you're example4 and that worked. Then it was a question of
searching for differences. It appeared to be:
POST /ups.app/xml/track HTTP/1.1
had to be
POST /ups.app/xml/Track HTTP/1.1
Mark the capital in Track!
I must have flipped the T to lower case during my testing process!
Thanks for your support and keep up your great work!

Wilbert



On Thu, 10 Mar 2005 09:41:29 +0100, Wilbert van der Hoeven
<wphoeven@xxxxxxxxx> wrote:
> Scott,
> 
> Here follows the log file:
> 
> HTTPAPI Ver 1.10 released 2004-09-24
> 
> https_init(): entered
> http_persist_open(): entered
> http_long_ParseURL(): entered
> Protocol Used: TLS Version 1
> http_persist_post(): entered
> http_long_ParseURL(): entered
> do_post(): entered
> POST /ups.app/xml/track HTTP/1.1
> Host: Wwwcie.ups.com
> User-Agent: http-api/1.10
> Content-Type: text/xml
> Expect: 100-continue
> Content-Length: 522
> 
> 
> recvresp(): entered
> SetError() #43: CommSSL_Read:  time-out!
> senddoc(): entered
> <?xml version="1.0"?><AccessRequest
> xml:lang="en-US"><AccessLicenseNumber>---------------------</AccessLicenseNumber><UserId>--------------</UserId><Password>---------------</Password></AccessRequest><?xml
> version="1.0"?><TrackRequest
> xml:lang="en-US"><Request><TransactionReference><CustomerContext>Example
> 1</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><RequestAction>Track</RequestAction><RequestOption>activity</RequestOption></Request><TrackingNumber>1Z12345E0291980793
>     </TrackingNumber></TrackRequest>
> 
> recvresp(): entered
> SetError() #43: CommSSL_Read:  time-out!
> http_close(): entered
> 
> Thanks,
> Wilbert
> 
> On Wed, 9 Mar 2005 16:37:36 -0600 (CST), Scott Klement
> <sk@xxxxxxxxxxxxxxxx> wrote:
> > Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> >
> > >
> > > Like I said in my post to Peter, the program times out on the
> > > receive() command. It gives the error with 'Time-out!' that is is in
> > > one of the modules in COMMSSLR4.
> >
> > I assume that you mean "CommSSL_read(): time-out!" I don't know what you
> > mean by "the receive() command" I assume that you mean CommSSL_Read(). The
> > error message means that it's expecting data from the web server, but
> > didn't receive it in the amount of time that you allotted.
> >
> > In order to understand why this is happening, we need to know what it's
> > trying to receive...
> >
> >
> > > Sorry I cannot be more specific. I can't connect to the computer from
> > > home. Am I correct to conclude that there is a connection established
> > > between the server and the client when the program comes as far as the
> > > receive command?
> >
> > Yes. The connection is already established, and the SSL handshake (if SSL
> > is used) is already done. It has already sent the POST command to the Web
> > server...  It may have done more than that as well, hard to say without
> > seeing the log.
> >
> > -----------------------------------------------------------------------
> > This is the FTPAPI mailing list.  To unsubsribe from the list send mail
> > to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
> > -----------------------------------------------------------------------
> >
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------