cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1534
Views
0
Helpful
3
Replies

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

jimciesla
Level 1
Level 1

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

      

      3 Replies 3

      jacoadam
      Level 5
      Level 5

      Hello James,

      Let me connect to the Lab so that I can test these cases. I will get back to you once I have worked through some testing.

      Thanks,
      Jacob

      Hello James,

      I can see that your 9.1 reservation has ended. Could you please reserve the lab for 5 days?

      Thanks,

      Jacob

      travwill
      Level 1
      Level 1

      Hi James,

      I was just able to connect using the Collab 10.5 lab. Here are the settings I used:

      var demoConfig = {

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

                      httpBindingURL: "https://10.10.20.17:7335/httpbinding", //the BOSH url for your server

                      unsecureAllowed: true

                  };

      I hope that helps,

      Travis WIlliams