Author |
Message |
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Hi All,
I already create an android application, after fill in AMM service I have to wait this service to be ready in few minutes(more than 5 minutes). Below the error/warning messaging :
Error Messages AvayaClientServices:
- CAMMWebsocketConnection[Connecting]:: OnDiscoveryTimeout(): Closing websocket connection.
- CAMMProvider[AMMProviderStateMachine:: DISCOVERY]::OnWebsocketSessionError(): TIMEOUT, Error Msg: Websocket discovery timed out
Warning Messages AvayaClientServices:
-CAMMProvider[AMMProviderStateMachine:: DISCOVERY] ::OnWebsocketSessionError(): Websocket failed to open during discovery keep going without websocket
Regards,
Riza
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
It should be a configuration issue. AMM server doesn't respond. Did you try to use AMM from another app?
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
I used both equinox windows and android no issue.
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
Did you use sample app for Android?
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Ya, I used it
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
Does it work on Sample app?
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Ya, it's works but have some bug. Have to wait more than 5 minutes to get AMM service ready and I can send message. I don't know how to solve this problem.
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
Could you please collect logs from sample app and I will check them to found an issue.
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
I've observed the issue. It is because Sample app tries to make connection using web socket, but it is failed and after timeout (5 min) it connects without web socket. I will ask developers how avoid this.
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Pavel_K wrote:Could you please collect logs from sample app and I will check them to found an issue.
Hi Pavel,
Attached the log messages:
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
It is required more investigation. I've raised a JIRA. I will inform you when I get solution.
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Thanks Pavel. Hopefully I get the good news, so I can solve this issue.
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
The cause is that CSDK does not have netty jar included in aar file.
Simplest solution for a client/sampleapp is to add:
compile 'io.netty:netty-all:4.1.0.Beta3'
This will be fixed in future release.
|
|
|
|
|
riza87
Joined: Sep 29, 2017
Messages: 39
Offline
|
Thanks Pavel for your reply. So I just add the jar in the my library project or I must waiting for the future release?
|
|
|
|
|
Pavel_K
Joined: Dec 20, 2016
Messages: 67
Offline
|
You can add this into your app and don't wait for future release. Then you can remove it.
|
|
|