getting error: java.net.UnknownHostException: plugins.atlassian.com

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2011

Hi all,

getting following error when i visit Administrator--->plugins section.

java.net.UnknownHostException: plugins.atlassian.com

log file shows as

Nov 18, 2011 12:10:22 PM com.sun.jersey.server.impl.application.WebApplicationImpl onException

SEVERE: Internal server error

com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: plugins.atlassian.com

at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:202)

at com.sun.jersey.api.client.Client.handle(Client.java:365)

at com.sun.jersey.api.client.WebResource.handle(WebResource.java:556)

at com.sun.jersey.api.client.WebResource.post(WebResource.java:226)

at com.atlassian.plugins.client.service.plugin.PluginVersionServiceClientImpl.findUpdates(PluginVersionServiceCl

ientImpl.java:94)

at com.atlassian.upm.pac.PacClientImpl.getUpgrades(PacClientImpl.java:140)

at com.atlassian.upm.rest.resources.UpgradesResource.get(UpgradesResource.java:38)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

i think it is related to get connection with UPM ( Universal Plugin Manager). how to disable, to diable UPM.

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Wojciech Seliga
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2011

I think your JIRA instance runs behind a firewall - i.e. it cannot freely connect to plugins.attlassian.com.

UPM (unified plugin manager in JIRA) tries to visit this page to show you the list of featured/available/ready-for-upgrade plugins (depending on the tab you click there).

To avoid this problem you usually have to configure HTTP and HTTPS proxy for your JIRA instance (Java JVM which JIRA runs on).

You need to specify http.proxyPort, http.proxyHost, https.proxyPort and https.proxyHost. If you selectively want to use the proxy you may need to http.nonProxyHosts and https.nonProxyHosts too.

Then you should not see these errors anymore while playing with Plugins section.

You will most probably see similar exception though while starting JIRA (but only once) - as apparently UPM ignores proxy settings at this stage.

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2012

Due to some other work i am not able to resopnd to your answer,

i seted proxyes as per your response but it is not working getting sme error :(

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2012

Wojteks right, I get this all the time, look at your browser settings. Theory goes like http://confluence.atlassian.com/display/JIRAKB/Configure+Web+Proxy+Support+for+JIRA

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2012

Now i am not getting any error but when i search for plugings nothing was showing

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events