I have 2 JIRA 6.3.15 instances each behind a Nginx reverse proxy + SSL.
When I try to create application links between them, JIRA reports no response.
"No response was received from the URL you entered - it may not be valid. Please fix the URL below, if needed, and click Continue."
Nginx access logs shows this line.
10.10.23.162 - - [21/May/2015:14:19:17 -0400] "\x15\x03\x03\x00\x02\x02(" 400 172 "-" "-"
JIRA's catalina.out has no output. Which suggests that the request wasn't forwarded.
Has anyone got this working?
http { proxy_cache_path /var/lib/nginx/cache keys_zone=one:10m; server { listen 80; server_name jira2.lan; location / { return 301 https://$server_name$request_uri; } } server { listen 443 ssl; server_name jira2.lan; ssl_certificate /etc/ssl/certs/cert.pem; ssl_certificate_key /etc/ssl/certs/key.pem; # NGINX usually only allows 1M per request. Increase this to JIRA's maximum attachment size (10M by default) client_max_body_size 10M; proxy_cache one; add_header X-Cache-Status $upstream_cache_status; location / { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://jirahost2.lan:8080; } } }
I needed to add the self signed certificates into the JVM for the link to work.
Hello, Could you give more details on the solution ? Did you configure the tomcat connector to use ssl or did you simply add the certificates to an accessible keystore ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I stumbled across this while having a similar issue - trying to migrate from Apache2 to Nginx. - The problem at least for me - was the SSLCertificateChainFile - the DigiCertCA - which is the trusted chain. NGINX doesn't have an equivallent, so you can append the contents into your ssl_certificate file. Worked after that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The catalina.out only shows logs related to Tomcat start up. To see logs related to the application and applinks, please cheack the <jira-home>/logs/jira-atlassian.log.
I also got curious about your NGINX configuration. You've mentioned that you have two JIRA, but I'm only seeing configuration to jira2 host. Is this NGINX working as Load Balancer as well?
If possible, please delete the application links between these two jiras, run a tail f on the both JIRA logs and try to recreate the application links again and post the error message here.
Regards,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
atlassian-jira.log did not show any output either. Somehow nginx isn't forwarding the request to tomcat. The 2 JIRA has identical nginx configuration other than their hostnames. No load balancer. jirahost - HTTP - Nginx jiratest - HTTPS jirahost2 - HTTP - Nginx jiratest2 - HTTPS There is no link to delete. I'm trying to create the link. Thanks, - Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy, A good way to check where it is failing is running a tcpdump on servers. Regards, Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I recommend you to check this guide, which covers the common problems regarding Application Links creation and maintenance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.