API Support Forum
OEC API > API Support > Connection hangs with 3.5
Author Topic: Connection hangs with 3.5
(3 messages, Page 1 of 1)
Moderators: VPfau
JWeissbard91
Posts: 21
Joined: Dec 18, 2007


Posted: Feb 17, 2012 @ 12:23 AM             Msg. 1 of 3
Hello,
I'm trying to update my program to work with API 3.5 and the UUID. When I run:

objOECClient.UUID = "XXX"
objOECClient.Connect("api.openecry.com", 9200, strUser, strPassword, False)

I get no response at all. Is there anyway to debug what's going on? I'm using VB.NET and there's no ConnectFail in the Object Browser.
RuslanK
Posts: 69
Joined: Jun 02, 2010


Posted: Feb 17, 2012 @ 08:13 AM             Msg. 2 of 3
Hello,

I do not see any connections with your username in our server logs for last days.
Could you please specify what was the time when you were trying and what was your IP address (if it's possible).

Additionally I would like to suggest you to wait a little more during connection attempt, maybe there is some kind of network issue. The OnLoginFailed event will be raised anyway, but it may take longer than expected.

Ruslan Kartokhin
Software Developer
JWeissbard91
Posts: 21
Joined: Dec 18, 2007


Posted: Feb 17, 2012 @ 10:29 AM             Msg. 3 of 3
Hello,
It connects now. I had to add the CommLib to the project in order for it to recognize the OnLoginFailed event and then debugged from there.

Thanks