You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by anand <an...@gmail.com> on 2018/07/22 03:43:20 UTC

Failed to connect to any address from IP finder

Hi All,
    I have been through all related thread before posting this message. I'm
facing this issue while running application on CentOS but working fine in
MacOS. any help would be great.
    
    issue: Failed to connect to any address from IP finder (will retry to
join topology every 2000 ms; change 'reconnectDelay' to configure the
frequency of retries): [/127.0.0.1:47500, /172.20.98.77:47500]
   
    Details: both the client and server running on same machine. Client node
started using java code while server node started using ignite.sh. please
find attached log.
     
client debug log :   client-debug.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t1938/client-debug.log>  
client info log :      client-info.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t1938/client-info.log>  
client config :  client-config.client-config
<http://apache-ignite-users.70518.x6.nabble.com/file/t1938/client-config.client-config>  

server log :   server-debug.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t1938/server-debug.log>  
server config :  server-config.server-config
<http://apache-ignite-users.70518.x6.nabble.com/file/t1938/server-config.server-config>  

Best.
Anand
      


    
    
    



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to connect to any address from IP finder

Posted by vkulichenko <va...@gmail.com>.
Anand,

I don't think it's a version issue. As I mentioned earlier, you server was
bound to 47501 according to you logs. I believe after restart it bound to
47500 and your client was able to connect.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to connect to any address from IP finder

Posted by anand <an...@gmail.com>.
Thanks @vkulichenko. 
I have tried that earlier giving range from 47000..48000. I will try it
again and update here.
For now, I have updated ignite version to 2.6.0 and it' working fine. Though
I would love to know what was issue with 2.5.0.

Best.
Anand



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to connect to any address from IP finder

Posted by vkulichenko <va...@gmail.com>.
You server node bound to port 47501 rather than 47500 for some reason (most
likely the latter was occupied by some other process). Try to add port range
to the IP finder on client side. Replace this line:

ipFinder.setAddresses(Arrays.asList("127.0.0.1", "172.20.98.77"));

with this:

ipFinder.setAddresses(Arrays.asList("172.20.98.77:47500..47509"));

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/