Error when trying to connect Jira, Confluence, and BitBucket to Atlasasian Marketplace

Mark Fortin April 24, 2019

Our newly-installed Jira, Confluence and Bitbucket servers / services are unable to connect to Atlassian market place.

We followed the instructions mentioned in the below link to get past the SunCertPathBuilderException

                https://confluence.atlassian.com/confkb/the-atlassian-marketplace-server-is-not-reachable-due-to-peer-not-authenticated-321850263.html

                https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html

 

We verified Connection to SSL services.  We added appropriate HTTP & HTTPS proxy configurations (using setenv.bat) as mentioned in the links below:

https://confluence.atlassian.com/jirakb/how-to-configure-an-outbound-http-and-https-proxy-for-jira-applications-247857187.html

 

We tried the solutions suggested in these links:

https://confluence.atlassian.com/display/JIRAKB/How+to+Configure+an+Outbound+HTTP+and+HTTPS+Proxy+for+JIRA?_ga=2.137464755.2005504251.1555968981-30674843.1555968981

https://confluence.atlassian.com/upm/problems-connecting-to-the-atlassian-marketplace-273875718.html?_ga=2.175194913.2005504251.1555968981-30674843.1555968981

 

Below is the error log for our Jira application:

2019-04-24 11:13:50,299 http-nio-8080-exec-4 WARN      [c.a.upm.pac.PacClientImpl] Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException$ServerError: 401: <HEAD><TITLE>Authorization Required</TITLE></HEAD>

    <BODY BGCOLOR="white" FGCOLOR="black"><H1>Authorization Required</H1><HR>

    <FONT FACE="Helvetica,Arial"><B>

    Description: Authorization is required for access to this proxy</B></FONT>

    <HR>

    <!-- default "Authorization Required" response (401) -->

    </BODY>                                                                                                                                                                                                  

2019-04-24 11:13:50,965 Caesium-1-3 INFO      [c.a.jira.i18n.I18nWarmer] Initialised i18n cache in 11481

2019-04-24 11:13:50,966 Caesium-1-3 INFO      [c.a.jira.startup.CacheWarmerLauncher] Warmed cache(s) in 11488 ms.

2019-04-24 11:13:51,565 http-nio-8080-exec-6 DEBUG harimohan 673x17x7 7n1zy6 10.32.45.109 /rest/troubleshooting/1.0/check/harimohan [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] getService bundle [com.atlassian.troubleshooting.plugin-jira]

2019-04-24 11:13:52,857 StreamsCompletionService::thread-1 DEBUG harimohan 673x21x4 7n1zy6 10.32.45.109 /plugins/servlet/streams [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] getService bundle [com.atlassian.streams.thirdparty-plugin]

2019-04-24 11:13:53,062 StreamsCompletionService::thread-4 WARN harimohan 673x21x4 7n1zy6 10.32.45.109 /plugins/servlet/streams [o.a.a.u.stax.dialect.StAXDialectDetector] Unable to determine dialect of the StAX implementation at bundle://165.0:1/

2019-04-24 11:13:56,896 Modification Check:thread-1 INFO      [c.a.jira.startup.JiraStartupLogger]

    

    ___ Modifications ___________________________

   

         Modified Files                                : jira-application.properties

         Removed Files                                 : None

   

2019-04-24 11:14:03,353 Caesium-1-2 INFO      [c.a.j.p.h.service.connect.InstallGlancesJobHandler] Running InstallGlancesJobHandler...

2019-04-24 11:14:03,353 Caesium-1-2 INFO      [c.a.j.p.h.service.connect.InstallGlancesJobHandler] There is no link to Hipchat, no need to install glances.

2019-04-24 11:14:04,623 http-nio-8080-exec-12 WARN harimohan 674x57x6 1y0jupm 10.32.45.109 /rest/plugins/1.0/product-version [c.a.upm.pac.PacClientImpl] Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException$ServerError: 401: <HEAD><TITLE>Authorization Required</TITLE></HEAD>

    <BODY BGCOLOR="white" FGCOLOR="black"><H1>Authorization Required</H1><HR>

    <FONT FACE="Helvetica,Arial"><B>

    Description: Authorization is required for access to this proxy</B></FONT>

    <HR>

    <!-- default "Authorization Required" response (401) -->

    </BODY>

1 answer

1 accepted

0 votes
Answer accepted
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 24, 2019

The network that you installed your Atlassian applications on does not have direct access to the internet.  It needs to go through a proxy server in order to gain outbound internet access.  It would be worth having a chat with whomever manages that proxy server.  I'd let them know what you are doing and they should be able to tell you what is possible.  Given the myriad or possible options available for this type of proxy server, it's difficult to know how it is configured and advise much more.

The error you are receiving is a 401 which likely means that the username/password you are using (or not using) does not have permission to access the proxy server, or you are passing a correct username/password pair and that user does not have permission to get to Marketplace.

Suggest an answer

Log in or Sign up to answer