API Support Forum
OEC API > API Support > Socket error on subscribe
Author Topic: Socket error on subscribe
(3 messages, Page 1 of 1)
Moderators: VPfau
LBratovich4305
Posts: 8
Joined: Jul 15, 2019


Posted: Mar 20, 2020 @ 11:19 AM             Msg. 1 of 3
My app now disconnects with a socket error whenever I try to subscribe to a contract. This never happened last week.
LBratovich4305
Posts: 8
Joined: Jul 15, 2019


Posted: Mar 20, 2020 @ 12:12 PM             Msg. 2 of 3
Even the Advanced example App provided by GAIN disconnects whenever I try to subscribe to a contract. This has to be a problem with the sim.gainfutures.com host surely? It worked only a few days ago and I haven't changed any of the code.
LBratovich4305
Posts: 8
Joined: Jul 15, 2019


Posted: Mar 21, 2020 @ 07:47 AM             Msg. 3 of 3
I figured it out