Unable to import git project from a remote repository with username/password

Solution Unverified - Updated -

Issue

  • Unable to import a remote repository which enforces authentication;
  • Attempt to import a remote repository fails with the following error:

    [ERROR] [default task-23] [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (ExceptionUtilities.java:36) - Exception thrown: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException: Error cloning origin <https://test.example/test/a-project-bpm.git>.: java.lang.RuntimeException: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException: Error cloning origin <https://test.example/test/a-project-bpm.git>.
    ... 
    Caused by: org.eclipse.jgit.errors.TransportException: https://test.example/test/a-project-bpm.git: not authorized
    

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.1.0

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