org.eclipse.jgit.api.errors.TransportException: git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail

JBoss Issue Tracker | christian posta | 9 months ago
  1. 0

    When running this command: addon-install-from-git --url https://github.com/forge/wildfly-swarm-addon.git I get this error: {quote} Using Forge at /usr/local/Cellar/jboss-forge/3.0.1.Final/libexec _____ | ___|__ _ __ __ _ ___ | |_ / _ \| `__/ _` |/ _ \ \\ | _| (_) | | | (_| | __/ // |_| \___/|_| \__, |\___| |__/ JBoss Forge, version [ 3.0.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] [temp]$ addon-install-from-git --url https://github.com/forge/wildfly-swarm-addon.git ***INFO*** Installing Addon from Git [1/4] ... ***INFO*** Installing Addon from Git:Cloning repository in /var/folders/fq/cr0h3mm50ds0n4b5td16gk280000gn/T/tmpdir2611939843702157420 [1/4] ... ***ERROR*** Error while executing 'addon-install-from-git' org.eclipse.jgit.api.errors.TransportException: git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135) at org.jboss.forge.addon.git.GitUtilsImpl.clone(GitUtilsImpl.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) at org.jboss.forge.addon.git.GitUtilsImpl_$$_javassist_cd8b3f1e-48d9-4129-bbf1-8abc8e34c896.clone(GitUtilsImpl_$$_javassist_cd8b3f1e-48d9-4129-bbf1-8abc8e34c896.java) at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.cloneTo(AddonGitBuildAndInstallCommand.java:174) at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_a7596134-199b-4eda-bf8e-a15ed52f9b4b.execute(AddonGitBuildAndInstallCommand_$$_javassist_a7596134-199b-4eda-bf8e-a15ed52f9b4b.java) at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:95) at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98) at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:89) at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311) at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.eclipse.jgit.errors.TransportException: git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159) at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) ... 29 more Caused by: com.jcraft.jsch.JSchException: USERAUTH fail at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:119) at com.jcraft.jsch.Session.connect(Session.java:463) at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116) ... 36 more ***ERROR*** git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail [temp]$ {quote} I;ve seen this before when using jgit when I have a pw on my private key that i use to access git

    JBoss Issue Tracker | 9 months ago | christian posta
    org.eclipse.jgit.api.errors.TransportException: git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail
  2. 0

    With new plugin support gitbucket should support accessing the internet using a proxy

    GitHub | 2 years ago | simula67
    org.eclipse.jgit.api.errors.TransportException: https://github.com/takezoe/gitbucket_plugins.git: cannot open git-upload-pack
  3. 0

    EGIT saying Read timed out after 30,000 ms

    Stack Overflow | 2 years ago | adityag
    org.eclipse.jgit.api.errors.TransportException: Read timed out after 30,000 ms
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnknownHostKey Exception in Accessing GitHub Securely

    Stack Overflow | 4 years ago | Izza
    org.eclipse.jgit.api.errors.TransportException: git@github.com:test/test_repo.git: UnknownHostKey: github.com. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
  6. 0

    JGit Connection refused

    Stack Overflow | 3 years ago | tomasz
    org.eclipse.jgit.api.errors.TransportException: git://192.168.1.1/abc: Connection refused: connect

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.jgit.api.errors.TransportException

      git@github.com:forge/wildfly-swarm-addon.git: USERAUTH fail

      at org.eclipse.jgit.api.FetchCommand.call()
    2. JGit - Core
      CloneCommand.call
      1. org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134)
      2. org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
      3. org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
      3 frames
    3. Forge - Git API
      GitUtilsImpl.clone
      1. org.jboss.forge.addon.git.GitUtilsImpl.clone(GitUtilsImpl.java:71)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. Furnace - Proxy Utilities
      ClassLoaderInterceptor$1.call
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      1 frame
    6. Furnace - Runtime API
      ClassLoaders.executeIn
      1. org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      1 frame
    7. Furnace - Proxy Utilities
      ClassLoaderInterceptor.invoke
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      1 frame