JIRA DC Node: ehcache connection refused Edited

I'm trying to start a second JIRA DC node but I get the following error on the second node (jira1):

 

[n.sf.ehcache.CacheManager] Cache com.atlassian.jira.crowd.embedded.ofbiz.EagerOfBizGroupCache.groupCacherequested bootstrap but a CacheException occured. Error bootstrapping from remote peer. Message was: Connection refused to host: 192.168.100.18; nested exception is:
java.net.ConnectException: Connection timed out (Connection timed out)

and a bunch more connection refused / timeout messages.

According to my telnet test, port 40001 is open between the servers. This was run on the second node, jira1, where the error occurs.

telnet jira0 40001
Trying 192.168.100.18...
Connected to jira0.

I've only set the node names in cluster.properties so everything else is default.

What other ports need to be open for DC to work? There is a mention in the documentation of "unrestricted access" between machines but I'm not sure that's going to happen in my case...

I've tried deleteing the plugin caches as per help article, no dice. The first node is running as intended.

Any ideas?

Thanks

 

=> Solution

There is another port other than 40001 that needs to be opened. You can add this line to cluster.properties:

ehcache.object.port = 40011

1 answer

1 accepted

We've temporarily disabled all firewalls on the network. Now the nodes work.

Can anybody provide information as to which ports need to be acessible between machines? Looks like some ports in the 30000-50000 range.

 

Just found this in the documentation:

"Nodes must be configured to have unrestricted port access to each other"

Really? Just open the flood gates?

Very disappointing that for this "enterprise" product there is no documentation of some of the most basic setup steps, except hidden in some ticket to update the documentation...

Quote from the ticket linked above:

New variable: ehcache.object.port
Default port: 40011

 

Note that 40011 doesn't actually seem to be the default port. I had to set the port in cluster.properties before it worked as expected.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
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
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