Mike Drob created SOLR-16150:
--------------------------------

             Summary: Many tools try to connect to embedded ZK on IPV6
                 Key: SOLR-16150
                 URL: https://issues.apache.org/jira/browse/SOLR-16150
             Project: Solr
          Issue Type: Test
            Reporter: Mike Drob


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.

{noformat}
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) 
~[?:?]
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to