Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Application Links error after updating

I have this infra:

Jira, Bitbucket and Bamboo in http, securing with apache using SSL.

 

After updating Bamboo from 6.8.1 to 6.10 Im not being able to link other Atlassian apps, when i enter the URL from jira or bitbucket, a warning says 'No response was received from the URL you entered - it may not be valid'. But on the other hand, when i did the same job in the other app it did well, but says that is failing the response from bamboo app.

I entered in the virtual machine where bamboo is installed and i do:

ping to jira host - OK

ping to jira's url - OK

 

And after analizing logs when i tried to add the app link to another app i am seeing this errors:

"2019-10-30 08:31:49,868 ERROR [http-nio-8085-exec-1] [CreateApplicationLinkUIResource] ManifestNotFoundException thrown while retrieving manifest
com.atlassian.applinks.spi.manifest.ManifestNotFoundException: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.doDownload(AppLinksManifestDownloader.java:207)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.access$000(AppLinksManifestDownloader.java:52)

..."

 

what is happening??

1 answer

1 accepted

0 votes
Answer accepted
Alexis Robert Community Leader Oct 30, 2019

Hi @luciano_carlomagno_neuralsoft_com , 

 

from the error you're getting, I think this kb is exactly talking about your issue : https://confluence.atlassian.com/kb/application-link-not-working-due-to-manifestnotfoundexception-393904879.html

Basically, there's a network issue between the 2 instances. But it could also be something else ... what are your other apps versions ? 

Hi, thanks for your reply.

There is no network issue, ive already tried this 

 curl -H "Accept: application/json" http://potatobake:8090/rest/applinks/1.0/manifest -v

 and the awnser was good.

The ping is good, telnet is good, everything on network is good.

And in version 6.8 works OK connecting to both apps, bitbucket and jira, but now it isnt working.

Alexis Robert Community Leader Oct 30, 2019

you said both applications are running with Apache using SSL, but I can see that you used http and not https in your curl test. Can you confirm if you're using http or https ? 

i only copy the example of that page, i enter the correct addres with https.

Im using ssl on apache2 redirecting to atlassian apps on http; all apps works fine, excepting bamboo that i cant link it

Alexis Robert Community Leader Oct 30, 2019

When I've had issues like this, I can fix it by creating a specific connector for that Application Link that will bypass the proxy, as described here : https://confluence.atlassian.com/kb/how-to-bypass-a-reverse-proxy-or-ssl-in-application-links-719095724.html.

If you do need SSL between application links, I would suggest checking that your bamboo instance JVM has your root certificate in its truststore : https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html

 

Let me know if this helps, 

 

--Alexis

Thanks, but, when i tried to import the crt file it asks me for a password. Then i have to configure that password in server xml? where/how..?

Alexis Robert Community Leader Oct 30, 2019

Hi @luciano_carlomagno_neuralsoft_com , 

 

the default password is "changeit" : 

  1. Import the certificate:

    <JAVA_HOME>/bin/keytool -import -alias <server_name> -keystore <JAVA_HOME>/jre/lib/security/cacerts -file public.crt

    Then enter the password if prompted (the default is changeit).

Oka thanks, after doing that i have to change server.xml too?

Alexis Robert Community Leader Oct 30, 2019

No need to change server.xml, you can restart the application and try again setting up the Application Link !

Alexis! thanks very much for your help! i could solved it.

 

I add the crt file like you told me, i add a connector to port 8443, and finally i add 

-Djavax.net.ssl.trustStore=$JAVA_HOME/jre/lib/security/cacerts

on setenv.sh

 

Finally it works!! 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

596 views 1 6
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