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??
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @luciano_carlomagno_neuralsoft_com ,
the default password is "changeit" :
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
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oka thanks, after doing that i have to change server.xml too?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No need to change server.xml, you can restart the application and try again setting up the Application Link !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.