cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Basic Jabber Chat Demo - Access Denied

tmgordon03
Level 1
Level 1

I wanted to go through a few of the example pages supplied by Cisco as I will be creating an offline status page that stores last known Jabber status in a database. Our receptionists need to be able to see what somebodies custom status was before they logged off (something like "leaving early, be back tomorrow at 8AM" is much more helpful than "offline"). Anyway, that's irrelevant to my issue I suppose.

https://developer.cisco.com/site/jabber-websdk/learn/im-and-presence-how-to/use-jabber-im-core-apis/

I changed all of this info to match my server settings:

var demoConfig = {

  domain: "domain.com", //the domain specified for your CUP server

  httpBindingURL: "https://cups-02.domain.com:7335/httpbinding/", //the BOSH url for your server

  unsecureAllowed: false //unsecureAllowed should be true if plaintext authentication is allowed over unencrypted or unsecured HTTP channels

  };

  jabberwerx._config.unsecureAllowed = demoConfig.unsecureAllowed;  // Tries both true and false here

  jabberwerx._config.httpBindingURL = demoConfig.httpBindingURL;

I can get to the http binding URL successfully:

This URI is for XMPP communication via the BOSH protocol.

Please reference the following protocols:

•RFC 3920: Extensible Messaging and Presence Protocol (XMPP): Core

•RFC 3921: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence

•XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH)

•XEP-0206: XMPP Over BOSH

The error I get on the webpage shows:

Log:

Could not connect: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>

The error in the console shows:

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.

index.html

network timeout retry 1

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.

index.html

network timeout retry 2

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.

index.html

network timeout retry 3

closed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>

Let me know what you think. The username and password is correct. I have tried a few different users, including standard users and administrators.

Who Me Too'd this topic