How to configure UPM to use proxy requiring authentication

Sean Spalding March 5, 2012

I've set a proxy in <jira home/bin/setenv.sh thus:

JVM_SUPPORT_RECOMMENDED_ARGS=" -Dhttp.proxyHost=username:password@proxy.ourdomain.com -Dhttp.proxyPort=1234"

It's not working (as far as I can tell). The UPM shows "The Atlassian Plugin Exchange server is not reachable" and plugin searches return no results.

1 answer

1 accepted

0 votes
Answer accepted
Andrzej Pasterczyk
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.
March 5, 2012

UPM will use the proxy settings of the host application.

See http://confluence.atlassian.com/display/JIRAKB/Configure+Web+Proxy+Support+for+JIRA

Sean Spalding March 5, 2012

So, given there's no mention of proxy authentication on that page can I safely assume that this mechanism cannnot do proxy authentication?

Andrzej Pasterczyk
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.
March 5, 2012

See http://confluence.atlassian.com/display/DOC/Configure+Web+Proxy+Support+for+Confluence

Confluence seems to have support for that - guess you can try same approach with Jira :)

Sean Spalding March 5, 2012

Thanks, the arguments http.proxyUser= and http.proxyPassword= do work (for any JVM based app).

The JIRA doc needs to be updated.

Suggest an answer

Log in or Sign up to answer