My Oracle Support Banner

"ODI-12436: Unable to connect to Git remote repository with the information provided. Authentication failed due to invalid Private Key File" Error Received when Attempting SSH Git Connection (Doc ID 2494913.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Within Oracle Data Integrator (ODI) Studio 12.2.1.3.0, the following error is received while trying to connect to a Git remote Repository via SSH protocol:

oracle.odi.core.service.vcs.connection.OdiVcsConnectionException: ODI-12436: Unable to connect to Git remote repository with the information provided. Authentication failed due to invalid Private Key File.
    at oracle.odi.core.service.vcs.generic.config.OdiVcsRepositoryConnection.validateConnection(OdiVcsRepositoryConnection.java:128)
    at oracle.odi.core.service.vcs.generic.config.OdiVcsRepositoryConnection.updateConnection(OdiVcsRepositoryConnection.java:153)
    at oracle.odi.core.service.vcs.git.config.OdiGitRepositoryConnection.updateConnection(OdiGitRepositoryConnection.java:376)
    ...
Caused by: oracle.odi.core.service.vcs.git.exceptions.OdiGitRepositoryConnectionException: ODI-12436: Unable to connect to Git remote repository with the information provided. Authentication failed due to invalid Private Key File.
    at oracle.odi.core.service.vcs.git.config.OdiGitRepositoryConnection.isConnectionSuccessful(OdiGitRepositoryConnection.java:95)
    at oracle.odi.core.service.vcs.generic.config.OdiVcsRepositoryConnection.validateConnection(OdiVcsRepositoryConnection.java:120)
    ... 106 more
Caused by: oracle.odi.core.service.vcs.git.adapter.OdiGitAdapterException: ODI-12436: Unable to connect to Git remote repository with the information provided. Authentication failed due to invalid Private Key File.
    at oracle.odi.core.service.vcs.git.adapter.impl.OdiJGitAdapter.testConnectionForSsh(OdiJGitAdapter.java:277)
    at oracle.odi.core.service.vcs.git.adapter.impl.OdiJGitAdapter.testConnection(OdiJGitAdapter.java:220)
    at oracle.odi.core.service.vcs.git.adapter.impl.OdiJGitAdapter.acknowledgeConnection(OdiJGitAdapter.java:193)
    at oracle.odi.core.service.vcs.git.config.OdiGitRepositoryConnection.isConnectionSuccessful(OdiGitRepositoryConnection.java:91)
    ... 107 more

The issue can be reproduced at will with the following steps:

  1. Configure ODI Studio to utilize SSH Authentication to connect to Git.
  2. Enter the appropriate Git URL, Private Key File location, and Passphrase.
  3. Click OK and immediately observe an error box with the ODI-12436 error stack.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.