Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire Automation Services Client Job Sender with OpenID authentication is not supported
Solution:
If the TIBCO Spotfire Server authentication is OpenID connect and you run the Client Job Sender (Spotfire.Dxp.Automation.ClientJobSender.exe) with a command like the following on a command line:
"C:\Program Files\TIBCO Spotfire\Spotfire.Dxp.Automation.ClientJobSender.exe" "http://spotfireserver:8080/" "C:\Temp\jobfile.xml"
You will get the following 'ServerException: Spotfire Server manifest contains no authentication type' error:
Info;17-06-08 11:03:36.386;7632;Program;Starting application using command line 'http://spotfireserver:8080 C:\Temp\jobfile.xml' Debug;17-06-08 11:03:36.417;7632;Program;Ssl Policy on Errors: RemoteCertificateNameMismatch Debug;17-06-08 11:03:36.417;7632;Program;Tls protocols allowed: Ssl3, Tls, Tls11, Tls12 Debug;17-06-08 11:03:36.417;7632;Program;Creating application. Info;17-06-08 11:03:36.433;7632;Console;Connecting to server http://spotfireserver:8080. Debug;17-06-08 11:03:36.433;7632;ServerConnectionManager;Connecting to 'http://spotfireserver:8080', using request timeout 600 seconds. Debug;17-06-08 11:03:36.448;7632;ServerConnectionManager;Reading manifest from: http://spotfireserver:8080 Debug;17-06-08 11:03:36.448;7632;ServerConnectionManager;Configure request to http://spotfireserver:8080/spotfire/manifest using authentication NotSet. Error;17-06-08 11:03:36.542;7632;Console;Error executing job: Error;17-06-08 11:03:36.542;7632;Console;System.Runtime.Remoting.ServerException: Spotfire Server manifest contains no authentication type. at Spotfire.Dxp.Automation.ClientJobSender.ServerConnectionManager.ReadManifestInformation() at Spotfire.Dxp.Automation.ClientJobSender.ServerConnectionManager.Connect(Uri serverUri, Int32 webServiceRequestTimoutSeconds) at Spotfire.Dxp.Automation.ClientJobSender.JobExecutionHandler.Run(CommandLineManager cmd) Debug;17-06-08 11:03:36.542;7632;Program;Application exit ClientExecutionError.This is because in TIBCO Spotfire 7.8 to 7.10, there is no support for OpenID in the Automation Services clientjobsender. The OpenID implementation that is used requires a redirect to a web page for authentication and there is no way to do that in the command line clientJobsender.
For this to work, upgrade to TIBCO Spotfire 7.11 where support for OpenID and the client job sender has been added.
Doc: Configuring the Client Job Sender for OAuth2 authentication
Comments
0 comments
Article is closed for comments.