NetTalk Central

Author Topic: Web Client Error / SSL Email Client error  (Read 6391 times)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Web Client Error / SSL Email Client error
« on: October 21, 2014, 04:21:03 AM »
Hi All,

There have been several reports from WebClient object users who are suddenly getting this error in their programs;

Error Code: -53
Error Message: The requested connection could not be opened. The Open
command timed out or failed to connect.
The error number was -53 which means Open Timeout or Failure error. - [SSL Error = 16]

This occurs when the web server you are talking to will no longer accept SSLv3 connections, and require you to use TLSv1 (or later) connections.

Because of the POODLE bug many servers have indeed stopped accepting SSL 3 connections.

You can update your object by setting;

ThisWebClient.SSLMethod = NET:SSLMethodTLSv1

Alternatively you can change the default, as set in netsimp.clw so that all WebClient objects are affected. (The default has been changed for builds 8.29 and later.)

netsimp.clw
NetSimple.Init method
change the line
self.SSLMethod = NET:SSLMethodSSLv3
to
self.SSLMethod = NET:SSLMethodTLSv1

update : While it mostly manifested as a Webclient issue, this above issue can affect and program that comminucates with a server via SSL. In other words it might be email, or ftp, or whatever. The solution though is the same, since SSLMethod is a property of the NetSimple base class.

Cheers
Bruce Johnson
CapeSoft


« Last Edit: March 31, 2015, 01:51:27 AM by Bruce »