Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

255 views 1 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you