[jdev] Issues in XMPP javascript libraries

Jonathan Dickinson jonathanD at k2.com
Mon Jul 7 05:32:30 CDT 2008


Hi Rohan,

I don't think you will need to troubleshoot anything if you connect to a BOSH capable server. Try that first and see if you have any luck...

From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:55 AM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries

Hi Jonathan,
                 Thanks a lot for your reply. You have cleared my confusion. Coming back to my first question, can anyone who has used XMPP4JS or JSJac know how to troubleshoot the issue.

-Rohan


On 7/7/08, Jonathan Dickinson <jonathanD at k2.com<mailto:jonathanD at k2.com>> wrote:

Hi Rohan,



BOSH is what Javascript libraries would use to communicate with a XMPP server (remember, Javascript cannot send raw data over the network, all comms must occur over HTTP).



What this means to you is that:

1.       No client set up is needed. The javascript libraries (should) include everything you need. They simply use a special kind of AJAX to communicate with the server.

2.       You need to find a server that supports BOSH connections. Maybe someone here is running one that does? You can try to connect to jabber.org<http://jabber.org/> and mabber or such should also have BOSH support.



Best of luck!



From: jdev-bounces at jabber.org<mailto:jdev-bounces at jabber.org> [mailto:jdev-bounces at jabber.org<mailto:jdev-bounces at jabber.org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev at jabber.org<mailto:jdev at jabber.org>
Subject: [jdev] Issues in XMPP javascript libraries



Hi All,

         I am new to the XMPP world, and have just started to learn it. I want to build a small web client that connects to xmpp servers, and allows the user to chat. For this I tried using both XMPP4JS and JSJac. In the sample client provided by both of these libraries I am getting exceptions.In JSJac, am getting-

An error occured:
Code: 503
Type: cancel
Condition: service-unavailable



And in XMPP4JS, i am getting the error-

There was an error(fatal=true): The error is not one of those defined herein; the connection manager SHOULD include application-specific information in the content of the wrapper.



What else do I need to configure. I am running the sample client under Apache. Also what exactly is BOSH, and what needs to be setup at client side to configure BOSH

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe at jabber.org<mailto:JDev-unsubscribe at jabber.org>
_______________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20080707/f037f1db/attachment-0002.htm>


More information about the JDev mailing list