Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Harifidy on July 15, 2021, 07:08:57 AM
-
Hi.
I don't know what is wrong in my code, but I can't connect to ConfigLayer.
ConfigLayer conf= new ConfigLayer(appName,host,port,user,passwd);
conf.Connect
I get an error " Operation is not allowed on non closed channel"
Tnak you
-
Provided code does not seem like Genesys PSDK, but it looks like something own developed - in that case, we cannot help you on that
-
Do you have access to the source of ConfigLayer class, is that wrapping genesys PSDK?
Maybe it connects upon instantiation, I had the same error message when I toyed around with PSDK and simulated interrupting an established connection.
When signal path was restored the reconnect refused with this error message. I assume because mgmt layer already had a record of an established connection for the app in question although network path had been interrupted.
Second reconnect attempt was however accepted, I assume that the original connection had been invalidated.
The app you are naming in the instantiation; is that a custom one, registered as 'stopped' in mgmt when you perform the connect attempt?
Br
Skickat från min Mi MIX 3 5G via Tapatalk