[infinispan-issues] [JBoss JIRA] (ISPN-8902) Client hangs forever when IP address not accessible

Radim Vansa (JIRA) issues at jboss.org
Mon Mar 12 03:50:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-8902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544322#comment-13544322 ] 

Radim Vansa commented on ISPN-8902:
-----------------------------------

[~galder.zamarreno] It's not related to KQueue but your system configuration in general. Notice that when the test attempts to connect to 127.0.0.1 it gets refused immediately, when you try to connect to 127.0.0.[2-4] you're getting "Connection timed out" - I got these refused right away. When I run

{code}
08:44:54 at rvansa infinispan$ ip route show table local
...
local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1 
local 127.0.0.1 dev lo proto kernel scope host src 127.0.0.1
{code}

So I recommend adding similar route. Regarding 'real' IPs that don't respond quickly: how would you like handle this? You can always lower your connection timeout... I could imagine having a 'soft' limit that would trigger connection to another server (but not fail the previous connection attempt) but that would be an enhancement, not a bug fix.

> Client hangs forever when IP address not accessible
> ---------------------------------------------------
>
>                 Key: ISPN-8902
>                 URL: https://issues.jboss.org/browse/ISPN-8902
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 9.2.0.Final
>            Reporter: Galder ZamarreƱo
>            Assignee: Radim Vansa
>             Fix For: 9.2.1.Final
>
>         Attachments: infinispan.log
>
>
> Can be replicated with code [here|https://github.com/galderz/jdg-sandbox/blob/master/client/src/main/java/jdg/client/UnknownHosts.java]
> Thread dump is [here|https://gist.github.com/galderz/89b387b9e8b644456c18653e7b3c3c38].



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list