Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5499

If the Marketplace is unreachable, UPM causes Crowd to hang

      Summary

      Crowd administration panel can take longer to respond if the marketplace is unreachable.

      Environment

      • Crowd 3.7
      • UPM 3.0.7

      Steps to Reproduce

      1. Add entry in /etc/hosts to simulate marketplace being unreachable:
        203.56.8.1 marketplace.atlassian.com
        
      2. Try to visit the Manage Apps page, notice it is trying to reach the marketplace
      3. Try to click on other items of the admin panel before the request to the marketplace times out

      Expected Results

      Pages load quickly.

      Actual Results

      If the thread is still trying to reach the marketplace, the menus will not load until the request times out:

      2019-11-20 11:40:52,854 http-nio-8095-exec-17 INFO [atlassian.marketplace.client.MarketplaceClient] GET https://marketplace.atlassian.com/rest/2/
      2019-11-20 11:41:07,856 http-nio-8095-exec-17 WARN [atlassian.upm.pac.PacClientImpl] Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException: org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/203.56.8.1] failed: connect timed out
      

      The browser tab will hang if you click on any other item in Crowd in the time frame between the messages above (marketplace request and timeout).

      Notes

      This bug is similar to the following one which affects Confluence:

      Workaround

      In Crowd, disable connectivity to Marketplace:

      • Cog Icon >> General Configuration >> Manage Apps >> Settings >> Uncheck the 'Connect to the Atlassian Marketplace' box, then click 'Apply'

      Or, configure an outbound proxy as the Internet gateway for Crowd so the Marketplace address can be reached:

            [CWD-5499] If the Marketplace is unreachable, UPM causes Crowd to hang

            SET Analytics Bot made changes -
            UIS Original: 4 New: 5
            SET Analytics Bot made changes -
            UIS Original: 2 New: 4
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 4
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 4
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            SET Analytics Bot made changes -
            UIS Original: 0 New: 4
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0

              Unassigned Unassigned
              bandreeti Bernardo Andreeti
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated: