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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,000
Community Members
 
Community Events
185
Community Groups

502 proxy error trying to login to jira

Hi All,

Need quick help please.

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: DNS lookup failure for: jira.dev.<company.edu>

Apache/2.2.15 (Red Hat) Server at jira.dev.<company.edu> Port 443

Thanks,

Navadeep

1 comment

josh
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.
May 15, 2017 • edited

If the DNS lookup error is to be believed, you could try putting the hostname of your server as a loopback in the hosts file:

 

/etc/hosts - append to bottom:

127.0.0.1 jira.dev.<company.edu>

If it's not actually a DNS error, you probably have a typo or other error in your proxy configuration in apache. 

Thanks for quick response Josh.

Checked the /etc/hosts file

It looks fine. 

The error also shows below

Apache/2.2.15 (Red Hat) Server at jira.dev.<company.edu> Port 443

What exactly do I need to check in the proxy configuration file in apache 

 

Thanks,

 

josh
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.
May 15, 2017

I assume it's /etc/httpd/conf.d/ssl.conf

If you followed the documentation, there should be some parts you added to handle the proxy, such as ProxyPass and ProxyPassReverse directives. Also you should have modified the standard /jirainstalldir/conf/server.xml

 

Did you use this documentation page? https://confluence.atlassian.com/adminjiraserver073/integrating-jira-with-apache-using-ssl-861253896.html

I checked the ssl.conf.


SSLProxyEngine                On
ProxyRequests                  Off
ProxyPreserveHost           On
ProxyPass                         /      http://jira.dev.<company.edu>8080/
ProxyPassReverse            /      http://jira.dev.company.edu:8080/


It is showing as above.

in Server.xml what things I need to check clearly.. 

Thanks,

josh
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.
May 15, 2017

You'll need to have a connector object in server.xml like this:

        <Connector port="8080"

                maxThreads="150"
                minSpareThreads="25"
                connectionTimeout="20000"

                enableLookups="false"
                maxHttpHeaderSize="8192"
                protocol="HTTP/1.1"
                useBodyEncodingForURI="true"
                redirectPort="8443"
                acceptCount="100"
                disableUploadTimeout="true"

                scheme="https"
                proxyName="jira.dev.company.edu"
                proxyPort="443"
                secure="true"/>

<Connector port="8080"

maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"

enableLookups="false"
maxHttpHeaderSize="8192"
protocol="HTTP/1.1"
useBodyEncodingForURI="true"
redirectPort="8443"
acceptCount="100"
disableUploadTimeout="true"


proxyName="jira.dev.company.edu"

scheme="https"

proxyPort="443"
secure="true"/>

 

Above is the content how it is defined in the file.. It also looks fine I guess.. 

Any other reasons why I am not able to access still ? Or restart JIRA will help out anyway ?

 

josh
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.
May 15, 2017

If you haven't restarted JIRA since modifying the server.xml, you need to do that.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events