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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

102 views 0 2
Join discussion

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