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

Bitbucket is trying to reach Marketplace even when the connectivity to Marketplace has been disabled.

XMLWordPrintable

      Issue Summary

      Bitbucket is trying to connect to the Atlassian Marketplace even when the connectivity to the same has been disabled.

      Steps to Reproduce

      • Create a Bitbucket 9.4.1 environment
      • Disable the connectivity setting of UPM (Disable all the options in the Manage apps -> Setting screen.)
      • Edit /etc/hosts and assign a fake IP to marketplace.atlassian.com
      • Restart Bitbucket
      • Check the logs after 10 or so minutes

      Expected Results

      Bitbucket should not attempt to connect to the Marketplace since connectivity is disabled

      Actual Results

      Bitbucket attempts to connect to the Atlassian Marketplace throwing a connectivity error

      The below exception is thrown in the atlassian-bitbucket.log file:

      2025-02-28 05:19:42,983 WARN  [MpacApplicationCacheManager:thread-1]  c.a.m.p.c.ParentSoftwareClientImpl ParentSoftwareClient error : org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/10.5.5.5] failed: Connection timed out
      com.atlassian.marketplace.parentsoftware.ApiException: org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/10.5.5.5] failed: Connection timed out
      	at com.atlassian.marketplace.parentsoftware.ApiClient.invokeAPI(ApiClient.java:899)
      	at com.atlassian.marketplace.parentsoftware.api.ParentSoftwareVersionApisApi.getParentSoftwareVersionByBuildNumber(ParentSoftwareVersionApisApi.java:232)
      	at com.atlassian.marketplace.parentsoftware.client.ParentSoftwareClientImpl.getParentSoftwareVersionByBuildNumber(ParentSoftwareClientImpl.java:46)
      
      <trimmed>
      Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/10.5.5.5] failed: Connection timed out
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
      
      <trimmed>
      Caused by: java.net.ConnectException: Connection timed out
      	at java.base/sun.nio.ch.Net.connect0(Native Method)
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              bplump Brent P
              ced0c047cfeb Joel Mwangi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: