Error: Could not create SSL/TLS secure channel while running Automation Services job

Error: Could not create SSL/TLS secure channel while running Automation Services job

book

Article ID: KB0076010

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

Sometimes Automation jobs might fail when running through "Spotfire.Dxp.Automation.ClientJobSender.exe" whereas Automation Services Job would be working fine when executed through Automation Services Job Builder tool (Spotfire Analyst > Tools)  locally or on Server. More details about ClientJobSender can be found here
When Automation Job does not execute successfully through "Spotfire.Dxp.Automation.ClientJobSender.exe" then below error can be seen in the "Spotfire.Dxp.Automation.ClientJobSender.log" file which would be present in the same folder where "Spotfire.Dxp.Automation.ClientJobSender.exe" is placed. More details about "Spotfire.Dxp.Automation.ClientJobSender.log" can be found here

Error;20-01-21 14:56:04.916;7660;Console;Error executing job:
Error;20-01-21 14:56:04.916;7660;Console;System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.    
at System.Net.HttpWebRequest.GetResponse()    
at Spotfire.Dxp.Automation.ClientJobSender.ServerConnectionManager.ReadManifestInformation()    
at Spotfire.Dxp.Automation.ClientJobSender.ServerConnectionManager.Connect(Uri serverUri, Int32 webServiceRequestTimoutSeconds)    
at Spotfire.Dxp.Automation.ClientJobSender.JobServiceHandler.Create(CommandLineManager cmd, Int32 webServiceRequestTimoutSeconds, String serverUrl)    
at Spotfire.Dxp.Automation.ClientJobSender.JobExecutionHandler.Run(CommandLineManager cmd)
Info;20-01-21 14:56:04.916:13.599;13652;Program;Starting application using command line 'https://spotfire-test.com C:\spotfireTest\Test1\test.xml'
Info;20-01-21 14:56:04.916.613;13652;Console;Connecting to server https://spotfire-test.com.

 

Issue/Introduction

This article describes how to resolve error : Could not create SSL/TLS secure channel which appears while running Automation Services Job

Resolution

This error can be seen if the "Spotfire.Dxp.Automation.ClientJobSender.exe" and Spotfire.Dxp.Automation.ClientJobSender.exe.config" from a previous version are used to run the Automation Services jobs in a newer version.
Download "Automation Services" for your current version from edelivery.tibco.com (Under TIBCO Spotfire Server) and use the files there for running the Automation Services jobs through Spotfire Automation ClientJobSender.

Additional Information

Doc: Installing Client Job Sender Doc: Client Job Sender Monitoring Download: https://edelivery.tibco.com/storefront/view-download.ep?sku=10256-6&version=10.3.0