please run client with -DIGNITE_QUIET=false and share full logs from both
client and server.

thanks,
Evgenii

пт, 3 апр. 2020 г. в 13:29, salmanbhatti81 <[email protected]>:

> I am configuring client apache ignite in java via bean. I get the following
> error when I run client app as in the image below :
> the error is same if I use xml configuration as per mentioned by you.
>   <http://apache-ignite-users.70518.x6.nabble.com/file/t2822/error.png>
>
> i.e.
> class org.apache.ignite.IgniteException: GridWorker
> [name=tcp-client-disco-msg-worker, igniteInstanceName=null, finished=false,
> heartbeatTs=1585944979993]
> Failed to connect to any address from IP finder
>
> My configuration for multicast in client app:
> TcpDiscoverySpi spi = new TcpDiscoverySpi();
> TcpDiscoveryMulticastIpFinder ipFinder = new
> TcpDiscoveryMulticastIpFinder();
> ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..47509"));
> spi.setIpFinder(ipFinder);
>
> TcpCommunicationSpi commSpi=new TcpCommunicationSpi();
> IgniteConfiguration config = new IgniteConfiguration();
> config.setDiscoverySpi(spi);
>
> Ignition.getOrStart(config);
>
>
>
> *Note*: The server log doesn't have any effect upon running client
> application.
>
>
> again for reference My docker command:
> docker run -it --net=host -v
>
> C:/Username/Downloads/apache-ignite-2.7.6-bin/config:/opt/ignite/apache-ignite/config
> -e "CONFIG_URI=file:///opt/ignite/apache-ignite/config/default-config.xml"
> -p 10800:10800 -p 47100:47100 -p 47500-47509:47500-47509
> apacheignite/ignite.
>
> Thanks for help in advance.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to