API Support Forum
OEC API > API Support > Connection problem
Author Topic: Connection problem
(4 messages, Page 1 of 1)
Moderators: VPfau
LLuigi
Posts: 2
Joined: Nov 01, 2016


Posted: Nov 05, 2016 @ 12:07 PM             Msg. 1 of 4
Hi, I made a .net application (vb.net) that has always worked, with the latest update stopped working
my old source code to connect was
Dim WithEvents cli As New OEC.API.OECClient
Dim WithEvents OECClient As New OEC.API.OECClient
cli = OEC.API.OECClient.CreateInstance(True)
OECClient = OEC.API.OECClient.CreateInstance(True)

The new code is:
OECClient = New OEC.API.OECClient()
OECClient.UUID = "6C59886E-...."
OECClient.Connect("api.gainfutures.com", 9200, "xx", "xx", True)

but the code call always the OECClient_OnLoginFailed event... with reason: OEC.Data.FailReason.SoftwareNotPermitted

why?
CMicciche902
Posts: 348
Joined:


Posted: Nov 07, 2016 @ 08:33 AM             Msg. 2 of 4
Your UUID key is invalid. Sample login message for Developer testing is provided here:
https://gainfutures.com/api/html/fc0637f9-3fd0-407e-ad3a-51e79c4014ed.htm. This key will not function on public demo and live servers.

If you have already gone through Conformance testing and need to verify your UUID, email us at GFSupport@gaincapital.com. Provide the application name, your Production username and account number.
Chris M
LLuigi
Posts: 2
Joined: Nov 01, 2016


Posted: Nov 07, 2016 @ 09:27 AM             Msg. 3 of 4
Thanks for the answer,
to move to the production server and to have a valid UUID I have to pay?
CMicciche902
Posts: 348
Joined:


Posted: Nov 07, 2016 @ 09:56 AM             Msg. 4 of 4
In order to move to Production, you need a LIVE account with an Introducing Broker and pass Conformance testing. You'll need a LIVE account first before you can go through Conformance. There is no fee for Conformance.
Chris M