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

suzanne lemeire October 15, 2012

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
Answer accepted
suzanne lemeire October 21, 2012

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

0 votes
petry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2015

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

0 votes
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.
October 15, 2012

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.

Norman Abramovitz
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.
October 15, 2012

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.

Suggest an answer

Log in or Sign up to answer