Hi all!
I have an issue with CTIOS Toolkit 7.5. Once a day, in random conditions, two agents log in. The first agent logs in correctly and his statistics are correctly shown in supervisor application. The second agent logs in, can make/answer calls, change his state and so on, but supervisor sees him as logged out.
I checked server logs and discovered this part:
09:01:47:941
CTIOS1-ctios Trace: ,--> RCV CLIENT[00110]: []:REQ: eIdentifyClientRequest(
.2800dotNET_Sess(31914638)_EvtThd(4) )
09:01:47:941
CTIOS1-ctios Trace: ClientMgr[1]::AddToClientIDMap[1776], Found Duplicate
Client ID:
.2800dotNET_Sess(31914638)_EvtThd(4), PreviousClient[96, 0x454ef80],
NewClient[110, 0x45b69e8]
09:01:47:941
CTIOS1-ctios Trace: ClientMgr[1]::AddToClientIDMap[ThreadId:1776], Client
objects in the map were
NOT the same object, ClientID[.2800dotNET_Sess(31914638)_EvtThd(4)],
PreviousClient[96, 0x0454EF80], NewClient[110, 0x045B69E8].
09:01:47:941
CTIOS1-ctios Trace: XXX RCV CLIENT[.2800dotNET_Sess(31914638)_EvtThd(4)]:
eOnConnectionClosed
09:01:47:941
CTIOS1-ctios Trace: ClientMgr[1]:

nConnectionClosed,
Client[0x0454EF80][.2800dotNET_Sess(31914638)_EvtThd(4)]
09:01:47:941
CTIOS1-ctios Trace: <-- SND CLIENT[.2800dotNET_Sess(31914638)_EvtThd(4)]:
[]:EVT:
eIdentifyClientConf, EnablementMask(0x0)
09:01:47:941
CTIOS1-ctios Trace:
Client[.2800dotNET_Sess(31914638)_EvtThd(4)]::HandleReadHeaderComplete, READ 0
BYTES: Requested(2), Closing Connection
09:01:47:941
CTIOS1-ctios Trace: XXX RCV CLIENT[.2800dotNET_Sess(31914638)_EvtThd(4)]:
eOnConnectionClosed
09:01:47:941
CTIOS1-ctios Trace: ClientMgr[1]:

nConnectionClosed,
Client[0x045B69E8][.2800dotNET_Sess(31914638)_EvtThd(4)]
In visual studio, when debugging the toolkit, I discovered threads running and ending with names similar to this one:
dotNET_Sess(31914638)_EvtThd(4)
When I pass wrong host A and host B address or take the ethernet cable out while running the application, this thread is not running.
For me, it looks like two agents try to log in with the same session identifier, but I'm not sure.
I must say, that I have no idea of what is hapening or how to fix this issue, so all tips are welcome.
Thanks in advance,
Piotrek