Topic: basic connection error
(2 messages, Page 1 of 1)
Joined: Jan 04, 2021
This is likely a newbie question.
I'm trying to pilot as-is the C# basicexample from https://bitbucket.org/GainFuturesDev/
I am able to run the code and via the GUI I attempt to login with my OneLink API Account credentials.
The dialog info says it is attempting to connect to the default (and I believe correct) api.gainfutures.com port 9210.
After a moment, a dialog box pops up with "ConnectionError"
This is likely a basic issue. Could someone please suggest how I can debug or likely causes?
Joined: Feb 09, 2015
Yes, api.gainfutures.com port 9210 is a correct address.
There are few error handlers in basic example code:
You can try to get additional information from that handlers.
But, looks like application cannot reach our servers and I'm not sure why at that point.
Are you able to browse https://api.gainfutures.api site?
Also, it is depend on what day you are trying to connect.
Usually we have maintenace period on weekends.