|Prior to 2.1.4
|XFile times out when using SSL with Server and ObjectName properties because correct port number was not specified.
This error affects versions of XFile prior to 2.1.4. (prior to SAXFile.dll versions: 184.108.40.20643; cab-version 220.127.116.1144)
Error message returned to XFile log:
This Operation is Timed Out.
Please Check your Internet Connection
and the TimeOut property.
When using the XFRequest object's Server, ObjectName and UseSSL properties to build the URL address to which the upload will be posted, you must also remember to change the port number to the port appropriate for SSL. Otherwise, the default value of the Port property will remain at 80. SSL traffic usually needs to use port 443, unless configured otherwise. If the wrong port is specified, the request will fail and XFile will eventually time out.
There are multiple solutions to this behavior:
- Upgrade to version 2.1.4 (or higher) of XFile. In this release of XFile, is UseSSL is set to True, the default value of the Port property will be changed to 443. If the Port property is set to a different value in script, that value will used instead.
- Instead of breaking up the URL with the Server, ObjectName, UseSSL and Port properties, use the CurrentURL property instead. If the https protocol is specified in the URL, XFile will set the default port number to 443. See the code sample below to see how CurrentURL is used.
myXFR.CurrentURL = "https://MyServerName/Myapplication/formresp.asp"
- Specify the Port property in the script if you are also using the Server, ObjectName and UseSSL properties. See the code sample below to see how these properties are used.
'---parameters would go here...
set myXFR = AXFFile.XFRequest
.Debuglevel = true
.DebugLog = "C:\Save Here\XFileLog.log"
'---If not using the CurrentURL property,
'--- the following values must be set:
.Server = "MyServerName"
.ObjectName = "/MyApplication/formresp.asp"
.UseSSL = True
.Port = 443
|Created : 6/25/2004 11:55:53 AM (last modified : 6/25/2004 11:55:53 AM)