When configuring a base URL I get the massage 'You must set a valid base URL '

I try to set the base url to the following value http://bmi_jira.belfla.vonet.be

This gives the error message 'You must set a valid base URL'

I found on the web the resolved issue https://jira.atlassian.com/browse/JRA-27777 with a work around to use the ip address in the URL.

This is however not a valid workaround for us. Because of restrictions on the network we can only reach the server with the above

mentionned address, ip addresses are not allowed.

The impact is that the mails contain now invalid links for us.

3 answers

1 accepted

1 vote
Accepted answer

There is an error in the base-url that it can't contain underscores. After removing the underscore it worked fine.

0 votes

I suspect "can only reach it via address, ip addresses are not allowed" is the root of the problem.

A name in a url is just that, a name. There's a DNS server somewhere saying "when a user types in xyz in the url, then what they mean is ip-addres a.b.c.d". The name is a convenience that gets changed to a real address by the network.

If you can't reach a service via it's IP address, then there's two things that may be happening - first, your network is broken, or secondly, something between you and the server is doing some masking/proxying/redirecting type tricks. That would mean the IP address that you have tried with is genuinely invalid, but there is a valid, reachable IP address behind the trick service.

Edit - sorry, I missed a bit of detail and got dragged into a meeting

When you put a base url in, the server is going off and checking that it is a valid base url. It uses standard http or https to do this, and a requirement of these is that the DNS name resolves to a valid IP address.

So, you have three options

  1. Retry with the valid real, actual IP address to begin with, unmasked (i.e. the actual server address) and then get your network people to provide you with a route to a valid name that resolves to it.
  2. Get them to fix the name so that it resolves fully and clearly, without any misdirection, throwing away this "can't use IP address to reach server" idea.
  3. Get them to fix the block/trick/mask so that it transparently passes all traffic in both directions, irrespective of the name/ip restrictions.

The basic test for all of these is nslookup. On a command line, try "nslookup bmi_jira.belfla.vonet.be". If it does not return an IP address, then you need to get your network people to fix it. If it does, then try http://ipaddress in your browser. If that fails, then you need to get your network people to fix it.

You might try registering another ip name that is acceptable and have it redirect to your current ip name. Then use the new ip name for Jira.

0 votes

This is now being tracked here. The underscore causes some errors in the Activity Stream, so it's not allowed in JIRA.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,172 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you