Unable to import git project from a remote repositoy 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.