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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,002 views 15 13
Join discussion

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