org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'environmentRepository' defined in org.springframework.cloud.config.server.config.EnvironmentRepositoryConfiguration$GitRepositoryConfiguration: Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.TransportException: ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/configserver: USERAUTH fail

Stack Overflow | tsukanomon | 3 months ago
  1. 0

    Spring Cloud Config with AWS CodeCommit vis SSH

    Stack Overflow | 3 months ago | tsukanomon
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'environmentRepository' defined in org.springframework.cloud.config.server.config.EnvironmentRepositoryConfiguration$GitRepositoryConfiguration: Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.TransportException: ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/configserver: USERAUTH fail
  2. 0

    GitCloneTask: User authentication fails for ssh with public key

    Eclipse Bugzilla | 3 years ago | florian
    java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: ssh://userid@git.eclipse.org:29418/mylyn/org.eclipse.mylyn.docs.vex: USERAUTH fail
  3. 0

    Using Keys with JGit to Access a Git Repository Securely

    Stack Overflow | 4 years ago | Izza
    org.eclipse.jgit.api.errors.TransportException: git@git.test.com:abc.org/test_repo.git: reject HostKey: git.test.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 35#102391948

    GitHub | 2 years ago | rgwch
    java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: git@github.com:elexis/elexis-3-core.git: Auth fail
  6. 0

    Using SSH authentication with JGit to Access a Git Repository Securely / Auth fail

    Stack Overflow | 1 year ago | Houssem Ben Slama
    org.eclipse.jgit.api.errors.TransportException: ssh://git@vod.canal-bis.com:22/edt/json-edito.git: Auth fail

  1. abrazeneb 1 times, last 3 months ago
96 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. com.jcraft.jsch.JSchException

    USERAUTH fail

    at com.jcraft.jsch.UserAuthPublicKey.start()
  2. JSch
    Session.connect
    1. com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:118)[jsch-0.1.50.jar:na]
    2. com.jcraft.jsch.Session.connect(Session.java:463)[jsch-0.1.50.jar:na]
    2 frames
  3. JGit - Core
    CloneCommand.call
    1. org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    2. org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    3. org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    4. org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    5. org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    6. org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    7. org.eclipse.jgit.transport.Transport.fetch(Transport.java:1115)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    8. org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    9. org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    10. org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)[org.eclipse.jgit-3.5.3.201412180710-r.jar:3.5.3.201412180710-r]
    10 frames
  4. org.springframework.cloud
    MultipleJGitEnvironmentRepository.afterPropertiesSet
    1. org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.cloneToBasedir(JGitEnvironmentRepository.java:282)[spring-cloud-config-server-1.1.2.RELEASE.jar:1.1.2.RELEASE]
    2. org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.initClonedRepository(JGitEnvironmentRepository.java:183)[spring-cloud-config-server-1.1.2.RELEASE.jar:1.1.2.RELEASE]
    3. org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.afterPropertiesSet(JGitEnvironmentRepository.java:135)[spring-cloud-config-server-1.1.2.RELEASE.jar:1.1.2.RELEASE]
    4. org.springframework.cloud.config.server.environment.MultipleJGitEnvironmentRepository.afterPropertiesSet(MultipleJGitEnvironmentRepository.java:64)[spring-cloud-config-server-1.1.2.RELEASE.jar:1.1.2.RELEASE]
    4 frames
  5. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    9 frames
  6. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2 frames
  7. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    6 frames
  8. com.zalora
    ConfigServiceApplication.main
    1. com.zalora.ConfigServiceApplication.main(ConfigServiceApplication.java:12)[classes/:na]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  10. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)[idea_rt.jar:na]
    1 frame