(MongoDB wersja 2.6.3)Arbiter nie akceptuje połączeń
Mam zestaw replik: 2 węzły + arbitra. Zestaw replika działa bez problemów, ale nie jestem w stanie połączyć się z arbitra:
Failed to connect to myarbiter.com, reason: errno:111 Connection refused
2014-07-16T13:41:59.513+0000 Error: couldn't connect to server myarbiter.com (myIP), connection attempt failed at src/mongo/shell/mongo.js:148
exception: connect failed
Courios jest to, że mogę dodać & usunąć węzeł do mojego zestawu replik. Connectiong na wtórnym lub pierwotnym, widzę arbitra:
"_id" : 2,
"name" : "myarbiter:myport",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 4,
"lastHeartbeat" : ISODate("2014-07-16T13:25:13Z"),
"lastHeartbeatRecv" : ISODate("2014-07-16T13:25:13Z"),
"pingMs" : 111
gdybym ogon mongod.log (na Arbitra) widzę
2014-07-16T13:48:15.583+0000 [initandlisten] connection accepted from SOME_IP:SOME_PORT #46 (37 connections now open)
2014-07-16T13:48:15.754+0000 [conn42] authenticate db: admin { authenticate: 1, user: "MYUSER", nonce: "xxx", key: "xxx" }
2014-07-16T13:48:15.754+0000 [conn42] Failed to authenticate [email protected] with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user [email protected]
2014-07-16T13:48:15.974+0000 [initandlisten] connection accepted from SOME_IP:SOME_POR #47 (38 connections now open)
z moim drugim zestawie replik, mogę zawsze połączyć się z Arbiter bez problemu. Masz pojęcie, co się dzieje?
Edit: Jeśli usunąć INFO replika & usuń auth, mogę podłączyć do tego węzła bez problemów. Brak problemów z firewallem :)