I try add application link to Jira from Confluence. I can see this error :
Asked by Piotr Kryska:

I try add application link to Jira from Confluence. I can see this error :

\[Exception... "\<no message\>" nsresult: "0x805e0006 (\<unknown\>)" location: "JS frame :: [https://confluence.p-2.pl/s/8600a1eb7dd6d42cf8cee180667230a2-CDN/en_GB/5636/f6090886cde2ced165289cd3fade6c9622e18372.1/14/_/download/superbatch/js/batch.js?build-number=5636\&locale=en-GB](https://confluence.p-2.pl/s/8600a1eb7dd6d42cf8cee180667230a2-CDN/en_GB/5636/f6090886cde2ced165289cd3fade6c9622e18372.1/14/_/download/superbatch/js/batch.js?build-number=5636&locale=en-GB) :: .send :: line 165" data: no\]

*Could you* please *help me*?

any suggestions?


Answers:
author: Serdar Dere
body: Hi Swetha,

I found out, that this issue appears only when you use HTTPS.  
But in that case you need to add your domain into ptoxyname in server.xml

```
proxyName="confluence.yourcompany.com"proxyPort="443"scheme="https"secure="true"
```

This issue happens with all Atlassian application.

comments: author: Swetha Bammidi
body: Hi Serdar Dere,

Thanks for your reply. I have already added these 4 lines in my tomcats server.xml file even though getting this error.

Regards,

Swetha


author: Serdar Dere
body: Hi Swetha,

with which two application are you trying this? JIRA + confluence?

you need to add this into both server.xml and restart the application.

maybe it is helpful if you share your server.xml, just your connectors.


author: Swetha Bammidi
body: Hi Serdar,

Actually i need to configure application links between Jira, confluence, bamboo, bitbucket, crowd.

So for testing purpose i tried application links between JIRA and confluence.

Yes i have already added above 4 lines in both the applications.

Regards,

Swetha


author: Serdar Dere
body: And you are using <https://jira.yourcompany.com> in your links?


author: Swetha Bammidi
body: Yes... configured application links by giving https://jira.company.com


author: Serdar Dere
body: hmm, this is piuzzling me a bit.  

How is your environment setup?  

<br />

For me it is like this:  

I have 1 Webserver (Apache) in the DMZ  
1 Application Server (Jira, confluence, bamboo, bitbucket...) in the Trusted Zone  
1 DB Server in the Trusted Zone  

I am redirecting 80 to 443 in apache and talking through http to the application.  

also I added the URLs [jira.mycompany.com](http://jira.mycompany.com) into my hosts do be sure.  
I also added these lines into my server.xml, but I only have one http connector.  

{code}  
confluence:  

\<Connector port="8090"  
connectionTimeout="20000"  
maxThreads="200"  
minSpareThreads="10"  
enableLookups="false"  
acceptCount="10"  
debug="0"  
URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
proxyName="[confluence.mycompany.com](http://confluence.mycompany.com)"  
proxyPort="443"  
scheme="https"  
secure="true"  
/\>  
{code}  

Jira:  
{code}  
\<Connector port="8080"  

maxThreads="150"  
minSpareThreads="25"  
connectionTimeout="20000"  

enableLookups="false"  
maxHttpHeaderSize="8192"  
protocol="HTTP/1.1"  
useBodyEncodingForURI="true"  
redirectPort="8443"  
acceptCount="100"  
disableUploadTimeout="true"  
scheme="https"  
proxyName="[jira.mycompany.com](http://jira.mycompany.com)"  
proxyPort="443"  
secure="true"/\>  
{code}  
after restart it worked for me.


author: Piotr Kryska
body: dow?d.png

I can't find errors in log file  
[](https://community.atlassian.com/t5/Confluence-questions/I-try-add-application-link-to-Jira-from-Confluence-I-can-see/qaq-p/347356?attachment-id=950){#link_11893ba8932ccb}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/58681/1/dow%C3%B3d.png){#display_11893ba8932ccb_0}

comments: author: Mallmann
body: Hey Piotr,It seems we're facing some issue related to the proxy configurations or even missing details on the server.xml.Would you please raise a new ticket on our Support Channel (<http://support.atlassian.com>) so we can help you with this matter?Best regards,Eduardo Mallmann


author: Serdar Dere
body: Hi Piotr,may I ask, what the solution of this problem is?Best regards,Serdar


author: Swetha Bammidi
body: Hi Piotr,

I have same issue with application links, please let me know what is the workaround for this error.

Regards,

Swetha


author: Mallmann
body: Hey Piotr,

May I ask you where are you seeing this error? I mean, does it appear right on the screen you're setting the application links? Or it's showing on the application logs instead?

If possible, please attach a screenshot of the error and also part of your atlassian-confluence.log that is related to this error.

Best regards,

Eduardo Mallmann


Tags: confluence-administration