Author Topic: Interaction server login error  (Read 4877 times)

Offline rajkishor09

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Interaction server login error
« on: April 15, 2015, 10:17:51 AM »
I am able to open connection to interaction server but when I send RequestAgentLogin message I am getting "Unsupported protocol element" error. Any idea?

Error which I got
[code]
'EventError' ('126')
message attributes:
attr_ref_id [int] = 2
attr_error_code [int] = 4
attr_error_desc [str] = "Unsupported protocol element"
[/code]

Request sent to Interaction Server
[code]
RequestAgentLogin login = RequestAgentLogin.Create();
login.TenantId = tenantId;
login.AgentId = agentId;
login.PlaceId = placeId;

//KeyValueCollection kvMediaList = new KeyValueCollection();
//kvMediaList.Add(mediaType, 1);
//login.MediaList = kvMediaList;
ixnProtocol.Send(login);
[/code]


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Interaction server login error
« Reply #1 on: April 15, 2015, 10:40:33 AM »
Attach IXN logs covering the frame with login request till event error

Offline rajkishor09

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Re: Interaction server login error
« Reply #2 on: April 15, 2015, 10:49:59 AM »
[code]
16:18:28.200 Trc 26015 Received message 'RequestRegisterClient' ('100') from client '[no name]' - Unknown:40:2768, message attributes:
attr_client_type [int] = 3 [MEDIA SERVER]
attr_client_name [str] = "BasicChatApp"
attr_media_type [str] = ""
attr_ref_id [int] = 1

16:18:28.201 Trc 26103 New media server registered, client 40:2768, name: BasicChatApp, media type:
16:18:28.201 Trc 26016 Sending message 'EventAck' ('125') to client 'BasicChatApp' - Media server:40:2768, message attributes:
attr_ref_id [int] = 1
attr_prxy_client_id [int] = 40
attr_extension [list, size (unpacked)=187] =
  'ApplicationName' [str] = "Genesys Interaction Server"
  'ServerVersion' [str] = "8.1.300.06"
  'ServerVersionFamily' [int] = 8
  'ServerVersionMajor' [int] = 1
  'ServerVersionMinor' [int] = 3
  'ServerVersionBuild' [int] = 6

16:18:28.229 Trc 26015 Received message 'RequestAgentLogin' ('135') from client 'BasicChatApp' - Media server:40:2768, message attributes:
attr_tenant_id [int] = 1
attr_agent_id [str] = "118"
attr_place_id [str] = "SIP_Server_Place113"
attr_ref_id [int] = 2

16:18:28.229 Std 26006 Unsupported protocol message (135) received from client media server:40:2768
16:18:28.230 Trc 26016 Sending message 'EventError' ('126') to client 'BasicChatApp' - Media server:40:2768, message attributes:
attr_ref_id [int] = 2
attr_error_code [int] = 4
attr_error_desc [str] = "Unsupported protocol element"
[/code]

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Interaction server login error
« Reply #3 on: April 15, 2015, 11:00:40 AM »
I think that the client type parameter within RequestRegisterClient is wrong(should be AGENT APPLICATION)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Interaction server login error
« Reply #4 on: April 15, 2015, 12:26:28 PM »
Does login works normally on IWS or gad? As you are on chat I may guess some configuration is missing

Offline rajkishor09

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Re: Interaction server login error
« Reply #5 on: April 15, 2015, 01:34:50 PM »
Kubig idea worked. thanks  ;D