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

Custom Application is unable login into the 11.6 Finesse through JabberClient

mohidsheik
Beginner
Beginner

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