cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6496
Views
4
Helpful
51
Replies

Jabber + Sandbox - where to begin

mark.kilby
Level 1
Level 1

Hi

 

Am trying to get the Jabber demo going using a sandbox environment for CUPS.

 

E.g. as explained here: Video: Use the Jabber IM Core APIs - Cisco Developer Community

 

I've successfully got connected to a sandbox environment "Collaboration 10.5 Lab" over the VPN per supplied in the email.

 

Scenario as follows:

  • Local web server running on my machine
  • Demo jabber application is deployed to this local web server
  • Proxy configured to relay Jabber requests from my web server to sandbox
  • VPN sandbox connection established with CUPS in the environment

 

In the 'sandbox server view' I can see a server that suggests it looks like the CUPS host (hq-cups.abc.inc).

 

When I run the web application up and try to login I get an exception.

 

First issue is I don't have any user IDs for Jabber - documented suggests a set would be emailed to me but obviously not.

 

Secondly I'm unsure the configuration for the host is configured correctly:

 

Inside "basic-chat.html" I have:

var demoConfig = {

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

httpBindingURL: "http://localhost:8080/httpbinding", //the BOSH url for your server

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

};

 

On my proxy I'm forwarding anything mathing 'httpbinding' to this endpoint:

http://hq-cups.abc.inc:7335/httpbinding

 

Am pretty certain the proxy is working because I can issue REST requests to a separate server we have on our site.

 

Appreciate any help here. As I've run out of things to try.

 

Regards,

Mark.

51 Replies 51

HI Joseph ,

Can you help with a similar issue.

I have not receivd my auto generated jabber id.

Thanks,

Gulab

Hi,

Are you accessing the Shared Endpoint lab?

Joe

OK, I can see that you have accessed the Shared Endpoint lab.

Let me check on your account and get back to you.

Joe

Hi,

Thanks for the prompt response.

Gulab

Hi,

I just sent an email to the address associated with your Devnet Sandbox Account. Can you reply to it? Just want to make sure the email is correct for your account.

Joe

Hi ,

Got your email. It is the correct email address.

Have replied to it.

Thanks

Thanks I received that.

What device type are you selecting in the topology page?

Joe

Cisco Jabber SDK for Web

I have tested the functionality and it works as normal.

Has this worked for you in the past or is this your first time accessing the Sandbox?

Joe

This is the first time I am accessing it.

OK. Let me check the UC servers for your details and get back to you.

Joe

Hi Joesph,

Did you check the UC server. I am getting error " Invalid user name or password."


Hi,

The servers are functioning correctly. what device are you logging into? I understood that did you did not receive login details.

Joseph

Hi,

I did receive them later but  now when i try to lgoin using them. I get Invalid user name or password..

I am using this demo code : https://developer.cisco.com/site/jabber-websdk/learn/im-and-presence-how-to/use-jabber-im-ui-components/

I tried couple of other demo codes provided by cisco but got same error.


ok,

We are now checking on the scripting. There my be a problem with the CUCM/CUP sync.

I will create a user manually for you if this cannot be resolved soon.

Joe