Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-11123

Import repositories page won't show any error if the connection to api url of external services Bitbucket Cloud not allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.15.0
    • None
    • None

    Description

      Summary

      Import repositories page won't show any error if the connection to api url of external services like Bitbucket Cloud is blocked by proxy or firewall. It appears that initial connection is successful but HttpRequestFailedEvent is not handled in UI

      Environment

      outbound proxies or firewalls configured to block certain external connections

      Steps to Reproduce

      Configure outbound proxy to block connection attempt to api URL of BItbucket cloud  https://api.bitbucket.org

      Expected Results

      Successfully list the repositories after the "Connect" button is clicked.

      Actual Results

      When clicking on the 'connect' button, nothing happens. It just gets grayed out and stays on the page unless interrupted.

      POST /rest/importer/latest/external-source/missing-oauth-scopes HTTP/1.1" c.a.b.i.i.r.ExternalRepositoryResource Error making external request: Request forbidden 
      

      Workaround

      Allow connection through outbound proxy or firewall

      Attachments

        Issue Links

          Activity

            People

              dreissenberger Dan
              pthaikkalloor Prasanth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: