Sync 2.0 error. Unable to synchronise openmrs installations on same network

I am unable to sync my two openmrs installations on the same LAN. They have similar configuration. Here is the server error log https://pastebin.com/jy4jPsUd

And here is the sync 2.0 load configuration on Child installation https://pastebin.com/KPph5NBC

And this is for the parent installation https://pastebin.com/jwGvfK94

Any help will be greatly appreciated. Many thanks

@alagoa have you looked at this thread

Thanks. Been on the thread. Can’t solve problem.

Which OS are you using?

windows 10. Thanks

# Name Value
System Date 2019-07-29
System Time 20:46:55
OpenMRS Version 2.2.0 Build ab94ff
Host Name 192.168.0.28

Operating System Information

# Name Value
Operating System Windows 10
Operating System Architecture amd64
Operating System Version 10.0

Java Runtime Information

# Name Value
Java Version 1.8.0_221
Java Vendor Oracle Corporation
JVM Version 25.221-b11
JVM Vendor Oracle Corporation
Java Runtime Name Java™ SE Runtime Environment
Java Runtime Version 1.8.0_221-b11

User System Information

# Name Value
User Name edwar_000
System Language en
System Timezone Europe/London
File System Encoding Cp1252
User Dicrectory c:\xampp
Temp Directory c:\xampp\tomcat\temp

Memory Information

# Name Value
Total Memory 451 MB
Free Memory 127 MB
Maximum HeapSize 885 MB

Database Information

# Name Value
Database Name test6
Connection URL jdbc:mysql://localhost:3306/test6?autoReconnect=true&sessionVariables=default_storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8
Database UserName edward
Database Driver
Database Dialect

Module Information

  • Form Entry App Module

v 1.4.2

  • Reporting

v 1.17.0

  • Metadata Sharing

v 1.5.0

  • ID Generation

v 4.5.0

  • Allergy UI Module

v 1.8.1

  • EMR API Module

v 1.27.0

  • Registration App Module

v 1.13.0

  • HTML Form Entry UI Framework Integration Module

v 1.8.0

  • App Framework Module

v 2.13.0

  • Reporting REST

v 1.10.0

  • Reference Metadata Module

v 2.9.0

  • Face List Module

v 1.0.0

  • Metadata Mapping

v 1.3.4

  • Sync2 Module

v 1.6.0

  • Admin UI Module

v 1.2.4

  • OpenMRS UI Framework

v 3.15.0

  • Reference Application Module

v 2.10.0-SNAPSHOT

  • Metadata Deploy

v 1.11.0

  • App UI Module

v 1.9.0

  • Reporting Compatibility

v 2.0.6

  • HTML Widgets

v 1.10.0

  • Docs and Drawing Annotation

v 1.1.6

  • Serialization Xstream

v 0.2.14

  • Atomfeed module

v 1.0.13-SNAPSHOT

  • Address Hierarchy

v 2.11.0

  • Registration Core Module

v 1.8.0

  • Attachments

v 2.1.0

  • Core Apps Module

v 1.22.0

  • Event Module

v 2.7.0

  • Provider Management Module

v 2.10.0

  • Chart Search Module

v 2.1.0

  • Common Lab Test

v 1.4.1

  • Calculation

v 1.2

  • Appointment Scheduling UI Module

v 1.7.0

  • Open Web Apps Module

v 1.10.0

  • FHIR Module

v 1.18.0

  • HTML Form Entry

v 3.9.2

  • UI Commons Module

v 2.7.0-SNAPSHOT

  • Rest Web Services OMOD

v 2.25.0.2707d4

  • Reporting UI Module

v 1.6.0

  • Appointment Scheduling Module

v 1.10.0

  • Legacy UI Module

v 1.6.0-SNAPSHOT

  • Data Exchange Module

v 1.3.3

  • UI Library Module

v 2.0.6

  • Reference Demo Data Module

v 1.4.4

Name Value
Local Repository Path C:\Users\edwar_000\Application Data\OpenMRS\modules

Members using windows OS we are facing the same challenge and @dkayiwa is helping us out.

Can you temporarily turn off the windows firewall and see what happens?

ok. Thanks

Disabled windows firewall and antivirus on both parent and child servers. Same error in connection.

Pulling failed. Possible connection error.

Can you share the current server side log?

Child server log https://pastebin.com/SYPwXK6x

Parent server log https://pastebin.com/HTMTCbFA

Are you able to ping the parent from child?

I am. I am actually viewing the parent from a web browser on the child.

Parent address is http://192.168.0.28:8081/openmrs

While child is http://192.168.0.4:8081/openmrs

on parent sync 2.0 config

{ “general” : { “parentFeedLocation” : “http://http://192.168.0.28:8081/openmrs”, “localFeedLocation” : “http://http://192.168.0.28:8081/openmrs”, “localInstanceId” : “local1”, “persistSuccessAudit” : true, “persistFailureAudit” : true,

“whitelist” : { “enabled” : true, “instanceIds” : [ “local2” ] } }

Child config

{ “general” : { “parentFeedLocation” : “http://http://192.168.0.28:8081/openmrs”, “localFeedLocation” : “http://http://192.168.0.4:8081/openmrs”, “localInstanceId” : “local2”, “persistSuccessAudit” : true, “persistFailureAudit” : true,

“whitelist” : { “enabled” : true, “instanceIds” : [ ] } }

C:\Users\edwar>ping 192.168.0.28

Pinging 192.168.0.28 with 32 bytes of data: Reply from 192.168.0.28: bytes=32 time=22ms TTL=128 Reply from 192.168.0.28: bytes=32 time=2ms TTL=128 Reply from 192.168.0.28: bytes=32 time=3ms TTL=128 Reply from 192.168.0.28: bytes=32 time=2ms TTL=128

Ping statistics for 192.168.0.28: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 22ms, Average = 7ms

Can you connect here and show me what you have? uberconference.com/openmrs

Many thanks. You have bben a fantastic help, dkayiwa