Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Error: 'The remote server returned an error: (401) Unauthorized' error is seen while running an automation job
Solution:
While running an TIBCO Spotfire Automation service job from the command line(Automation ClientJobSender) or Windows task Scheduler, the following error can be seen in the 'Spotfire.Dxp.Automation.ClientJobSender.exe.log'.
System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Spotfire.Dxp.Worker.ServiceContracts.Automation.ExecutionStatus.Create(WebRequest request) at Spotfire.Dxp.Automation.ClientJobSender.ServerConnectionManager.ExecuteWithOAuth2Retry(Func`1 executer, Boolean isRetry) at Spotfire.Dxp.Automation.ClientJobSender.JobExecutionHandler.ExecuteServiceCall(ServerConnectionManager connectionManager, Func`1 executer) at Spotfire.Dxp.Automation.ClientJobSender.JobExecutionHandler.Run(CommandLineManager cmd)
Make sure that the user account mentioned in the "Spotfire.Dxp.Automation.ClientJobSender.exe.config" file, which is used to run the automation job is able to log in to Spotfire.
Doc: Installing the Client Job Sender Doc: Running the Client Job Sender
Comments
0 comments
Article is closed for comments.