Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We have a lot of places internally where we try to connect to "localhost" and end up hitting the ipv6 interface for whatever reason. Is this an OS issue? A VPN issue?
Regardless, the embedded ZK isn't listening on ipv6, so we fail and retry (sometimes multiple times). Each retry adds a second to our tests, but should be easy to give a more specific address to connect to.
2022-04-11 21:54:54.682 WARN (main-SendThread(localhost:9983)) [] o.a.z.ClientCnxn Session 0x0 for sever localhost/[0:0:0:0:0:0:0:1]:9983, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. => java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) java.net.ConnectException: Connection refused at sun.nio.ch.Net.pollConnect(Native Method) ~[?:?] at sun.nio.ch.Net.pollConnectNow(Net.java:672) ~[?:?] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946) ~[?:?] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:344) ~[?:?] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1280) ~[?:?]
Attachments
Issue Links
- is related to
-
SOLR-16926 Embedded ZK not reachable via docker
- Closed
- links to