Login  
Search All Forums
Dart Home | PowerTCP SSL for ActiveX | Custom Development Reply | PowerTCP SSL for ActiveX Topics | Forums   
AuthorForum: PowerTCP SSL for ActiveX
Topic: Error 10060 - Timeout
cdalton

From: Charlotte, NC USA
Posts: 12
Member Since: 11/04/03
posted November 26, 2003 3:07 PM

Why does the following error occur?

The connection has been dropped because of a network failure or because the peer system failed to respond. Also caused when Connect, Send, Receive, Fill or Close methods are used with a Timeout parameter and the operation fails to complete within the specified number of milliseconds.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 26, 2003 3:23 PM


I can't really offer a better description of when the error would occur other then the one you already posted.

Maybe it would help if you told me what you were doing when you got the error? Also, do the sample apps work?
cdalton

From: Charlotte, NC USA
Posts: 12
Member Since: 11/04/03
posted November 26, 2003 3:51 PM

I can reproduce this error by trying to access a website that needs port 3443 open. If I open the port on the firewall then everything will work fine.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 26, 2003 4:14 PM

What method call of what Dart component is causing the error?
cdalton

From: Charlotte, NC USA
Posts: 12
Member Since: 11/04/03
posted November 26, 2003 4:25 PM

Here is my code that has to be causing the problem:

On Error GoTo ErrHandler:

'Set Transaction State
 mTransState = 1

'Allow 90 seconds for the Connection to be Made
 oDart.Timeout = 90000
 
'Extract Host Name from URL
mHost = GetHostName(sECALURL)

'Extract Page from URL
mPage = GetPage(sECALURL)

'Extract Port from URL
mPort = GetPort(sECALURL)

'Delete Ecals file if it exists because the ECALS URL has expired
Call DeleteEcals

'Connect to Web Server
oDart.Connect mHost, mPort

Exit Sub
ErrHandler:
RaiseEvent CBError(Err.Description)
cdalton

From: Charlotte, NC USA
Posts: 12
Member Since: 11/04/03
posted November 26, 2003 4:27 PM

I'm using the PowerTCP SSL Tool.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 26, 2003 4:30 PM

It sounds like you are attempting to connect to a non-secure port, but you think it's secure. The error means that we were expecting to get data back from the host, but the timeout period expired before we did.
cdalton

From: Charlotte, NC USA
Posts: 12
Member Since: 11/04/03
posted November 26, 2003 4:39 PM

What If I set the protocol to (oDart.Protocol = secureNone) when I connect to the 
non-secure web site and set the protocol
to oDart.Protocol = secureSSL2 when I connect to the secure site. What's strange about this is that the application works fine here using the secure protocol connecting to non-secure ports(80).
Can you explain why?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 26, 2003 4:54 PM

You can't switch in the middle. That's probably not it anyway.

If it works fine using the secure protocol on port 80, then it means it's a special server that is secure on port 80 (not normal but not impossible)

It looks like you have some weird situations to accomodate for!

If you are still having problems, I would encourage you to get support so that you can call in and give us actual sites to try and connect to.
Reply | PowerTCP SSL for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX