JIRA 6.0.1 : Access to Marketplace is random

Rafal Sojka October 25, 2016

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

2 votes
Rafal Sojka October 27, 2016

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. 

0 votes
Rafal Sojka October 26, 2016

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