cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
725
Views
0
Helpful
5
Replies

Custom Application is unable login into the 11.6 Finesse through JabberClient

mohidsheik
Level 1
Level 1

Hi Team,

One of our application, which connects to Cisco Finesse 11.0 server and customized the CTI related features through JabberWERX.js using httpbind.


Recently they have upgraded to Finesse 11.6 and we fail to connect to finesse server ( BOSH/XMPP) and it says Remote connection failed. We already downloaded the certificate from finesse server and imported into our system. Tried searching a clue in the finesse log, but no luck. Btw, we don’t face any problem of login into standard finesse application which is absolutely working fine. Would be really appreciated for the quick responses.  Please note, this application is perfectly working in Finesse 11.0 or below.

Code Snippet,which connects the finesse server.

        let jabberId: string;

        let jwArgs: any;

        if (window.jabberwerx) {

jabberId = this.getJabberId();

jwArgs = {

httpBindingURL: AppConfig.Finesse[this.activeServer].binding,

//Calls this function callback on successful BOSH connection by the

//JabberWerx library.

errorCallback: (data: any) => {

this.onJabberClientError(data);

},

successCallback: (data: any) => {

this.onJabberClientSuccess(data);

}

};

window.jabberwerx._config.unsecureAllowed = true;

this.jwClient.event('messageReceived').bindWhen('event[xmlns="http://jabber.org/protocol/pubsub#event"] items item notification', (data: any) => {

this.onJabberEventHandler(data);

});

this.jwClient.event('clientStatusChanged').bind((data: any) => {

this.onJabberClientStatusChanged(data);

});

this.jwClient.connect(jabberId, this.userInfo.Password, jwArgs);

Please find attached debugger logs /errors while attempting to connect to Finesse server. XMPP ( jwclient.connect )

 

5 Replies 5

dekwan
Cisco Employee
Cisco Employee

Hi,

I don't see any attached errors as you stated in your message.

You say that you have customized the CTI related features through JabberClient.js. I am not familiar with the JabberClient.js as it is not a Finesse library. Also, you say "fail to connect to cisco server", which cisco server are you trying to connect to?

Thanx,

Denise

We are connecting to the finesse server   ( XMPP/BOSH) to get events.  I have included the code snippet as well as the error message returned.

Thanks

Hi,

I think it might be due to the new security standards that were in place post 11.0. In 11.6, by default, the notification service is using TLS 1.2. You may need to change the security settings that you are using to connect to the Finesse notification service.

Thanx,

Denise

Can you suggest me how to change the security settings that use to connect to the Finesse notification service. 

I use jabberwerx library to connect xmpp service.

 

Any code snippets?

 

 

Hi Daniel,

Take a look at the nongadgetsample (https://github.com/CiscoDevNet/finesse-sample-code/tree/master/NonGadgetSample). You will download the 11.0 version. If I am remembering correctly, the Finesse team verified that this sample works with 11.6.

Thanx,
Denise
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: