" /> Cannot connect to ConfigLayer - Genesys CTI User Forum

Author Topic: Cannot connect to ConfigLayer  (Read 1244 times)

Offline Harifidy

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Cannot connect to ConfigLayer
« on: July 15, 2021, 07:08:57 AM »
Advertisement
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

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Cannot connect to ConfigLayer
« Reply #1 on: July 15, 2021, 08:31:08 AM »
Provided code does not seem like Genesys PSDK, but it looks like something own developed - in that case, we cannot help you on that

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Cannot connect to ConfigLayer
« Reply #2 on: July 16, 2021, 08:26:52 AM »
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