Troubleshooting
Problem
In IBM DevOps (UrbanCode) Deploy, when downloading artifacts from CodeStation to target Agents using an Agent Relay as CodeStation, caching Proxy fails with java.io.IOException error:
ERROR pool-1-thread-18 com.urbancode.air.agentrelay.codestation.cache.CacheManager - Preemptive replication failed
com.ibm.uclab.csrepl.exceptions.AuthenticationException: Cannot authenticate with server: https:<hostname>:8443/codestation/...
Symptom
These entries are present in the logs:
agent.out:
Downloading metadata for artifact set a0383fed-331a-4975-bf6e-62862283acb6.
Exception in thread "main" com.ibm.uclab.csrepl.exceptions.AuthenticationException: Authentication failed: a0383fed-331a-4975-bf6e-62862283acb6
at com.ibm.uclab.csrepl.exceptions.Errors.notAuthenticated(Errors.java:109) at com.ibm.uclab.csrepl.exceptions.Errors.defaultErrorSwitch0(Errors.java:67)
at com.ibm.uclab.csrepl.exceptions.Errors.defaultArtifactSetErrorSwitch(Errors.java:56)
at com.ibm.uclab.csrepl.client.CodestationClient.getMetadata(CodestationClient.java:163)
at com.ibm.uclab.csrepl.client.ops.DownloadBase.downloadMetadata(DownloadBase.java:124)
at com.ibm.uclab.csrepl.client.ops.DownloadSync.downloadMetadata(DownloadSync.java:104)
at com.ibm.uclab.csrepl.client.ops.DownloadSync.run(DownloadSync.java:85)
at com.urbancode.plugins.ucd.vfs.DownloadByLabelCommand.main(DownloadByLabelCommand.java:179)
relay.out:
CST ERROR pool-1-thread-10 com.urbancode.air.agentrelay.codestation.cache.CacheManager - Fetch failed: chunk=f4388151-22b0-42ad-a080-aae68fc8a0c9.000000000 com.ibm.uclab.csrepl.exceptions.AuthenticationException: Cannot authenticate with server: https://<hostname>:8443/codestation/v1
at com.ibm.uclab.csrepl.bm.BmConnectorHttp.openBlobByteRange(BmConnectorHttp.java:132)
at com.urbancode.air.agentrelay.codestation.cache.CacheManagerBlobChunkGetter.get(CacheManagerBlobChunkGetter.java:48)
at com.urbancode.air.agentrelay.codestation.cache.CacheManager.fetchChunk(CacheManager.java:292)
at com.urbancode.air.agentrelay.codestation.cache.CacheManager.doFetcherIteration(CacheManager.java:252)
at com.urbancode.air.agentrelay.codestation.cache.CacheManager.lambda$startFetchers$0(CacheManager.java:127)
at com.urbancode.air.agentrelay.codestation.cache.CacheManagerWorker.run(CacheManagerWorker.java:74)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"ARM Category":[{"code":"a8m50000000CerOAAS","label":"UrbanCode Deploy-\u003ERelay-\u003EConnectivity"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.0;6.1.0;6.1.1;6.1.2;6.1.3;6.2.0;6.2.1;6.2.2;6.2.3;6.2.4;6.2.5;6.2.6;6.2.7;7.0.0;7.0.1;7.0.2;7.0.3;7.0.4;7.0.5;7.1.0;7.1.1;7.1.2;8.0.1;8.0.1.2;8.1.2","Type":"MASTER"},{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNZ6H","label":"IBM DevOps Deploy"},"ARM Category":[{"code":"a8m50000000CerOAAS","label":"UrbanCode Deploy-\u003ERelay-\u003EConnectivity"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0;8.0.1;8.1.0;8.1.1;8.1.2"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21963022