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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,019 views 7 18
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