Failed with code 5 is a Command Line result upload error. You may get this error when using Docker.
In the logs there maybe messages like Caused by: org.springframework.web.client.HttpClientErrorException: 400 highlight.server.client.campaignApplication.update.NoAnalysis. or
HighlightAutomation --analyzerDir /opt/hlt/perl docker run docker-dtr-dev.ntrs.com/cha/hl-agent-cli:5.1.11 --sourceDir /sourceDir --workingDir /workingDir --companyIdxxx --applicationId xxxxx --basicAuth YS5rdW1hcitTYW5b2Z0d2FyZS5jb20A= failed with code 5
Workaround or Action Plan
- If NoAnalysis messages are seen in logs it means there are no results hence upload has failed.
-
- Check if there is a Result.zip post the analysis completion. If yes, please try to upload it manually for that application.
- Check whether code is not accessible due to some permission issues.
-
-
If you are using a proxy server for upload, when running the command line in addition to Docker, you may need to configure it as described in the README. Please check the README.
-
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>
-
- Please check for the other possibilities in CAST HIGHLIGHT - CLI - Error code 5 - Command Line result upload error
Related Pages
To know about the usage, proxy settings etc https://hub.docker.com/r/casthighlight/hl-agent-cli
CAST HIGHLIGHT - CLI - Error code 5 - Command Line result upload error
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Zendesk Ticket Number
23523, 28181, 40904
Comments