" /> Chat - Genesys CTI User Forum

Author Topic: Chat  (Read 5242 times)

Offline lekie

  • Jr. Member
  • **
  • Posts: 90
  • Karma: 0
Chat
« on: August 26, 2009, 09:22:19 AM »
Advertisement
Dear All,

        I have test Chat server in my Lab by sending chat via MCR Sample 7.5 , So i could not send chat and showed message like this [color=red]"error 'Failed to create chat session'"[/color]. In the log file showed as below

[color=blue]16:11:58.918 Trc 59220 input from conn_id=784: flex requestLogin
refId '31'
userNick 'chatj'
timeZoneOffset '-420'
16:11:58.918 Trc 59231 data: user=011B4A94FC5E0002 was created on conn_id=784, type=CLIENT, protocol=FLEX, nickname=chatj
16:11:58.964 Trc 59221 output for conn_id=784+ : flex eventStatus (info)
refId '31'
userId '011B4A94FC5E0002'
secureKey 'c1b5923f7acc342f'
occurAt '2009-08-26T09:11:58Z'
requestResult 'SUCCESS'
16:11:58.964 Trc 59220 input from conn_id=784: flex requestJoin
refId '33'
userId '011B4A94FC5E0002'
secureKey 'c1b5923f7acc342f'
queueKey 'Resources:default'
subject 'chat'
16:11:58.964 Trc 59248 queue key Resources:default was resolved as endpoint to queue={Chat PreRoute Queue} and tenant id=101
16:11:58.964 Trc 59241 data: session=011B4A94FC5E0003 was created with refid=33
16:11:58.964 Int 59255 data: adding user=011B4A94FC5E0002 to session=011B4A94FC5E0003 with intx=
16:11:58.980 Trc 59442 UCS: sending request {Create} with cs_refid=3 for session=011B4A94FC5E0003. Parameters:
      'Subject' [unicode] = L"chat"
      'CreatorId' [int] = 283
      'TenantId' [int] = 101
      'ExternalId' [str] = "011B4A94FC5E0003"
      'StartDate' [str] = "2009-08-26T09:11:58Z"
      'TimeZone' [int] = -420
      'IdentifyCreateContact' [int] = 3
      'MediaType' [str] = "chat"
              'Userdata' [bstr] = TKVList:<output is suppressed>
16:11:59.261 Int 59448 UCS: reply is OK for {Create} with cs_refid=3 for intx=00012a57Y8UK035S. Attached data: <output is suppressed>
16:11:59.261 Int 59242 data: session=011B4A94FC5E0003 was activated as intx=00012a57Y8UK035S
16:11:59.355 Int 59412 InS: sent request {submit} for intx=00012a57Y8UK035S with we_refid=3
16:11:59.558 Int 59415 InS: received event {event_error} with we_refid=3 for intx=00012a57Y8UK035S
16:11:59.574 Trc 59221 output for conn_id=784+ : flex eventStatus (info)
refId '33'
userId ''
secureKey ''
occurAt '2009-08-26T09:11:59Z'
requestResult 'ERROR'
errorId '8214'
error 'Failed to create chat session'
16:11:59.589 Int 59443 UCS: sending request Close for intx=00012a57Y8UK035S with cs_refid=4. Parameters:
      'TenantId' [int] = 101
      'CreatorId' [int] = 283
      'Id' [str] = "00012a57Y8UK035S"
      'ReleasedDate' [str] = "2009-08-26T09:11:59Z"
      'Status' [int] = 3
      'MimeType' [str] = "text/xml"

16:11:59.589 Int 59256 data: removing user=011B4A94FC5E0002 from session=011B4A94FC5E0003 with intx=00012a57Y8UK035S
16:11:59.589 Int 59245 data: deleting session=011B4A94FC5E0003 with intx=00012a57Y8UK035S
16:11:59.589 Trc 59202 connection was closed for conn_id=784 with type=FLEX
16:11:59.730 Int 59448 UCS: reply is OK for {Close} with cs_refid=4 for intx=00012a57Y8UK035S. Attached data: n/a
[/color]
Thanks you in advance.
Best regard,
Lekie

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Chat
« Reply #1 on: August 26, 2009, 02:00:28 PM »
Hi Lekie,

Error message "Failed to create chat session" is generated because Interaction Server doesn't accept new chat interaction.

[i]16:11:59.355 Int 59412 InS: sent request {submit} for intx=00012a57Y8UK035S with we_refid=3
16:11:59.558 Int 59415 InS: received event {event_error} with we_refid=3 for intx=00012a57Y8UK035S[/i]

Please check log of Interaction Server for detailed description of the error.

R.

Offline lekie

  • Jr. Member
  • **
  • Posts: 90
  • Karma: 0
Re: Chat
« Reply #2 on: August 27, 2009, 03:52:26 AM »
Hi Rene,

    In interaction log file,

10:43:54.981 Trc 04500 Connecting to Configuration Server '(primary)' at host 'ServerName', port 2020

10:43:54.981 Std 04502 Cannot connect to Configuration Server '(primary)' at host 'ServerName', port 2020,
reason '[connection failed]'

How should I do?

Thanks you in advance.
Cheers,
Lekie

Offline lekie

  • Jr. Member
  • **
  • Posts: 90
  • Karma: 0
Re: Chat
« Reply #3 on: August 27, 2009, 04:09:10 AM »

I have try to get log file from dos command it was show as below

D:\GCTI\MCR 7.5\Chat Server\cw_chatsvr_a>[color=limegreen]ChatServer.exe -host ServerName -port 2020
-app cw_chatsvr_a -service GenesysChatServer
[gntservice] service_startup: Changing working folder to D:\GCTI\MCR 7.5\Chat Se
rver\cw_chatsvr_a\
[gntservice] Trying to start Service Control Dispatcher...[gntservice] Cannot st
art Service Control Manager, error code = 1063
[gntservice] Trying to stop the service...[gntservice] DONE[/color]


Cheers,
Lekie

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Chat
« Reply #4 on: August 27, 2009, 09:21:10 AM »
Lekie,

I'm not sure I do understand you but it seems Interaction Server cannot connect to Configuration Server. Please check that required start-up parameters are configured for Interaction Server.

R.

Offline lekie

  • Jr. Member
  • **
  • Posts: 90
  • Karma: 0
Re: Chat
« Reply #5 on: August 28, 2009, 03:43:13 PM »
Rene,

  Thanks you for your help I can fix it now. I have set end point in WEBAPI was not correct.


Best regards,
Lekie