Trying to install Confluence for Jira & getting an error (Not valid url)

Adar Bronstein May 19, 2012

Hey guys,

I'm trying to install Confluence for Jira and when setting it up I receive an error when putting in the JIRA Base URL (jira server location) which is "This is not a valid url for Jira 4.3 or later.

Not sure what I'm doing wrong, just putting in the server location stated in Jira which is something like http://www.someurl.com

Thanks a lot !

5 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2012

I'm assuming you mean you are trying to set up a trusted application link?

That error messae is pretty much what it says - Confluence has tried to connect to the url you have given it and has had one of two problems:

1. It got no response for some reason. For example, dns isn't returned a valid address, it's firewalled, on the wrong port, ssl negociation fails, etc, any error that a browser would say "there's nothing there" to if you ran it in a browser)

2. It got a response, but it wasn't a useful one. For example, another non-Jira application responded, the version of Jira that is there is too old for it to handle.

Simple test, if you can - log into the Confluence server and try using wget or curl to hit the Jira url on the command line - that will give you a helpful error message (in case 1 above) or it'll get you a downloaded file which contains the response it got, which will also tell you what is wrong.

If you can't try that on the server, then try it on your local machine, it may give you more info too. I mean - your www.someurl.com - what does that do in a browser on your machine?

Adar Bronstein May 20, 2012

Hi,

no, not trusted application link, Jira base URL (Jira's server location), I've added an attachment to this thread with annonymous details to show the exact problem.

Thanks a lot !

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2012

Ah, ok, that makes sense.

However, this is trying to do the same thing - it's testing that it can connect to the Jira instance to retreive user and group information and failing for some reason. You need to do exactly the same set of debugging.

There is an additional point here though - Confluence is trying to fetch some very specific information in a specfic way. That means when it fails, it should be logging some highly focussed errors. Errors on the application link stuff would all be along the lines of "I can't talk to the Jira you've pointed me at", whereas errors on user/group config will be "I spoke to Jira and it gave me duff information" (assuming the Jira is ok)

You really need to read your confluence application log - it will definitely tell you whether it's a "can't see the Jira" or "Jira isn't playing nice" or "Jira is giving me information I can't understand"

Adar Bronstein May 20, 2012

I have no idea what happened but after a few tried it works.. thanks a lot :)

0 votes
Michael Albers May 28, 2013

Hi guys,

I had the same issue, but resolved it by fixing my SSL configuration.

I have jira and confluence running standalone on one server. Apache 2 with mod_proxy is used to handle the https communication. I had to add SSLCertificateChainFile ... to my apache site configuration, be cause it was required by https certificate. Everything looked fine from my browser before, but I think that JAVA is checking it much more in detail :-)

Hopefully you got jira and confluence up and running now!

Micha

0 votes
Denise Unterwurzacher [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2012

Hi Adar,

This is actually a known issue which is being tracked at https://jira.atlassian.com/browse/CONF-27339

It happens when the initial URL entered for Confluence is incorrect or cannot be reached from JIRA (ie the URL contains 'localhost'. The workaround is to remove the Application Link from JIRA and attempt the connection from Confluence again, with the correct URL.

Hope this helps!

Denise.

0 votes
Adar Bronstein May 20, 2012

See comment below, I think I'm referring to something else.

Thanks ! :)

0 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2012

Are you referring to the application link setup? I'm not sure what Confluence for JIRA is?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events