Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

configure proxy server jira

Joshua Bloch July 31, 2015

Hi,

   I am trying to use some webhooks that are configured from admin interface , and also I am trying to use Java rest Api. Unfortunately , I can't pass the firewall from the company  I work.

    I set in C:\Program Files\Atlassian\JIRA\bin\sentenv.bat 

set JAVA_OPTS=%JAVA_OPTS% -Xms%JVM_MINIMUM_MEMORY% -Xmx%JVM_MAXIMUM_MEMORY% %JVM_REQUIRED_ARGS% %DISABLE_NOTIFICATIONS% %JVM_SUPPORT_RECOMMENDED_ARGS% %JVM_EXTRA_ARGS% %JIRA_HOME_MINUSD% -Dhttp.proxyHost=ourProxyHost -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password -Dhttp.nonProxyHosts=localhost -Dhttps.proxyHost=ourProxyHost -Dhttps.proxyPort=8080 -Dhttps.proxyUser=username-Dhttps.proxyPassword=password -Dhttps.nonProxyHosts=localhost 

 

   But without any success. How can I set the proxy for JIRA server ? Thank you

6 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Stefan Ernst
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.
August 1, 2015

Are you starting JIRA from the command line? Because on Windows, most times you will have to configure the windows service instead of setenv.bat

https://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup

Can you connect to the Marketplace from the plugin manager?

1 vote
Emanuele_Paone January 23, 2019

Same negative experience with Proxy setup. Marketplace is not reachable and the access to the "applications" tab and "Add-on" takes ages....We tried all the workaround in the link https://confluence.atlassian.com/adminjiraserver073/setting-properties-and-options-on-startup-861253969.html#Settingpropertiesandoptionsonstartup-startup_params but no way. Any suggestion?

1 vote
Stefan Ernst
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.
August 2, 2015

Maybe your Proxy does not accept HTTP Basic authentication. Try configuring a CNTLM Proxy between JIRA and your firewall.

http://cntlm.sourceforge.net/

0 votes
Carlos Gabriel Almeida July 13, 2017

We’ve been setting up the JIRA Server 7.3.1. Its instance is based on our own server dedicated to this application. But our team have been facing some problems with the UPM - Universal Plugin Management, the Jira application can’t reach the Marketplace for downloading the add-ons to install it and neither to update them. Clicking on the install  button, the system display the following error message:  Problem accessing the “Addon-name” for JIRA. We assumed that it was the Proxy, but after we tested changing the proxy it didn’t work. So, it might be something related to permissions, or firewall, we are still investigating.   I would like to ask you some assistance on this matter, forwarding my message to someone who can give us some help on this issue.   Thanks in advance.     Kind regards,  

0 votes
Joshua Bloch August 2, 2015

I can not connect  to Marketplace from plugin manager.

It does not work with cntlm either.

So , I've configured the proxy settings in sentenv.bat , as windows service , and still nothing. 

I created an webhook from admin interface with requestb.in url. It does not send anything.

I tried the same with a JIRA instance from cloud , and it works perfectly. So , it is a problem with my local JIRA instance .

Thank you

 

 

0 votes
Joshua Bloch August 2, 2015

Yes , I am starting JIRA from cmd . I have JIRA Server running on http://localhost:8080.

I've configured the proxy settings in the windows service as you said , but without luck. I still can not pass the firewall. 

 

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events