07-08-2014 11:43 AM
Hi,
According to https://developer.cisco.com/site/collaboration/jabber/websdk/learn/im-and-presence-how-to/use-jabber-im-core-apis/ I can get info for two "jabber sandbox" user accounts via email. Who/where should I request these accounts from?
Thank you,
Alex
07-09-2014 10:24 AM
Hi Alex,
If you go to devNet sandbox here, https://devnetsandbox.cisco.com
Please let me know if you have any question
Regards,
Howard
07-09-2014 10:54 AM
Thank you for the info, Howard.
So I can navigate to the XMPP server now on my reserved lab and it gives me back the following:
This URI is for XMPP communication via the BOSH protocol.
Please reference the following protocols:
RFC 3920<http://xmpp.org/rfcs/rfc3920.html>: Extensible Messaging and Presence Protocol (XMPP): Core
RFC 3921<http://xmpp.org/rfcs/rfc3921.html>: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
XEP-0124<http://xmpp.org/extensions/xep-0124.html>: Bidirectional-streams Over Synchronous HTTP (BOSH)
XEP-0206<http://xmpp.org/extensions/xep-0206.html>: XMPP Over BOSH
This looks good. After reserving the instance I received two user-related credential sets - one for VPN access, the other is for connecting to the allocated device. I am guessing, I would use the latter to experiment with the XMPP server and jabber sample code. Assuming this is correct, I would expect the XMPP server accept the these credentials. Instead it produces an error to the tune of
When I use them to run the sample from the following page: https://developer.cisco.com/site/collaboration/jabber/websdk/learn/im-and-presence-how-to/use-jabber-im-core-apis/
For the sake of it I have also tried to use the credentials that grant VPN access with the same result. So, it looks like the user/pass pair sent to me after reservation is not valid. Is this something you can help me to figure out or someone else or perhaps you can point me at some info to read that would help me figure this out?
Thank you very much,
Alex
07-09-2014 11:03 AM
Hi Alex,
The only thing you have to change from that page will be the BOSH URL. The BOSH url information should be in the email that you received I believe.
var
demo_config = {
domain:
"psdtemea.cisco.com"
,
unsecureAllowed:
true
,
httpBindingURL:
"http://cup.psdtemea.cisco.com:7335/httpbinding"
}
Give it a try with above setting and login with your account.
If you are still having issue, bring up the browser console logs (F12) post it here.
Regards,
Howard
07-09-2014 11:39 AM
Yes, Howard, I have been using the server name that came with the email. It is the same name that you have in your code below. Needless to say, pasting your code into the demo html didn't yield anything different. The server still rejects the user/pass pair I received in email.
Is there a way to cancel my current lab reservation and repeat the process and make another reservation? Though, the server is clearly there, it just doesn't like the user/pass pair I'm giving it.
Thanks,
Alex
07-09-2014 12:05 PM
Could you please provide me your username to me? Let me check on the server to see what happened.
Howard
07-09-2014 12:11 PM
Here you go
un/pass:abilyk/cisco1234
Alex
07-10-2014 02:53 PM
For some reason the auto generated account didn't get to assign to CUP server.
I have manually added it and tested to make sure it's working fine now.
Please give it a try.
Regards,
Howard
11-20-2014 04:51 AM
Hi ,
Could you do same for me too. I have not received the automated mail.
Thanks,
Gulab
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide