Dear All
i installed Jira on one server and confluence on other server
both server behind nginx as reverse proxy
but when i create application link on jira or confluence with above address , both server not connect to each other !!
Could you please help me about this issue??
Hi @Farhad ,
please check connectivity between servers using reverseproxy url. As workaround you can map the URL of the reverse proxy in the host file (windows :https://www.nublue.co.uk/guides/edit-hosts-file/#:~:text=In%20Windows%2010%20the%20hosts,%5CDrivers%5Cetc%5Chosts. linux : https://blog.purestorage.com/purely-educational/what-is-the-etc-hosts-file-in-linux/#:~:text=File%20in%20Linux%3F-,The%20%2Fetc%2Fhosts%20file%20is%20a%20plain%20text%20file%20used,to%20resolve%20the%20domain%20name.) and try again.
Let me know,
Fabio
Hi Farhad,
This is likely to be a problem with one of two things:
First, your reverse proxy is not doing everything you think it is. Application links can fail when the browser seems to be working if the "reverse" part of it is incorrectly configured. I can't speak for nginx, as I've never had to debug this with an Atlassian system behind a broken nginx config. But if it were Apache, reverse proxies are usually done as two lines of config, such as:
ProxyPass /jira http://192.168.1.89/jiraProxyPassReverse /jira http://192.168.1.89/jirra
The parameters for both directives usually need to be identical. The slepping mistake of "jirra" in the reverse line I gave here will make Jira look like it is working for general browsing, if you don't look too closely, but it will break the application link. Obviously, correcting it to "jira" to match the line above will fix it. That even applies to trailing /'s on all four parameters; you need to be consistent and have all four parameters end with / or without it.
The second problem I see a lot more is that your SSL has not been set up correctly.
When you use a browser to reach a system behind a reverse proxy using https, then most sites will do a load of work on exchanging certificates to secure their connection.
But application links are not done by browsers, there's no code behind them to do that negotiation. You have to give each server a certificate that tells the other server that it is a trusted access.
So, if you can check your reverse proxy is ok, the next question is "how have you installed the SSL certificates for access to the other server on each one?"
This doc is for Apache, but the bits of Apache can easily be translated to nginx. https://confluence.atlassian.com/adminjiraserver/integrating-jira-with-apache-using-ssl-938847754.html
@Fabio Racobaldo _Catworkx_
Thanks for your respond.
i test connectivity with " curl -k -L https://reverseproxy.local/jira(confluence)" on both server (jira and confluence) and both server is ok.
i want to know could i creat another http connector on both server for connect jira and confluence without reverse proxy ??
(one connector for https and access from reverse proxy and another connector is http for application link between jira and confluence)
@Nic Brough -Adaptavist-
thanks for your respond
my reverse proxy and ssl is working fine without any problem.
now i want to know could i creat another http connector on both server for connect jira and confluence without reverse proxy ??
(one connector for https and access from reverse proxy on outsite company and another connector is http for application link between jira and confluence in inside company)
In theory, yes, you could do this, but it will not solve your problem, because application links need to be connected to the "base URL" of your applications, which is always going to be the first connector which is the one your proxy is serving up.
(Extra connectors do have uses - there are things you can do that don't need to be locked to the base URL, but application links are not one of them)
so how i can solved this issue??
both servers communicate each other as https://reverseproxy.local/jira (confluence) !!
i test this connection with "curl" command on both server !!
but when type url on jira (confluence) application link , i faced with network error !!
It looks like you're new here. Sign in or register to get started.