Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: newsG on December 02, 2021, 02:03:15 PM

Title: PSDK: Cannot connect to the configuration server
Post by: newsG on December 02, 2021, 02:03:15 PM
I would like to connect configuration server but I got the error message: "Application not found"

Coding is very simple as below:

[quote]ConfServerProtocol confServerProtocol = new ConfServerProtocol(new Endpoint(uri));
confServerProtocol.ClientApplicationType = (int)CfgAppType.CFGAgentDesktop;
confServerProtocol.ClientName = "ClientName";
confServerProtocol.UserName = "myusername;
confServerProtocol.UserPassword = "mypassword";

confServerProtocol.Open();[/quote]

Platform SDK version is 9.0.x, any idea how to fix this problem?

Thanks in advance
Title: Re: PSDK: Cannot connect to the configuration server
Post by: hsujdik on December 02, 2021, 03:23:12 PM
Does this application "ClientName" exist on Configuration Server (eg, configured by Configuration Manager, GAX or GA)?

If it does, is it associated with an application template with the Type of "Agent Desktop"?

Is the user "myusername" assigned to an Access Group that has READ permissions on that applicaiton?
Title: Re: PSDK: Cannot connect to the configuration server
Post by: cavagnaro on December 02, 2021, 04:54:21 PM
Good idea is to ask for CfgServer logs so you can see exactly why the error.

Title: Re: PSDK: Cannot connect to the configuration server
Post by: newsG on December 03, 2021, 04:45:57 AM
Many thanks for your help. I can fix the problem by change application name.
It doesn't exist on configuration server.