# replication fails with aborted connection to db

**URL:** <https://forums.percona.com/t/replication-fails-with-aborted-connection-to-db/5815>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [August 17, 2017, 8:02am UTC](https://forums.percona.com/t/replication-fails-with-aborted-connection-to-db/5815 "2017-08-17T08:02:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandergr](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sandergr](https://forums.percona.com/u/sandergr)\
**Post date:** [August 17, 2017, 8:02am UTC](https://forums.percona.com/t/replication-fails-with-aborted-connection-to-db/5815/1 "2017-08-17T08:02:59Z")

</div>

Hi everyone, i have a question regarding a 2 nod master slave replication setup. The nodes are on different machines in the network in docker containers. The replication using xtrabackup-v2 keeps failing (immediately) with the error aborted connection to db… got an error reading communications packets (also see attached screenshot). I have scoured the internet for solutions for this problem but to no avail. Does anybody have an idea?

So far already tried:  
-[https://www.dbavalley.com/mysql-galera-wsrep-sst-error-xtrabackup-checkpoints-missing/](https://www.dbavalley.com/mysql-galera-wsrep-sst-error-xtrabackup-checkpoints-missing/)  
-[MySQL Error Reading Communication Packets - Database Administrators Stack Exchange](https://dba.stackexchange.com/questions/19135/mysql-error-reading-communication-packets) (set to 1G)  
-[MySQL "Got an error reading communication packet" - Percona Database Performance Blog](https://www.percona.com/blog/2016/05/16/mysql-got-an-error-reading-communication-packet-errors/)  
-disabled selinux  
-checked firewalld ports open and used nmap to verify  
-The user for sst is present in every database, have all the permissions needed (and i can connect using the mysql command line).

I literally dont know what else to try anymore. The weird thing is that using replication with another server in the network is working…

 ![photoid=49435](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/8/8417555bd2d24bdce27515d146770d79370462e0.png)

---

<div class="post-metadata">

**Author:** ![sandergr](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sandergr](https://forums.percona.com/u/sandergr)\
**Post date:** [August 21, 2017, 2:55am UTC](https://forums.percona.com/t/replication-fails-with-aborted-connection-to-db/5815/2 "2017-08-21T02:55:26Z")

</div>

anybody have any idea?

---

<div class="post-metadata">

**Author:** ![krunalbauskar](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@krunalbauskar](https://forums.percona.com/u/krunalbauskar)\
**Post date:** [August 22, 2017, 3:03am UTC](https://forums.percona.com/t/replication-fails-with-aborted-connection-to-db/5815/3 "2017-08-22T03:03:12Z")

</div>

You are getting error with sstuser. Wondering if you can try using different user or may just root user.
