After upgrade to Jira 7.4.3 some calls calling localhost

We have just upgraded our Jira installation to 7.4.3, all was good before the upgrade.

The site is mostly working on the assigned base URL however now some calls, often originating from batch.js, are calling back to localhost. In particular the Average Age Chart and Activity Stream Chart gadgets are broken although other gadgets on the system dashboard are working correctly.

Also the dismissNotification call is returning a 403 error.

2 answers

Thanks Lars - I hadn't set up the proxy name and port in server.xml.

0 votes

The most likely explanation is that your hosts file is set up incorrectly.  Check the localhosts mappings and ip address.

I did have the hostname from the base URL mapped to localhost. I've taken that out so and restarted Jira but I'm still getting the same errors e.g.

 

http://localhost:8080/jira/secure/viewavatar?size=xsmall&avatarId=10303&avatarType=issuetype

 

Could localhost be cached somewhere?

Ssl, proxy?

Perhaps you forgot changes to server.xml.

Tried http://127.0.0.1 instead? 

No, that's not what I said.  Your base url should be the url you want to access the system on.  It doesn't need "mapping".

Look at your hosts file on the server.  For Linux it will be /etc/hosts

You need to make sure that is correct.  Specifically, what does that say for any lines that contain "localhost"

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

499 views 1 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot