Joel, thanks. That is what I had deduced.
Like I said I know a lot, bit mongo is not one of those things. Networks and Linux: yes.
I have attached a PDF with screen shots of netstat from both nodes showing connections. So I really don’t think it is a network problem.
In the mongod.log, I can see both nodes connect to the mongod. However, I do see with record about conn5 (127.0.0.1) that something hiccupped. Here is a snippet of what the mongod.log shows:
{“t”:{“$date”:“2025-04-16T18:36:10.220-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn5”,“msg”:“client metadata”,“attr”:{“remote”:“127.0.0.1:34038”,“client”:“conn5”,“negotiatedCompressors”:,“doc”:{“driver”:{“name”:“mongo-java-driver|legacy”,“version”:“5.2.0”},“os”:{“type”:“Linux”,“name”:“Linux”,“architecture”:“amd64”,“version”:“6.8.0-57-generic”},“platform”:“Java/Eclipse Adoptium/17.0.14+7”}}}
{“t”:{“$date”:“2025-04-16T18:36:10.236-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:22943, “ctx”:“listener”,“msg”:“Connection accepted”,“attr”:{“remote”:“127.0.0.1:34048”,“uuid”:{“uuid”:{“$uuid”:“63fb8940-a2d1-49b5-8053-39a5ce59ea56”}},“connectionId”:6,“connectionCount”:6}}
{“t”:{“$date”:“2025-04-16T18:36:10.237-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn6”,“msg”:“client metadata”,“attr”:{“remote”:“127.0.0.1:34048”,“client”:“conn6”,“negotiatedCompressors”:,“doc”:{“driver”:{“name”:“mongo-java-driver|legacy”,“version”:“5.2.0”},“os”:{“type”:“Linux”,“name”:“Linux”,“architecture”:“amd64”,“version”:“6.8.0-57-generic”},“platform”:“Java/Eclipse Adoptium/17.0.14+7”}}}
{“t”:{“$date”:“2025-04-16T18:36:10.244-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:22943, “ctx”:“listener”,“msg”:“Connection accepted”,“attr”:{“remote”:“127.0.0.1:34056”,“uuid”:{“uuid”:{“$uuid”:“49a667a2-f87b-4276-815d-444ac3e734c4”}},“connectionId”:7,“connectionCount”:7}}
{“t”:{“$date”:“2025-04-16T18:36:10.244-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn7”,“msg”:“client metadata”,“attr”:{“remote”:“127.0.0.1:34056”,“client”:“conn7”,“negotiatedCompressors”:,“doc”:{“driver”:{“name”:“mongo-java-driver|legacy”,“version”:“5.2.0”},“os”:{“type”:“Linux”,“name”:“Linux”,“architecture”:“amd64”,“version”:“6.8.0-57-generic”},“platform”:“Java/Eclipse Adoptium/17.0.14+7”}}}
{“t”:{“$date”:“2025-04-16T18:36:10.262-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:6788700, “ctx”:“conn7”,“msg”:“Received first command on ingress connection since session start or auth handshake”,“attr”:{“elapsedMillis”:18}}
{“t”:{“$date”:“2025-04-16T18:36:10.290-04:00”},“s”:“I”, “c”:“-”, “id”:20883, “ctx”:“conn5”,“msg”:“Interrupted operation as its client disconnected”,“attr”:{“opId”:101}}
{“t”:{“$date”:“2025-04-16T18:36:10.301-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:22944, “ctx”:“conn6”,“msg”:“Connection ended”,“attr”:{“remote”:“127.0.0.1:34048”,“uuid”:{“uuid”:{“$uuid”:“63fb8940-a2d1-49b5-8053-39a5ce59ea56”}},“connectionId”:6,“connectionCount”:6}}
{“t”:{“$date”:“2025-04-16T18:36:10.302-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:22944, “ctx”:“conn7”,“msg”:“Connection ended”,“attr”:{“remote”:“127.0.0.1:34056”,“uuid”:{“uuid”:{“$uuid”:“49a667a2-f87b-4276-815d-444ac3e734c4”}},“connectionId”:7,“connectionCount”:5}}
{“t”:{“$date”:“2025-04-16T18:36:10.317-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:22944, “ctx”:“conn5”,“msg”:“Connection ended”,“attr”:{“remote”:“127.0.0.1:34038”,“uuid”:{“uuid”:{“$uuid”:“d463154e-73b1-40fa-973d-ae96c1cd42ed”}},“connectionId”:5,“connectionCount”:4}}
I am pretty sure the password and like are all ok, since there is communications. However I really don’t know how to read the log.
Thanks for your help.
Bob