You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/10/18 20:38:00 UTC

[jira] [Commented] (SOLR-16150) Many tools try to connect to embedded ZK on IPV6

    [ https://issues.apache.org/jira/browse/SOLR-16150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619781#comment-17619781 ] 

ASF subversion and git services commented on SOLR-16150:
--------------------------------------------------------

Commit c80cf5b03ac1b1307df65ebe37f6ffdb26611013 in solr's branch refs/heads/main from Mike Drob
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=c80cf5b03ac ]

SOLR-16150 Provide correct bound zookeeper interface (#802)

Instead of always giving localhost, we can return the interface that ZK actually listens on.

Co-authored-by: Kevin Risden <kr...@apache.org>

> 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
>          Components: Integration Tests, Tests
>            Reporter: Mike Drob
>            Assignee: Kevin Risden
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org