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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

667 views 4 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot