CAST HIGHLIGHT - Result Upload - CLI - Error - Failed to fetch company with id xxx - com.castsoftware.highlight.RTExceptionWithStatus.errUpload(RTExceptionWithStatus.java:60)

Error while uploading the result csv through CLI - Failed to fetch company with id xxx - com.castsoftware.highlight.RTExceptionWithStatus.errUpload(RTExceptionWithStatus.java:60)

We get this error while using proxy CLI commands, when it fails to fetch the proxy details.

 

In the logs we could see the below error,

ERROR AnalysisPipeline: Upload failed
com.castsoftware.highlight.RTExceptionWithStatus: Failed to fetch company with id='xxxxx'
at com.castsoftware.highlight.RTExceptionWithStatus.errUpload(RTExceptionWithStatus.java:60)

 

Workaround and action plan


Below is the proxy command used in CLI and its example,

java -Dhttps.proxyHost=your proxy host -Dhttps.proxyPort=your proxy port -Dhttps.proxyUser=user -Dhttps.proxyPassword=password -jar HighlightAutomation.jar --workingDir "C:\highlight-myproject" --sourceDir "C:\myproject\src" --login xxx --password xxxx

 

When using the proxy command in CLI please make sure you are not using "http://" for
"-Dhttps.proxyHost=" it should be just the proxy name

below is the sample

D:\Highlight-Automation-Command>java -Dhttp.proxyHost=http://xxx-yyy.hhh.cast -Dhttp.proxyPort=0000

Instead, please use 

D:\Highlight-Automation-Command>java -Dhttp.proxyHost=xxx-yyy.hhh.cast -Dhttp.proxyPort=0000

Please refer Running the CLI with a proxy  to know more about proxy commands.

 

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

Ticket

49800

Have more questions? Submit a request

Comments

Powered by Zendesk