SAP Knowledge Base Article - Preview

3373807 - Build failed with fatal: Could not read from remote repository


In Commerce Cloud environment, you try to create a build and get following error:

INFO d.h.c.e.Executor [Thread-1] stderr: Cloning into '/opt/workspace/build/customer-project'...
INFO d.h.c.e.Executor [Thread-1] stderr: Unable to negotiate <Your repo IP address> port 22: no matching host key type found. Their offer: ssh-rsa
INFO d.h.c.e.Executor [Thread-1] stderr: fatal: Could not read from remote repository.
INFO d.h.c.e.Executor [Thread-1] stderr: Please make sure you have the correct access rights
INFO d.h.c.e.Executor [Thread-1] stderr: and the repository exists.
ERROR d.h.c.e.Executor [main] [FAILED] - Command [git] failed on retry 1 of 3, waiting 10 seconds before next attempt
    de.hybris.ccv2.BuilderException: Executing of external command failed with exit code: 128
    at de.hybris.ccv2.executor.Executor.executeOperation( ~[builder-logic.jar:?]
    at de.hybris.ccv2.executor.Executor.executeWithRetry( ~[builder-logic.jar:?]
    at de.hybris.ccv2.executor.Executor.execute( ~[builder-logic.jar:?]
    at de.hybris.ccv2.repository.git.GitCloner.clone( ~[builder-logic.jar:?]
    at de.hybris.ccv2.task.CloneCustomerProjectTask.process( ~[builder-logic.jar:?]
    at de.hybris.ccv2.Builder.runTask( ~[builder-logic.jar:?]
    at de.hybris.ccv2.Builder.lambda$runTasks$5( ~[builder-logic.jar:?]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining( [?:?]
    at$Head.forEach( [?:?]
    at de.hybris.ccv2.Builder.runTasks( [builder-logic.jar:?]
    at [builder-logic.jar:?]
    at de.hybris.ccv2.Builder.main( [builder-logic.jar:?]



SAP Commerce on the Public Cloud.



SAP Commerce Cloud all versions


Commerce Cloud, Build, SHA-1, HTTPS , KBA , CEC-SCC-CLA-BUI , Build Process , CEC-SCC-CLA-ENV-EMG , Environment Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.