It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Base url for gadgets check error

noc Nov 20, 2017

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 votes
Nic Brough [Adaptavist] Community Leader Nov 20, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published 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...

1,307 views 1 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you