SAP Knowledge Base Article - Preview

3452807 - Build fails due to java.net.UnknownHostException: modeltimagerepo.azurecr.io - SAP Commerce Cloud

Symptom

Build fails with logs similar to:

INFO d.h.c.Builder [main] BUILD STARTED
INFO d.h.c.Builder [main] Started task: checkCredentials
INFO d.h.c.t.CheckCredentialsTask [main] Checking credentials to base image registry: modeltimagerepo.azurecr.io
INFO d.h.c.i.r.DockerRegistryClient [main] Trying to authenticate in the registry modeltimagerepo.azurecr.io
Exception in thread "main" jakarta.ws.rs.ProcessingException: java.net.UnknownHostException: modeltimagerepo.azurecr.io
    at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:270)
    ...
    at de.hybris.ccv2.Builder.main(Builder.java:57)
Caused by: java.net.UnknownHostException: modeltimagerepo.azurecr.io
    at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)
    ...
    at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:268)
    ... 22 more


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

jakarta.ws.rs.ProcessingException, java.net.UnknownHostException, modeltimagerepo.azurecr.io, glassfish, jersey , KBA , CEC-SCC-CLA-BUI , Build Process , 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.