Base url for gadgets check error


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:

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;

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

HealthCheck:thread-4 ERROR ServiceRunner [] An error occurred when performing the Base URL healthcheck: PKIX path building failed: unable to find valid certification path to requested target


1 answer

0 votes

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
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

615 views 0 7
Read article

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