JIRA 6.0.1 : Access to Marketplace is random

Hi,

I'm trying to enable access to Marketplace in JIRA 6.0.1 that is located behind proxy server. 

To enable this communication I have such a variable in setenv.sh :

JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dhttp.proxyAuth=basic -Dhttps.proxyAuth=basic -Dhttp.proxyHost=xxxx -Dhttp.proxyPort=9090 -Dhttp.proxyUser=myuser -Dhttp.proxyPassword=mypass -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=9090 -Dhttps.proxyUser=myuser -Dhttps.proxyPassword=mypass -Dhttp.nonProxyHosts=localhost\|*.testcompany.com\|*.company.com "

After applying this configuration and starting the JIRA server usually I receive such error : 

2016-10-25 17:39:34,222 UpmScheduler:thread-2 WARN anonymous [atlassian.upm.notification.PluginUpdateCheckerImpl] Automatic plugin update check failed
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException
.....

and in UI there is information that "The Atlassian Marketplace server is not reachable.". 

However sometimes, after restarting JIRA I can connect with Marketplace and even install plugins.

Have you ever encounter such issue ? If yes, I would really appreciate any help .

Regards,

Rafal

 

2 answers

Finally I found the reason of the solution. My proxy supports many different ways of authentication: NEGOTIATE, NTLM and BASIC. In 6.0.1 until 6.1.9 there was such a error with UPM : https://ecosystem.atlassian.net/browse/UPM-5223 that could cause, a similar behaviour like here. 

In my case the solution was to upgrade JIRA to 6.1.9 and then upgrade UPM plugin to 2.20.5 . After that I have access to Atlassian MarketPlace all the time, even after restarts. 

The strange thing is that sometime it works and then there is no such error in the logs. 

I also use BASIC authentication so NTLM should not be used for that.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 10 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

295 views 4 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you