Comments (8)
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.
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.
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.
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.
BTW why these new clients are not available thru nuget?
I am closing this issue since the issue is solved
from hazelcast-csharp-client.
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.
Thanks a lot!!!
FYI I have started to write a simple SignalR integration
from hazelcast-csharp-client.
That's great! Feel free to pop us any issues you might encounter with the client.
from hazelcast-csharp-client.
Related Issues (20)
- Overload `CompactGenericRecord.ToString()`
- Add `arm` based worker to testing process. HOT 1
- [TRACKING ISSUE] [TPC] Allow TLS sockets in TPC Bootstrapping [HZ-2764]
- Remove Moq as a dependency [API-2119] HOT 1
- Error executing SQL query using IN operator [API-2160] HOT 6
- Question: Predicates as a static and building complex expressions HOT 3
- [TRACKING ISSUE] Make tpcEnable for client configurable through system property. [API-2162] HOT 1
- [TRACKING ISSUE] Promote alto auth codecs to stable [API-2161] HOT 1
- Question: Setting In-Memory-Format for a map different than the cluster default possible? HOT 3
- [TRACKING ISSUE] TPC default to 1 connection
- [TRACKING ISSUE] Fix the `ReliableTopicConfig.setName` method to allow empty names [HZ-2274] [API-2172]
- [TRACKING ISSUE] Continue trying if initial membership event retrieval fails and client is failover [API-2171]
- [TRACKING ISSUE] NearCachedClientMapProxy getAsync fix double invocation [API-1811]
- Client shuts down on failover [API-2176] HOT 1
- Compact Serialization: UnknownSchemaException when using Paging Predicates on getEntriesAsync, etc. HOT 3
- Mention `ClusterConnectionTimeoutMilliseconds` on Blue/Green Docs
- .Net 8 Does Not Support Binary Formatter Anymore [API-2225] HOT 1
- CP Session Manager Miss to Release Session Semaphore. [API-2226] HOT 1
- Optimise dependencies to leverage framework
- Investigate Compact Tests Against <5.2.0 Server [API-2234] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hazelcast-csharp-client.