Base url for gadgets check error

Hello,

I installed Jira using Nginx as proxy with SSL following instructions from official site and community. But I still get "Base url for gadgets" healthcheck error.  Tell me please which way to look to resolve this issue. 

Jira version 7.5.2. Base url: https://jira.mydomain

Server.xml connector config, no other changes were made:

<Connector
port="8080" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150"
minSpareThreads="25" protocol="HTTP/1.1"
redirectPort="8443" useBodyEncodingForURI="true"
scheme="https" proxyName="jira.mydomain"
proxyPort="443" secure="true"/>

Nginx 1.4.6 config:

server {
listen 80;
server_name jira.mydomain;
access_log off;
return 301 https://$server_name$request_uri;
}

server {
listen 443 default ssl;
server_name jira.mydomain;
access_log off;
ssl_certificate /etc/nginx/ssl/jira.mydomain.crt;
ssl_certificate_key /etc/nginx/ssl/jira.mydomain.key;

client_max_body_size 10M;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080/;

And this from catalina.out log is confusing me, since I'm not using Tomcat to proxy requests

HealthCheck:thread-4 ERROR ServiceRunner [c.a.t.j.healthcheck.support.BaseUrlHealthCheck] An error occurred when performing the Base URL healthcheck: 
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

1 answer

0 vote

The error means Jira cannot talk to itself over its base url.

In this case, it is not presenting valid certificates to itself to connect over the https url you've got.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,005 views 15 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you