'No Confluence page found with the given URL' when linking a Confluence Page in JIRA
Symptoms
The error below happens when trying to link a JIRA issue with a Confluence Page using Application Links:
The following appears in the atlassian-confluence.log
when try to link the Confluence page in JIRA:
2013-11-26 15:24:31,658 WARN [http-8090-1] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] authenticate Failed to login trusted application: jira:2395499 due to bad URL signature.
Diagnosis
- Check if JIRA and Confluence are running behind an Apache reverse proxy.
- Check if the page name contains reserved characters.
Cause
The Application Link between JIRA and Confluence was setup behind reverse proxy and some Reserved Characters $ & + , / : ; = ? @
( ) was used in the Confluence page's URL. The URL seems to be re-encode by mod_proxy although it's been encoded.
Workaround
Atlassian applications allow the use of reverse-proxies within our products, however Atlassian Support does not provide assistance for configuring them. Consequently, Atlassian can not guarantee providing any support for them.
If assistance with configuration is required, please raise a question on Atlassian Answers.
Adding a nocanon parameter to the ProxyPass attribute in the Virtual Host setting of Apache:
<VirtualHost *:80>
ServerName confluence.example.com
ProxyPreserveHost On
ProxyPass / http://localhost:8090/ nocanon
ProxyPassReverse / http://localhost:8090/
</VirtualHost>
Additionally, you can edit the the page and change the colon to hyphen, and then attempt to link the page. Once linked, go back into Confluence and edit the hyphen back to a colon and the connection should remain.