Author Message
ssiali
Joined: Nov 27, 2014
Messages: 11
Offline
I used CCS CDK ref-client sample.

Enter Server, Username, Password and click SingIn.
Status goes from CONNECTING to DISCONNECT and not CONNECTED/AUTHENTICATED.

Why can't I log in?
Are there any additional AACC settings?
Please provide any advice or ideas.

Thanks.

------------------------------------------
< IP_SRVR.Log of CCT >
2020-11-30 14:48:05.226 IP_SRVR 7-10040 0 Info None Info CCS GlobalServiceContext created: AssemblyName=ContactControlService, ServiceType=ContactCenter.ContactControlService.ServiceManager, MaxThreads=8, AllowParallelRequests=False
2020-11-30 14:48:10.679 IP_SRVR 7-10040 0 Debug None Trace PortalServer ScheduleAuthenticationCheck for 1000 msecs. ClientInstanceID: 3f0742c0-7f03-4ded-9585-10f6d7105082
2020-11-30 14:48:10.679 IP_SRVR 7-10040 0 Debug None Trace WebSocketHandler Process entered
2020-11-30 14:48:10.681 IP_SRVR 14-18340 (CCS-1) 0 Info None Info CCS Request handler thread CCS-1 has been created.
2020-11-30 14:48:11.583 IP_SRVR 13-16952 0 Major None Error PortalServer Service handler failed to authenticate within 1000 msecs. ClientInstanceID: 3f0742c0-7f03-4ded-9585-10f6d7105082
2020-11-30 14:48:11.583 IP_SRVR 13-16952 0 Debug None Trace WebSocketHandler Stopping processing on the WebSocket whose state is currently Open...
2020-11-30 14:48:11.587 IP_SRVR 13-16952 0 Minor None Warn PortalServer WebSocket closed: Client=10.0.40.149, ClientInstanceID=3f0742c0-7f03-4ded-9585-10f6d7105082, State=Aborted, CloseStatus=
2020-11-30 14:48:11.588 IP_SRVR 13-16952 0 Debug None Trace WebSocketHandler Process exiting...
2020-11-30 14:48:14.745 IP_SRVR 14-18340 (CCS-1) 0 Crit None Except PortalServer Failed to send RESPONSE notification for Session System.InvalidOperationException: The WebSocket must be in an Open state (not Closed) to perform a Send operation.

at ContactCenter.IntegrationPortal.WebSocketHandler.Send(String message)

at ContactCenter.IntegrationPortal.PortalServer.SendMessage(INotification notifyObject, String header, String payload)



< CcsSdk.log Log of CCS Refclient sample >
2020-11-30 14:50:10,485 [JavaFX] INFO c.a.c.j.JavaFXRefClient - start() Reading properties file
2020-11-30 14:50:10,879 [JavaFX] DEBUG c.a.c.j.InteractionDataGUI - redrawControls
2020-11-30 14:50:11,397 [JavaFX] INFO c.a.c.j.JavaFXRefClient - setConnectionState() new state = DISCONNECTED status = Red
2020-11-30 14:50:14,486 [JavaFX] INFO c.a.c.j.JavaFXRefClient - SignInMenuItem()
2020-11-30 14:50:32,346 [JavaFX] DEBUG c.a.c.j.ClientSessionExecutor - signinClient() +
2020-11-30 14:50:32,357 [outgoingRequest] INFO c.a.c.c.Client - **() ========== CCS-SDK Startup ========== ()**
2020-11-30 14:50:32,358 [outgoingRequest] WARN c.a.c.c.Client - loadProperties() properties file not found
2020-11-30 14:50:32,359 [outgoingRequest] INFO c.a.c.c.Client - <clinit>() [SDK Version: 7.1.1.0 -1 ] [Operating System: Windows10 10.0 x86] [JRE: 1.8.0_251-b08 OracleCorporation]
2020-11-30 14:50:32,359 [outgoingRequest] INFO c.a.c.c.Client - <clinit>() Initial channel reconnect time: 2000prolonged outage reconnect time: 20000. Number of channel retries before switching over to prolonged outage reconnect delay: 50. Number of connect retries before giving up: {}500
2020-11-30 14:50:32,361 [outgoingRequest] INFO c.a.c.c.Client - <init>() [Client ID:ccs-client-1,Server:10.0.7.120,IsConnected:false,AutoReconnect:true,State:DISCONNECTED,IsHa:false,IsHaOperational:false]
2020-11-30 14:50:32,377 [outgoingRequest] INFO c.a.c.c.Client - createSslContextFactory() no security context provided, setting trust all certificates
2020-11-30 14:50:32,380 [ccs-client-1] INFO c.a.c.c.Client - signin() About to create Active channel and connect
2020-11-30 14:50:32,380 [ccs-client-1] DEBUG c.a.c.c.Client - createAndConnectActiveChannel() to 10.0.7.120
2020-11-30 14:50:32,381 [ccs-client-1] INFO c.a.c.c.Channel - <init>() [Channel: 10.0.7.120 Role=ACTIVE State=DISCONNECTED]
2020-11-30 14:50:32,381 [ccs-client-1] INFO c.a.c.c.Client - onActiveChannelStateChanged() [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING] LastState=DISCONNECTED State=CONNECTING [Client ID:ccs-client-1,Server:10.0.7.120,IsConnected:false,AutoReconnect:false,State:DISCONNECTED,IsHa:false,IsHaOperational:false]
2020-11-30 14:50:32,383 [ccs-client-1] INFO c.a.c.c.Client - notify() UPDATE [Client ID:ccs-client-1,Server:10.0.7.120,IsConnected:false,AutoReconnect:false,State:CONNECTING,IsHa:false,IsHaOperational:false]
2020-11-30 14:50:32,383 [ccs-client-1] INFO c.a.c.j.ClientSessionExecutor - onClientEvent() Type:UPDATE
2020-11-30 14:50:32,384 [incomingEvent] DEBUG c.a.c.j.ClientEventTask - call() Type:UPDATE
2020-11-30 14:50:32,385 [JavaFX] INFO c.a.c.j.ClientEventTask - succeededHandler() ClientData: connected:false autoReconnect:false state:CONNECTING HA:false haOperational:false
2020-11-30 14:50:32,385 [JavaFX] INFO c.a.c.j.JavaFXRefClient - setConnectionState() new state = CONNECTING status = Red
2020-11-30 14:50:32,474 [ccs-client-1] INFO c.a.c.c.ProtocolHandler - <init>() URI is 'wss://10.0.7.120/IntegrationPortal/SessionHandler.ashx?Service=CCS'
2020-11-30 14:50:32,491 [ccs-client-1] DEBUG c.a.c.c.WebSocket - getStartedWebSocketClient() created web socket client, secure?true
2020-11-30 14:50:32,491 [ccs-client-1] DEBUG c.a.c.c.WebSocket - getStartedWebSocketClient() starting web socket client
2020-11-30 14:50:32,509 [ccs-client-1] INFO c.a.c.c.WebSocket - <init>() [WebSocket: WsClientState=STARTED WsSessionOpen?=false UUID=3f0742c0-7f03-4ded-9585-10f6d7105082 [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING]]
2020-11-30 14:50:32,509 [ccs-client-1] INFO c.a.c.c.WebSocket - connect() [WebSocket: WsClientState=STARTED WsSessionOpen?=false UUID=3f0742c0-7f03-4ded-9585-10f6d7105082 [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING]]
2020-11-30 14:50:35,485 [ccs-client-1] INFO c.a.c.c.ProtocolHandler - onConnect() [WebSocket: WsClientState=STARTED WsSessionOpen?=true UUID=3f0742c0-7f03-4ded-9585-10f6d7105082 [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING]]
2020-11-30 14:50:35,487 [ccs-client-1] DEBUG c.a.c.c.ProtocolHandler - sendGet() [ProtocolHandler [WebSocket: WsClientState=STARTED WsSessionOpen?=true UUID=3f0742c0-7f03-4ded-9585-10f6d7105082 [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING]]]
GET /Session?GetConfiguration&Profile=AgentDesktop&Application=JavaFxCcsReferenceClient&SDK=Java&Version=7.1.1.0+&Build=1+&Platform=Windows10_v10.0&Runtime=1.8.0_251-b08_x86_OracleCorporation&Language=ko-KR
2020-11-30 14:50:42,575 [ccs-client-1] INFO c.a.c.c.ProtocolHandler - onClose() [WebSocket: WsClientState=STARTED WsSessionOpen?=false UUID=3f0742c0-7f03-4ded-9585-10f6d7105082 [Channel: 10.0.7.120 Role=ACTIVE State=CONNECTING]], Status=1006 Reason=WebSocket Read EOF
2020-11-30 14:50:42,576 [ccs-client-1] INFO c.a.c.c.Client - onActiveChannelStateChanged() [Channel: 10.0.7.120 Role=ACTIVE State=DISCONNECTED] LastState=CONNECTING State=DISCONNECTED [Client ID:ccs-client-1,Server:10.0.7.120,IsConnected:false,AutoReconnect:false,State:CONNECTING,IsHa:false,IsHaOperational:false]
2020-11-30 14:50:42,576 [ccs-client-1] WARN c.a.c.c.Client - onActiveChannelStateChanged() DISCONNECTEDActive Channel disconnected. autoReconnect?=false applicationRequestedDisconnect?=false authenticationFailure?=false isHa?=false sslHandshakeFailure?=false unresolvedAddress?=false illegalUri?=false has exceeded maximum number of reconnect attempts?=false will attempt to reconnect?=false
2020-11-30 14:50:42,576 [ccs-client-1] DEBUG c.a.c.c.Client - deleteSessionAndNotify()
2020-11-30 14:50:42,577 [ccs-client-1] INFO c.a.c.c.Client - notify() ERROR [Client ID:ccs-client-1,Server:10.0.7.120,IsConnected:false,AutoReconnect:false,State:DISCONNECTED,IsHa:false,IsHaOperational:false] [Error ObjectType:Client,ID:null,Command:null,Code:1006,ErrorCode:NetworkError,Message:WebSocket Read EOF]
2020-11-30 14:50:42,577 [ccs-client-1] INFO c.a.c.j.ClientSessionExecutor - onClientEvent() Type:ERROR
2020-11-30 14:50:42,577 [ccs-client-1] ERROR c.a.c.j.ClientSessionExecutor - onClientEvent() error = [Error ObjectType:Client,ID:null,Command:null,Code:1006,ErrorCode:NetworkError,Message:WebSocket Read EOF] command=null
2020-11-30 14:50:42,577 [incomingEvent] DEBUG c.a.c.j.ClientEventTask - call() Type:ERROR
2020-11-30 14:50:42,578 [JavaFX] INFO c.a.c.j.ClientEventTask - succeededHandler() ClientData: connected:false autoReconnect:false state:DISCONNECTED HA:false haOperational:false
2020-11-30 14:50:42,578 [JavaFX] INFO c.a.c.j.JavaFXRefClient - setConnectionState() new state = DISCONNECTED status = Red
  • [Thumb - CCS Refclient.png]
[Disk] Download
FergusCameron [Avatar]
Joined: Apr 17, 2012
Messages: 131
Location: WI, USA
Offline
Yuck. Looks like the Websocket is unceremoniously closed on you. I would definitely ask servicing and support for an explanation or, at the very least the CCS logs. There may be clues there.

Fergus Cameron :: AVAYA :: DevConnect :: http://www.avaya.com/devconnect/
Go to:   
Mobile view