Failed to fetch requested repository with provided credentials issue for private GitHub repositories.

Solution Verified - Updated -

Issue

  • Build process is not able to clone the configured git repository:
 'error: failed to fetch requested repository "https://github.example.com/path/-docker-build.git" with provided credentials'

Environment

  • Openshift Container Platform (OCP) 3.11

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