Author |
Topic: OnLoginComplete not fired (7 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CZendejas116 Posts: 51 Joined: Apr 13, 2011 ![]() |
Hi,
Sometimes, when I do OECClient.Connect(domain, port, user, pws, false), the event OECClient.OnLoginComplete() doesn't fire. I do (in summary): oecClient.Connect(domain, port, user, pws, false); And I get this in log (I turned on API log: OEC.Log.Start();): 07:47:09.843 Dbg Reader Order Login to OEC Server 4.1.0.0 Why the event OnLoginComplete() doesn't fire again? Thanks in advance. Claudia Zendejas |
||||
RuslanK Posts: 69 Joined: Jun 02, 2010 ![]() |
Hello
Please make sure you're using the latest version of API. If this behaviour will show up again, please provide exact date and time when this happened. Ruslan Kartokhin Software Developer |
||||
CZendejas116 Posts: 51 Joined: Apr 13, 2011 ![]() |
Hi,
I was using a version with modification date 10-21-2010 and now I downloaded the lasted version (I hope) from here (option "API COM (No Samples)"): http://www.openecry.com/trading/api/documentation.cfm this one has modification date 10-14-2011. Both of them indicates that version is 3.5.0.0 I tried same code with new version of API and I'm getting same behaviour. API log is: 11:03:28.461 Dbg Reader Price Login to OEC Server 4.1.0.0 I did my test at time indicated in log. I'm working in central time zone. Regards, Claudia Zendejas |
||||
RuslanK Posts: 69 Joined: Jun 02, 2010 ![]() |
I do not see anything suspicious in our server's logs.
However seems like our sample files were a little bit outdated. We have just updated them all. Could you please re-download them again and re-test your case? Ruslan Kartokhin Software Developer |
||||
CZendejas116 Posts: 51 Joined: Apr 13, 2011 ![]() |
Hi,
I re-downloaded API (same URL) and now API has modification date 06-05-2012. I tried same code and I have same behaviour :( API log: 14:58:50.925 Dbg System #10 Logger level: Core (Data feed: every 1 per 00:01:00) Any ideas? Regards, Claudia Zendejas |
||||
RuslanK Posts: 69 Joined: Jun 02, 2010 ![]() |
I will try to re-produce this behaviour in our test sample and will let you know about results.
Ruslan Kartokhin Software Developer |
||||
CZendejas116 Posts: 51 Joined: Apr 13, 2011 ![]() |
Hi,
My app works just fine and you always were right. Someone else changed the code and I didn't know about it, and that weird changes was causing all my problems, API works correctly. My apologizes Claudia Zendejas |
||||