Author |
Topic: Error: -2146233079 Descr: Price server not connected (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
ASykes4318 Posts: 18 Joined: |
We are connecting to the “Aggregate” server, however in the Public Sub SubscribeAll we are getting “Price server not connected” error.
What should we be doing different??? If client Is Nothing Then Set client = New GFComClient client.Threading.CreateRunnerFor(client).Start Set connection = client.connection.Aggregate Server = "api.gainfutures.com" End If Dim builder As ConnectionContextBuilder Set builder = New ConnectionContextBuilder builder.WithUserName(Name) _ .WithPassword(Pass) _ .WithUUID("5549126e-9866-488f-b7c8-156683f8eacc") _ .WithHost(Server) _ .WithPort (9210) connection.Connect builder.Build Anthony Sykes
|
||||
VPfau Moderator Posts: 164 Joined: |
Hello Anthony,
I see your last connect was successful at 09:22:16.797 CT All previous attempts were forcibly closed by remote host. Do you experience the same with our example? Vitaliy Pfau
|
||||
ASykes4318 Posts: 18 Joined: |
When using your example I'm not getting that error. Any thoughts as to why the remote host (GF server??) is forcibly closing??
Our application is saying that we are still connected Anthony Sykes
|
||||
VPfau Moderator Posts: 164 Joined: |
Anthony,
No, it was forcible closed by the client side. That's how server reports disconnect in your case. Without source code it's hard to say what is wrong Please provide a source code of example that replicates the issue. Thank you Vitaliy Pfau
|
||||