CAST HIGHLIGHT - CLI - Scan is failing with error code 5

When trying to run the command from Linux machine scan is failing with error code 5.

Action Plan

  1. The error code 5  - Command-Line result upload error" is usually seen with the permission issues with User ID / Password.
      1.  Check whether  --login , --password and –-serverUrl are entered correctly.
      2.  Check whether the user has changed the password for the login to HL whether the user was able to login and upload results previously.
      3. Check whether the password is locked.
  2. Check whether there is any proxy involved. If proxy is there user needs to pass the proxy parameters to the command line so that it can reach RPA through the proxy. An example can be found in the Command Line readme. Below is the sample command line with proxy

--------------------------------------
Special configuration for proxy server
--------------------------------------
Using a proxy server for upload.

Proxy with no password :
-Dhttps.proxyHost=<your proxy host>
-Dhttps.proxyPort=<your proxy port>

If a password is requested for proxy add the following additional parameter
-Dhttps.proxyUser=<user>
-Dhttps.proxyPassword=<password>


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

 

 

Related Articles

CAST HIGHLIGHT - CLI - Error Codes

CAST HIGHLIGHT - CLI - Scan fails for an application with an error Failed to fetch company with id XXX

CAST HIGHLIGHT - CLI - Upload failed with error Failed to fetch company with id='XXXX'

CAST HIGHLIGHT - CLI - ERROR: Failed to fetch company with id when using  --basicAuth

 

Tickets

29229

Have more questions? Submit a request

Comments

Powered by Zendesk