Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4265

business-central fails to clone repositories for proxy authentication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.4.0
    • 6.3.0.GA
    • Business Central
    • Server requires proxy authentication.

    • ER3
    • Workaround Exists
    • Hide

      Use a custom java.net.Authenticator. See https://access.redhat.com/solutions/2620811

      Show
      Use a custom java.net.Authenticator. See https://access.redhat.com/solutions/2620811
    • Hide
      Show
      Have a proxy with authentication Start BPMS specifying system properties (http.proxyHost, http.proxyPort, http.proxyUser, http.proxyPassword, https.proxyHost, https.proxyPort, https.proxyUser, https.proxyPassword) "Clone repositories" in business-central to clone https://github.com/jbossdemocentral/bpms-travel-agency-demo-repo.git

      If a server requires proxy to access the Internet with proxy authentication, even after specifying system properties (http.proxyHost, http.proxyPort, http.proxyUser, http.proxyPassword, https.proxyHost, https.proxyPort, https.proxyUser, https.proxyPassword), you get the following Exception.

      14:50:36,202 ERROR [org.guvnor.structure.backend.repositories.RepositoryServiceImpl] (http-0.0.0.0:8080-1) Error during create repository: java.lang.RuntimeException: https://github.com/jbossdemocentral/bpms-travel-agency-demo-repo.git: 407 Proxy Authentication Required
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.createFileSystem(GitRepositoryBuilder.java:139) [guvnor-structure-backend-6.4.0.Final-redhat-6.jar:6.4.0.Final-redhat-6]
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.build(GitRepositoryBuilder.java:61) [guvnor-structure-backend-6.4.0.Final-redhat-6.jar:6.4.0.Final-redhat-6]
              at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:63) [guvnor-structure-backend-6.4.0.Final-redhat-6.jar:6.4.0.Final-redhat-6]
              at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java) [guvnor-structure-backend-6.4.0.Final-redhat-6.jar:6.4.0.Final-redhat-6]
              at org.guvnor.structure.backend.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:61) [guvnor-structure-backend-6.4.0.Final-redhat-6.jar:6.4.0.Final-redhat-6]
      ...
      Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/jbossdemocentral/bpms-travel-agency-demo-repo.git: 407 Proxy Authentication Required
              at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:516) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
              ... 58 more
      

              abakos@redhat.com Alexandre Porcelli
              rhn-support-tkobayas Toshiya Kobayashi
              Barbora Kapustova Barbora Kapustova (Inactive)
              Barbora Kapustova Barbora Kapustova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: