3 Replies Latest reply on Feb 25, 2015 2:54 PM by travwill

    How to hook Jabber SDK basic-chat demo to Devnet Sandbox?

    jimciesla

      I recently was attempting to hook the Jabber SDK Basic Chat Demo into a Devnet Sandbox. I performed the steps outlined below:

       

      1. Reserved "Collaboration 9.1 Lab" environment.
      2. Received 3 emails as follows:
        • Reservation 'Collaboration 9.1 Lab' started at ....
        • DevNet Sandbox Lab is Being Configured
        • DevNet Sandbox Lab Available    
      3. The last email, "DevNet Sandbox Lab Available" provides a link https://64.103.37.21/rave01 which will launch or install Cisco Anyconnect VPN client as well as credentials. I installed Cisco Anyconnect VPN and connected with the provided credentials.
      4. I then attempt to run both the basic-chat.html and basicChatDemo.html. For the username and password I use user01/cisco1234 and user02/cisco1234 as provided here https://devnetsandbox.cisco.com/Docs/Collaboration_10.5/DedicatedLab10.pdf
      5. The code in the sdk samples specifies the domain and BOSH url as:

         var demoConfig = {

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

                      httpBindingURL: "http://cup02:7335/httpbinding", //the BOSH url for your server

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

       

      When I run the sample code I get "Could not connect: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>".  Per other discussions I also tried httpBindingURL: http://cup.psdtemea.cisco.com:7335/httpbinding and  http://10.10.20.17:7335/httpbinding. I tried pinging these as well without success. Any suggestions would be greatly appreciated.


      Thx