Hi experts,
I have edited a scenario ABC Simple Chat BP on IRD, then I'm trying to test this scenario by sending a message to Agent through feature chat on Web API, but it is failed to route to an Agent. Can someone help me suggest a few ideas to fix the error as below.
Logs:
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24016 Reference identifier mapping for 'RequestUpdate/Attach/Delete user data' regarding interaction '00005aCMF6QG0046', mapped original reference id 5227 to internal 100002509
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestRouteCall' (36) message:
AttributeReferenceID [int] = 5228
AttributeRouteType [int] = 7
AttributeOtherDN [str] = ""
AttributeConnID [long] = 28ff02a4517439ee
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24003 Universal Routing Server 'e_urs' (client 1:1832) has rejected interaction '00005aCMF6QG0046', placing interaction back into queue
2017-06-22T15:31:17.801 Dbg 25020 Queuing dbmanager request: request id: '8249', request:[Bind:Update; update all properties], stack:'default:standard', stack size: '1', interaction id:'00005aCMF6QG0046'
2017-06-22T15:31:17.801 Dbg 25021 Getting ready to send dbmanager request: request id: '8249', request:[update all properties], stack size: '1', interaction id:'00005aCMF6QG0046'
2017-06-22T15:31:17.801 Dbg 25030 Database request sent: DAP:'e_ixn_dap'(0), request id: '28332', dbchannel stack id: '1', interaction id:'', sql statement: [Begin Transaction]
2017-06-22T15:31:17.801 Trc 26020 Distributing message 'EventPropertiesChanged' ('104'), message attributes:
attr_extension [list, size (unpacked)=45] =
'ReportingEventSequenceNumber' [str] = "38976888"
attr_actor_type [int] = 1 [STRATEGY]
attr_actor_tenant_id [int] = 1
attr_actor_strategy_id [str] = "Chat inbound strategy"
attr_actor_router_id [str] = "e_urs"
attr_event_time [str] = "2017-06-22T08:31:17Z"
attr_itx_id [str] = "00005aCMF6QG0046"
attr_itx_type [str] = "Inbound"
attr_itx_subtype [str] = "InboundNew"
attr_itx_tenant_id [int] = 1
attr_itx_queue [str] = "Chat inbound queue"
attr_itx_media_type [str] = "chat"
attr_itx_submitted_by [str] = "e_chat_srv"
attr_itx_state [int] = 2 [ROUTING]
attr_itx_is_online [int] = 0
attr_itx_is_locked [int] = 0
attr_itx_received_at [str] = "2017-06-21T03:16:31Z"
attr_itx_submitted_at [str] = "2017-06-21T03:16:31Z"
attr_itx_submitted_to_router_at [str] = "2017-06-22T08:31:02Z"
attr_itx_placed_in_queue_at [str] = "2017-06-22T08:30:59Z"
attr_itx_moved_to_queue_at [str] = "2017-06-21T03:16:31Z"
attr_abandoned_at [str] = "2017-06-21T03:36:09Z"
attr_itx_submit_seq [str] = "27330421"
attr_itx_place_in_queue_seq [str] = "38976727"
attr_itx_user_data [list, size (unpacked)=238, user data may be hidden] =
attr_itx_is_held [int] = 0
attr_changed_prop [list, size (unpacked)=24, user data may be hidden] =
2017-06-22T15:31:17.801 Dbg 25032 Database request executed: DAP:'e_ixn_dap'(0), request id: '28332', dbchannel stack id: '1', interaction id:'', sql statement: [Begin Transaction]
2017-06-22T15:31:17.801 Dbg 25030 Database request sent: DAP:'e_ixn_dap'(0), request id: '28333', dbchannel stack id: '2', interaction id:'00005aCMF6QG0046', sql statement: [execute binding (update all)]
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestUpdateUserData' (31) message:
AttributeReferenceID [int] = 5229
AttributeUserData [list, size (unpacked)=120, user data may be hidden] =
AttributeConnID [long] = 28ff02a4517439ef
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24016 Reference identifier mapping for 'RequestUpdate/Attach/Delete user data' regarding interaction '00005aCMF6QG0048', mapped original reference id 5229 to internal 100002510
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestRouteCall' (36) message:
AttributeReferenceID [int] = 5230
AttributeRouteType [int] = 7
AttributeOtherDN [str] = ""
AttributeConnID [long] = 28ff02a4517439ef
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24003 Universal Routing Server 'e_urs' (client 1:1832) has rejected interaction '00005aCMF6QG0048', placing interaction back into queue
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestUpdateUserData' (31) message:
AttributeReferenceID [int] = 5231
AttributeUserData [list, size (unpacked)=120, user data may be hidden] =
AttributeConnID [long] = 28ff02a4517439f0
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24016 Reference identifier mapping for 'RequestUpdate/Attach/Delete user data' regarding interaction '00005aCMF6QG004D', mapped original reference id 5231 to internal 100002511
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestRouteCall' (36) message:
AttributeReferenceID [int] = 5232
AttributeRouteType [int] = 7
AttributeOtherDN [str] = ""
AttributeConnID [long] = 28ff02a4517439f0
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24003 Universal Routing Server 'e_urs' (client 1:1832) has rejected interaction '00005aCMF6QG004D', placing interaction back into queue
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestUpdateUserData' (31) message:
AttributeReferenceID [int] = 5233
AttributeUserData [list, size (unpacked)=120, user data may be hidden] =
AttributeConnID [long] = 28ff02a4517439f1
AttributeThisDN [str] = "asl_Chat inbound strategy"
2017-06-22T15:31:17.801 Trc 24016 Reference identifier mapping for 'RequestUpdate/Attach/Delete user data' regarding interaction '00005aCMF6QG004F', mapped original reference id 5233 to internal 100002512
2017-06-22T15:31:17.801 Trc 24101 Received from Universal Routing Server: e_urs: 'RequestRouteCall' (36) message:
AttributeReferenceID [int] = 5234
AttributeRouteType [int] = 7
AttributeOtherDN [str] = ""
AttributeConnID [long] = 28ff02a4517439f1
AttributeThisDN [str] = "asl_Chat inbound strategy"
Chat log:
Version [str] = "1.0"
AppName [str] = "e_chat_srv"
Service [str] = "Chat"
Method [str] = "Message"
Parameters = [kvlist:]
MessageText [str] = ****
Nickname [str] = "Peter Parker"
2017-06-22T15:38:53.721 Trc 59462 ESP: failed to process request from conn_id=636:1 with esp_refid=216 for intx=00005aCMF6QG006R. Could not process request: interaction with specified id was not found
2017-06-22T15:38:53.721 Trc 59464 ESP: sending error for conn_id=636:1 with esp_refid=216 ... succeeded
2017-06-22T15:38:53.721 Trc 59461 ESP: received request from conn_id=636:1 with esp_refid=217 for intx=00005aCMF6QG0071. Content:
Version [str] = "1.0"
AppName [str] = "e_chat_srv"
Service [str] = "Chat"
Method [str] = "Message"
Parameters = [kvlist:]
MessageText [str] = ****
Nickname [str] = "Peter Parker"
2017-06-22T15:38:53.721 Int 59463 ESP: processing request {Message} from conn_id=636:1 with esp_refid=217 for intx=00005aCMF6QG0071 with parameters:
Nickname = Peter Parker
Visibility = ALL
MessageText = ****
2017-06-22T15:38:53.721 Trc 59464 ESP: sending reply for conn_id=636:1 with esp_refid=217 ... succeeded
2017-06-22T15:38:55.266 Trc 59201 new connection created with conn_id=920:402 (type=UNKNOWN, port=8778)
2017-06-22T15:38:55.266 Trc 59220 input (data received) from conn_id=920:402 (type=FLEX): flex requestRefresh (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, fromPosition=98
2017-06-22T15:38:55.266 Trc 59221 output (data sent) for conn_id=920:402+ : flex eventStatus (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, sessionId=00005aCMF6QG0071, lastPosition=98, flexTranscript:
MESSAGE: sc='1902', ei='98', nk='Peter Parker', ut='EXTERNAL', pd='3', tx='' [truncated from size (bytes) = 41]
2017-06-22T15:38:55.266 Trc 59202 connection was closed for conn_id=920:402 (type=FLEX, port=8778)
2017-06-22T15:39:00.371 Trc 59201 new connection created with conn_id=920:403 (type=UNKNOWN, port=8778)
2017-06-22T15:39:00.371 Trc 59220 input (data received) from conn_id=920:403 (type=FLEX): flex requestRefresh (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, fromPosition=99
2017-06-22T15:39:00.371 Trc 59221 output (data sent) for conn_id=920:403+ : flex eventStatus (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, sessionId=00005aCMF6QG0071, lastPosition=98
2017-06-22T15:39:00.371 Trc 59202 connection was closed for conn_id=920:403 (type=FLEX, port=8778)
2017-06-22T15:39:05.489 Trc 59201 new connection created with conn_id=908:404 (type=UNKNOWN, port=8778)
2017-06-22T15:39:05.489 Trc 59220 input (data received) from conn_id=908:404 (type=FLEX): flex requestRefresh (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, fromPosition=99
2017-06-22T15:39:05.489 Trc 59221 output (data sent) for conn_id=908:404+ : flex eventStatus (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, sessionId=00005aCMF6QG0071, lastPosition=98
2017-06-22T15:39:05.489 Trc 59202 connection was closed for conn_id=908:404 (type=FLEX, port=8778)
2017-06-22T15:39:10.653 Trc 59201 new connection created with conn_id=920:405 (type=UNKNOWN, port=8778)
2017-06-22T15:39:10.653 Trc 59220 input (data received) from conn_id=920:405 (type=FLEX): flex requestRefresh (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, fromPosition=99
2017-06-22T15:39:10.653 Trc 59221 output (data sent) for conn_id=920:405+ : flex eventStatus (ping)
refId=1, userId=00EC594B7AAF0006, secureKey=f8e44dd56242eb8c, sessionId=00005aCMF6QG0071, lastPosition=98
2017-06-22T15:39:10.668 Trc 59202 connection was closed for conn_id=920:405 (type=FLEX, port=8778)
2017-06-22T15:39:11.823 Trc 59461 ESP: received request from conn_id=636:1 with esp_refid=218 for intx=00005aCMF6QG006R. Content:
Version [str] = "1.0"
AppName [str] = "e_chat_srv"
Service [str] = "Chat"
Method [str] = "Message"
Parameters = [kvlist:]
MessageText [str] = ****
Nickname [str] = "Peter Parker"
2017-06-22T15:39:11.823 Trc 59462 ESP: failed to process request from conn_id=636:1 with esp_refid=218 for intx=00005aCMF6QG006R. Could not process request: interaction with specified id was not found
2017-06-22T15:39:11.823 Trc 59464 ESP: sending error for conn_id=636:1 with esp_refid=218 ... succeeded
2017-06-22T15:39:11.823 Trc 59461 ESP: received request from conn_id=636:1 with esp_refid=219 for intx=00005aCMF6QG0071. Content:
Version [str] = "1.0"
AppName [str] = "e_chat_srv"
Service [str] = "Chat"
Method [str] = "Message"
Parameters = [kvlist:]
MessageText [str] = ****
Nickname [str] = "Peter Parker"
2017-06-22T15:39:11.823 Int 59463 ESP: processing request {Message} from conn_id=636:1 with esp_refid=219 for intx=00005aCMF6QG0071 with parameters:
Nickname = Peter Parker
Visibility = ALL
MessageText = ****
2017-06-22T15:39:11.823 Trc 59464 ESP: sending reply for conn_id=636:1 with esp_refid=219 ... succeeded
screenshot
https://ibb.co/n4pfiQ
https://ibb.co/bLNBq5
https://ibb.co/cydHV5
From in my opinion, I see that after sending a message on Web API, basing this logs seem it routed to Agent, so why Agent can't receive a message from Web API.
