Unable to build new-app from the private git repository

Solution Verified - Updated -


  • Unable to create oc new-app from the private git repository.
  • Unable to create new build from the private git repository with the below error:
URL is valid but cannot be reached. If this is a private repository, enter a source Secret in advanced Git options


  • Red Hat OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content