3 Replies Latest reply: Dec 7, 2017 11:02 AM by dekwan RSS

Custom Application is unable login into the 11.6 Finesse through JabberClient

mohidsheik

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 )