alagoa
(Edward Alagoa)
July 29, 2019, 8:55am
1
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
tendomart
(tendo kiiza Martyn)
July 29, 2019, 3:12pm
2
@alagoa have you looked at this thread
alagoa
(Edward Alagoa)
July 29, 2019, 7:32pm
3
Thanks. Been on the thread. Can’t solve problem.
jwnasambu
(Juliet Wamalwa)
July 29, 2019, 7:48pm
7
Members using windows OS we are facing the same challenge and @dkayiwa is helping us out.
dkayiwa
(Daniel Kayiwa)
July 29, 2019, 7:48pm
8
Can you temporarily turn off the windows firewall and see what happens?
alagoa
(Edward Alagoa)
July 29, 2019, 7:56pm
10
Disabled windows firewall and antivirus on both parent and child servers. Same error in connection.
Pulling failed. Possible connection error.
dkayiwa
(Daniel Kayiwa)
July 29, 2019, 8:02pm
11
Can you share the current server side log?
alagoa
(Edward Alagoa)
July 29, 2019, 8:10pm
12
dkayiwa
(Daniel Kayiwa)
July 29, 2019, 8:20pm
13
Are you able to ping the parent from child?
alagoa
(Edward Alagoa)
July 29, 2019, 8:40pm
14
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
alagoa
(Edward Alagoa)
July 29, 2019, 8:42pm
15
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” ]
}
}
alagoa
(Edward Alagoa)
July 29, 2019, 8:44pm
16
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” : [ ]
}
}
alagoa
(Edward Alagoa)
July 29, 2019, 8:49pm
17
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
dkayiwa
(Daniel Kayiwa)
July 29, 2019, 8:53pm
18
Can you connect here and show me what you have? uberconference.com/openmrs
alagoa
(Edward Alagoa)
July 29, 2019, 9:37pm
19
Many thanks. You have bben a fantastic help, dkayiwa