GithubHelp home page GithubHelp logo

Comments (8)

cangencer avatar cangencer commented on May 26, 2024

Hi Alex,

Are you using the same version of the client and the server? I just checked and the version on Nuget is not updated with the latest release candidate for 3.6, but you can get the latest releases from http://hazelcast.org/download/

from hazelcast-csharp-client.

alexvictoor avatar alexvictoor commented on May 26, 2024

Thanks for the tip, I did not notice new versions were released 3 days ago.
I will do some testing and get back to you

from hazelcast-csharp-client.

alexvictoor avatar alexvictoor commented on May 26, 2024

Hello again,
Running EA3 on both sides the behavior is a little bit different, call to HazelcastClient.NewHazelcastClient() raise an exception:

    System.InvalidOperationException was unhandled
      _HResult=-2146233079
      _message=Unable to connect to any address in the config! The following addresses were tried:127.0.0.1:5701
      HResult=-2146233079
      IsTransient=false
      Message=Unable to connect to any address in the config! The following addresses were tried:127.0.0.1:5701
      Source=Hazelcast.Net
      StackTrace:
           à Hazelcast.Client.Spi.ClientClusterService.ConnectToOne()
           à Hazelcast.Client.Spi.ClientClusterService.ConnectToCluster()
           à Hazelcast.Client.Spi.ClientClusterService.Start()
           à Hazelcast.Client.HazelcastClient.Start()
           à Hazelcast.Client.HazelcastClient.NewHazelcastClient(ClientConfig config)
           à HzSource.Program.Main(String[] args) dans c:\work\dotnetsandbox\HzSandbox\HzSource\Program.cs:ligne 24
           à System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           à System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           à System.Threading.ThreadHelper.ThreadStart()
      InnerException: 

On the hazelcast instance, I have also an exception:

            INFOS: [192.168.0.16]:5701 [dev] [3.6-EA3] Accepting socket connection from /127.0.0.1:49397
            dÚc. 26, 2015 11:01:55 PM com.hazelcast.nio.tcp.TcpIpConnectionManager
            INFOS: [192.168.0.16]:5701 [dev] [3.6-EA3] Established socket connection between /127.0.0.1:5701 and /127.0.0.1:49397
            dÚc. 26, 2015 11:01:55 PM com.hazelcast.client.impl.protocol.task.AuthenticationMessageTask
            GRAVE: [192.168.0.16]:5701 [dev] [3.6-EA3] Hazelcast instance is not ready yet!
            com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not ready yet!
                    at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.initializeAndProcessMessage(AbstractMessageTask.java:115)
                    at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.run(AbstractMessageTask.java:96)
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
                    at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
                    at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)

            dÚc. 26, 2015 11:01:55 PM com.hazelcast.nio.tcp.TcpIpConnection
            INFOS: [192.168.0.16]:5701 [dev] [3.6-EA3] Connection [/127.0.0.1:49397] lost. Reason: java.io.EOFException[Remote socket closed!]
            dÚc. 26, 2015 11:01:58 PM com.hazelcast.cluster.impl.MulticastJoiner
            INFOS: [192.168.0.16]:5701 [dev] [3.6-EA3]


            Members [1] {
                    Member [192.168.0.16]:5701 this
            }

            dÚc. 26, 2015 11:01:58 PM com.hazelcast.core.LifecycleService
            INFOS: [192.168.0.16]:5701 [dev] [3.6-EA3] Address[192.168.0.16]:5701 is STARTED

from hazelcast-csharp-client.

alexvictoor avatar alexvictoor commented on May 26, 2024

I have set the connection attempt limit and it seems to work fine now!
I did not notice that from EA2 to EA3 the default value of this limit went from 20 to 2.
Thanks for your help

from hazelcast-csharp-client.

alexvictoor avatar alexvictoor commented on May 26, 2024

BTW why these new clients are not available thru nuget?
I am closing this issue since the issue is solved

from hazelcast-csharp-client.

cangencer avatar cangencer commented on May 26, 2024

All the releases are published to nuget now, and also we have integrated it with our release process so they should be available simultaneously as actual releases.

https://www.nuget.org/packages/Hazelcast.Net/3.6.0-EA3

from hazelcast-csharp-client.

alexvictoor avatar alexvictoor commented on May 26, 2024

Thanks a lot!!!
FYI I have started to write a simple SignalR integration

from hazelcast-csharp-client.

cangencer avatar cangencer commented on May 26, 2024

That's great! Feel free to pop us any issues you might encounter with the client.

from hazelcast-csharp-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.