It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Datacenter "connection timed out"

Hi all,

I have trouble setting up JIRA in Datacenter mode on AWS cloud.


This is the error I got on the node that does not start (the other node is correctly starting with the licence and it connects correctly to the NFS & DB). Both are on AWS, on the same region, and on the same "Security Group".

Node 1 :

  • nfs server
  • mysql server
  • JIRA node 1
  • nfs mountpoint

Node 2 :

  • mount point to nfs on node 1
  • uses MySQL on node 1
  • JIRA node 2


Without datacenter, no issue.

With datacenter, JIRA Node 1 does not manage to start and shows the following error in atlassian-jira.log .
I'm not sure what is wrong in my settings, or which component is failing with the "Connection timed out"...


Thanks in advance for your help,


2016-03-17 16:49:30,833 Caesium-1-4 ERROR ServiceRunner     [n.s.ehcache.distribution.RMISynchronousCacheReplicator] Exception on replication of putNotification. Connection refused to host: <IP node 2>; nested exception is: Connection timed out. Continuing...
java.rmi.ConnectException: Connection refused to host: <IP node 2>; nested exception is: Connection timed out
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
    at sun.rmi.transport.tcp.TCPChannel.createConnection(
    at sun.rmi.transport.tcp.TCPChannel.newConnection(
    at sun.rmi.server.UnicastRef.invoke(
    at net.sf.ehcache.distribution.RMICachePeer_Stub.put(Unknown Source)
    at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.replicatePutNotification(
    at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.notifyElementUpdated(
    at net.sf.ehcache.event.RegisteredEventListeners.internalNotifyElementUpdated(
    at net.sf.ehcache.event.RegisteredEventListeners.notifyElementUpdated(
    at net.sf.ehcache.Cache.notifyPutInternalListeners(
    at net.sf.ehcache.Cache.putInternal(
    at net.sf.ehcache.Cache.put(
    at net.sf.ehcache.Cache.put(
    at com.atlassian.cache.ehcache.DelegatingCache.put(
    at com.atlassian.jira.plugins.healthcheck.service.HeartBeatService.propagateHeartBeat(
    at com.atlassian.jira.plugins.healthcheck.scheduler.impl.HealthCheckSchedulerImpl.runJob(
    at com.atlassian.scheduler.core.JobLauncher.runJob(
    at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(
    at com.atlassian.scheduler.core.JobLauncher.launch(
    at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(
    at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(
    at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(
    at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
    at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
    at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(
    at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(
Caused by: Connection timed out
    at Method)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(
    at net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory.createSocket(
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
    ... 27 more

2 answers

i am having the same issue while setting up jira in AWS. can you please let me know how did u resolve?

0 votes
Chris Fuller Atlassian Team Apr 04, 2016

This looks like a firewall problem.  The Data Center nodes have to be able to communicate directly with each other RMI, which is a separate port from the ones you would previously have opened up.

Read this:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,072 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you