-
Bug
-
Resolution: Done
-
Major
-
None
-
None
I created a connector with the wrong hostname. Even after deleting it and recreating it with the correct hostname, as well as correctly connecting to the new hostname, it still continues to try and hit the old one:
[2018-03-07 14:56:32,073] INFO Exception in monitor thread while connecting to server proxmox.moffatt.me:27017 (org.mongodb.driver.cluster:76) com.mongodb.MongoSocketException: proxmox.moffatt.me at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:188) at com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:57) at com.mongodb.connection.SocketStream.open(SocketStream.java:58) at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:115) at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:113) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.UnknownHostException: proxmox.moffatt.me at java.net.InetAddress.getAllByName0(InetAddress.java:1280) at java.net.InetAddress.getAllByName(InetAddress.java:1192) at java.net.InetAddress.getAllByName(InetAddress.java:1126) at java.net.InetAddress.getByName(InetAddress.java:1076) at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:186) ... 5 more