API Support Forum
OEC API > API Support > Unexpected disconnection occurs
Author Topic: Unexpected disconnection occurs
(2 messages, Page 1 of 1)
Moderators: VPfau
RBakst74
Posts: 1
Joined: Feb 08, 2011


Posted: Feb 08, 2011 @ 05:15 PM             Msg. 1 of 2
I was able to get the OEC API Advanced example running on Linux under Mono 2.6.7. However whenever I connect, there is a short connection, data is returned and then the connection is lost. This happens each time. I can view account information ie. balance etc. quickly before the connection is lost. I can also see orders that were placed when I entered the orders using the OEC API Advanced Example running under Windows XP.

Does anyone have any info on how to fix the error "Unexpected disconnection occurs" so that the API is useable on Linux under Mono?

(It seems to be a networking issue possibly related to differences between the Linux tcp/ip implementation and Windows.)

Richard Bakst
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Feb 09, 2011 @ 12:07 PM             Msg. 2 of 2
Richard,

I see in our server logs that coming packets have differencies from our usual "Windows" packets and our server broke this connection. So, I think this is a Mono issue. I don't have information what is wrong exactly and, unfortunately, cannot help with it right now.

Victor Vins
Software Developer