Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3954

Import a project via SSH is not working over a proxy

XMLWordPrintable

    • False
    • False
    • Documentation (Ref Guide, User Guide, etc.)
    • ER1
    • ?
    • 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10)

      Import a project via SSH is not working over a proxy.

      How to reproduce:

      1-) Configure BC to connect via a proxy (HTTP or https):

      ./standalone.sh -c standalone-full.xml --debug -Dorg.uberfire.nio.git.proxy.ssh.over.http=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888

      ./standalone.sh -c standalone-full.xml --debug -Dorg.uberfire.nio.git.proxy.ssh.over.https=true -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8888

      2-) Try to import a project via ssh, i.e. git@bitbucket.org:eignatow/kiedora.git

      Expected results: the project is imported (works without proxy)

      Error on BC: https://gist.github.com/ederign/174153c9619182d959580c1be0baa656

      3-) Error on Proxy Log:

      CONNECT Oct 12 18:55:33 [21]: Connect (file descriptor 10): 172.17.0.1 [172.17.0.1]
      CONNECT Oct 12 18:55:33 [21]: Request (file descriptor 10): CONNECT bitbucket.org:22 HTTP/1.0
      INFO Oct 12 18:55:33 [21]: Refused CONNECT method on port 22
      INFO Oct 12 18:55:33 [21]: no entity

      How to reproduce:

      1. Setup local proxy with https://github.com/Travix-International/docker-tinyproxy, run it with docker compose.
      Access the pod (i.e. docker exec -it e1b8b95e8aa8ca2170181bd09c952dd2d6ce28a02f15689d03ae77a3781689f4 /bin/sh). Remember to change the pod.
      Check the log: tail -f /var/log/tinyproxy/tinyproxy.log

      2. Connect BC with the proxy via startup parameters

      3. Try to import the project

        1. new.gif
          1.41 MB
          Rishiraj Anand
        2. noname
          2 kB
          Myriam Fentanes
        3. rh-summit-social-graphics-evergreen-email-signature-300x100-us271231-bbh-202010.png
          6 kB
          Myriam Fentanes

              r_anand Rishiraj Anand (Inactive)
              eignatow Eder Ignatowicz
              Kennedy Bowers Kennedy Bowers
              Kennedy Bowers Kennedy Bowers
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: