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 Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,752 views 14 13
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