PDA

View Full Version : [jdev] Issues in XMPP javascript libraries


Rohan Shah
07-07-2008, 10:24 AM
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 (DOT) org
_______________________________________________

Jonathan Dickinson
07-07-2008, 10:47 AM
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 and mabber or such should also have BOSH support.

Best of luck!

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev (AT) jabber (DOT) 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 (DOT) org
_______________________________________________

Rohan Shah
07-07-2008, 10:56 AM
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 (DOT) 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 and mabber or such should also have BOSH support.
>
>
>
> Best of luck!
>
>
>
> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
> Behalf Of *Rohan Shah
> *Sent:* 07 July 2008 10:23 AM
> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________

Jonathan Dickinson
07-07-2008, 12:35 PM
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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) com<mailto:jonathanD (AT) k2 (DOT) 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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev (AT) jabber (DOT) org<mailto:jdev (AT) jabber (DOT) 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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________


_______________________________________________
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 (DOT) org
_______________________________________________

Rohan Shah
07-07-2008, 01:17 PM
Hi Jonathan,

i got this msg when i tried connecting to gmail.com. I believe gmail is BOSH
capable server. Or is it not?

-Rohan


On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>
> 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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) 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 and mabber or such should also have BOSH support.
>
>
>
> Best of luck!
>
>
>
> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
> Behalf Of *Rohan Shah
> *Sent:* 07 July 2008 10:23 AM
> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
> _______________________________________________
>
>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________

Jonathan Dickinson
07-07-2008, 01:21 PM
Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google extension to XMPP). Try another server... I am not even entirely sure if GTalk does support the actual XEP, it might be a home-grown implementation (still BOSH, but not as per the XEP).

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of Rohan Shah
Sent: 07 July 2008 01:15 PM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries

Hi Jonathan,

i got this msg when i tried connecting to gmail.com<http://gmail.com>. I believe gmail is BOSH capable server. Or is it not?

-Rohan


On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com<mailto:jonathanD (AT) k2 (DOT) com>> wrote:

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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) com<mailto:jonathanD (AT) k2 (DOT) 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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev (AT) jabber (DOT) org<mailto:jdev (AT) jabber (DOT) 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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________



_______________________________________________
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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________


_______________________________________________
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 (DOT) org
_______________________________________________

Jonathan Dickinson
07-07-2008, 01:37 PM
Hi Rohan,

You could look at the following page: http://www.butterfat.net/wiki/Projects/PunJab

He also has a running demo at chesspark.com, although I am not sure about the address you should connect to...

You *should* also try mabber. I would be almost certain that it has BOSH support.

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of Jonathan Dickinson
Sent: 07 July 2008 01:19 PM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries

Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google extension to XMPP). Try another server... I am not even entirely sure if GTalk does support the actual XEP, it might be a home-grown implementation (still BOSH, but not as per the XEP).

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of Rohan Shah
Sent: 07 July 2008 01:15 PM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries

Hi Jonathan,

i got this msg when i tried connecting to gmail.com<http://gmail.com>. I believe gmail is BOSH capable server. Or is it not?

-Rohan


On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com<mailto:jonathanD (AT) k2 (DOT) com>> wrote:

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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) com<mailto:jonathanD (AT) k2 (DOT) 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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev (AT) jabber (DOT) org<mailto:jdev (AT) jabber (DOT) 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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________



_______________________________________________
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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________


_______________________________________________
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 (DOT) org
_______________________________________________

Rohan Shah
07-07-2008, 01:38 PM
I get what you are saying. But right now I also tried jabber.org id too.
Still throwing the same error. any ideas on alternative to this javascript
XMPP library?

On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>
> Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google
> extension to XMPP). Try another server... I am not even entirely sure if
> GTalk does support the actual XEP, it might be a home-grown implementation
> (still BOSH, but not as per the XEP).
>
>
>
> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
> Behalf Of *Rohan Shah
> *Sent:* 07 July 2008 01:15 PM
> *To:* Jabber/XMPP software development list
> *Subject:* Re: [jdev] Issues in XMPP javascript libraries
>
>
>
> Hi Jonathan,
>
>
>
> i got this msg when i tried connecting to gmail.com. I believe gmail is
> BOSH capable server. Or is it not?
>
>
>
> -Rohan
>
>
>
> On 7/7/08, *Jonathan Dickinson* <jonathanD (AT) k2 (DOT) com> wrote:
>
> 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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) 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 and mabber or such should also have BOSH support.
>
>
>
> Best of luck!
>
>
>
> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
> Behalf Of *Rohan Shah
> *Sent:* 07 July 2008 10:23 AM
> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
> _______________________________________________
>
>
>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________

Christopher Zorn
07-07-2008, 03:21 PM
On Mon, Jul 7, 2008 at 7:36 AM, Rohan Shah <rohans84 (AT) gmail (DOT) com> wrote:

> I get what you are saying. But right now I also tried jabber.org id too.
> Still throwing the same error. any ideas on alternative to this javascript
> XMPP library?
>

You can try strophe.
http://metajack.wordpress.com/2008/06/30/strophe-preview-xmpp-in-javascript/



>
>
> On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>>
>> Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google
>> extension to XMPP). Try another server... I am not even entirely sure if
>> GTalk does support the actual XEP, it might be a home-grown implementation
>> (still BOSH, but not as per the XEP).
>>
>>
>>
>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>> Behalf Of *Rohan Shah
>> *Sent:* 07 July 2008 01:15 PM
>> *To:* Jabber/XMPP software development list
>> *Subject:* Re: [jdev] Issues in XMPP javascript libraries
>>
>>
>>
>> Hi Jonathan,
>>
>>
>>
>> i got this msg when i tried connecting to gmail.com. I believe gmail is
>> BOSH capable server. Or is it not?
>>
>>
>>
>> -Rohan
>>
>>
>>
>> On 7/7/08, *Jonathan Dickinson* <jonathanD (AT) k2 (DOT) com> wrote:
>>
>> 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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) 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 and mabber or such should also have BOSH support.
>>
>>
>>
>> Best of luck!
>>
>>
>>
>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>> Behalf Of *Rohan Shah
>> *Sent:* 07 July 2008 10:23 AM
>> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
>> _______________________________________________
>>
>>
>>
>>
>> _______________________________________________
>> 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 (DOT) org
>> _______________________________________________
>>
>>
>>
>> _______________________________________________
>> 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 (DOT) org
>> _______________________________________________
>>
>>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________

Jonathan Dickinson
07-07-2008, 04:32 PM
This is slightly OT but wouldn't a compatibility matrix be nice?

E.g. Rohan comes in and sees that XMPP4JS and JSJac don't seem to be working with GTalk and j.o, he reports it and the compatibility matrix is updated.. This way 'end-user developers' would be able to see which libraries work where (and which ones are working nearly everywhere) and 'library developers' would get good feedback about their libraries (and would be encouraged to keep the compatibility high).

From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of Christopher Zorn
Sent: 07 July 2008 03:20 PM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries


On Mon, Jul 7, 2008 at 7:36 AM, Rohan Shah <rohans84 (AT) gmail (DOT) com<mailto:rohans84 (AT) gmail (DOT) com>> wrote:
I get what you are saying. But right now I also tried jabber.org<http://jabber.org> id too. Still throwing the same error. any ideas on alternative to this javascript XMPP library?

You can try strophe. http://metajack.wordpress.com/2008/06/30/strophe-preview-xmpp-in-javascript/



On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com<mailto:jonathanD (AT) k2 (DOT) com>> wrote:

Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google extension to XMPP). Try another server... I am not even entirely sure if GTalk does support the actual XEP, it might be a home-grown implementation (still BOSH, but not as per the XEP).



From: jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 01:15 PM

To: Jabber/XMPP software development list
Subject: Re: [jdev] Issues in XMPP javascript libraries



Hi Jonathan,



i got this msg when i tried connecting to gmail.com<http://gmail.com/>. I believe gmail is BOSH capable server. Or is it not?



-Rohan



On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com<mailto:jonathanD (AT) k2 (DOT) com>> wrote:

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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) com<mailto:jonathanD (AT) k2 (DOT) 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 (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org> [mailto:jdev-bounces (AT) jabber (DOT) org<mailto:jdev-bounces (AT) jabber (DOT) org>] On Behalf Of Rohan Shah
Sent: 07 July 2008 10:23 AM
To: jdev (AT) jabber (DOT) org<mailto:jdev (AT) jabber (DOT) 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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________



_______________________________________________
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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________



_______________________________________________
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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________


_______________________________________________
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 (DOT) org<mailto:JDev-unsubscribe (AT) jabber (DOT) org>
_______________________________________________


_______________________________________________
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 (DOT) org
_______________________________________________

Peter Saint-Andre
07-07-2008, 05:06 PM
Rohan Shah wrote:
> I get what you are saying. But right now I also tried jabber.org
> <http://jabber.org> id too. Still throwing the same error.

The jabber.org server does not yet support BOSH, but we'll be adding
support soon.

> any ideas on
> alternative to this javascript XMPP library?

There is also strophe.js.

/psa

_______________________________________________
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 (DOT) org
_______________________________________________

Rohan Shah
07-08-2008, 06:43 AM
Christopher,
Thanks for your suggestion. In the link however, only the preview
version of Strophe is available. Is that enough. And do we have some sample
html page which uses this library to connect and chat with xmpp based
servers like gtalk.

-Rohan


On 7/7/08, Christopher Zorn <christopher.zorn (AT) gmail (DOT) com> wrote:
>
>
>
> On Mon, Jul 7, 2008 at 7:36 AM, Rohan Shah <rohans84 (AT) gmail (DOT) com> wrote:
>
>> I get what you are saying. But right now I also tried jabber.org id too.
>> Still throwing the same error. any ideas on alternative to this javascript
>> XMPP library?
>>
>
> You can try strophe.
> http://metajack.wordpress.com/2008/06/30/strophe-preview-xmpp-in-javascript/
>
>
>
>>
>>
>> On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>>>
>>> Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google
>>> extension to XMPP). Try another server... I am not even entirely sure if
>>> GTalk does support the actual XEP, it might be a home-grown implementation
>>> (still BOSH, but not as per the XEP).
>>>
>>>
>>>
>>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>>> Behalf Of *Rohan Shah
>>> *Sent:* 07 July 2008 01:15 PM
>>> *To:* Jabber/XMPP software development list
>>> *Subject:* Re: [jdev] Issues in XMPP javascript libraries
>>>
>>>
>>>
>>> Hi Jonathan,
>>>
>>>
>>>
>>> i got this msg when i tried connecting to gmail.com. I believe gmail is
>>> BOSH capable server. Or is it not?
>>>
>>>
>>>
>>> -Rohan
>>>
>>>
>>>
>>> On 7/7/08, *Jonathan Dickinson* <jonathanD (AT) k2 (DOT) com> wrote:
>>>
>>> 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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) 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 and mabber or such should also have BOSH support.
>>>
>>>
>>>
>>> Best of luck!
>>>
>>>
>>>
>>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>>> Behalf Of *Rohan Shah
>>> *Sent:* 07 July 2008 10:23 AM
>>> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
>>> _______________________________________________
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 (DOT) org
>>> _______________________________________________
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 (DOT) org
>>> _______________________________________________
>>>
>>>
>>
>>
>> _______________________________________________
>> 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 (DOT) org
>> _______________________________________________
>>
>>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________

Peter Saint-Andre
07-08-2008, 05:09 PM
Rohan Shah wrote:
> Christopher,
> Thanks for your suggestion. In the link however, only the
> preview version of Strophe is available. Is that enough. And do we have
> some sample html page which uses this library to connect and chat with
> xmpp based servers like gtalk.

It's probably in use here:

http://www.speeqe.com/

/psa

_______________________________________________
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 (DOT) org
_______________________________________________

Christopher Zorn
07-08-2008, 06:10 PM
On Tue, Jul 8, 2008 at 12:42 AM, Rohan Shah <rohans84 (AT) gmail (DOT) com> wrote:

> Christopher,
> Thanks for your suggestion. In the link however, only the preview
> version of Strophe is available. Is that enough. And do we have some sample
> html page which uses this library to connect and chat with xmpp based
> servers like gtalk.
>
>

There is not currently a tutorial or example page but it is used at
http://www.chesspark.com and http://www.speeqe.com

Examples and other documentation are on the way.

-Rohan
>
>
> On 7/7/08, Christopher Zorn <christopher.zorn (AT) gmail (DOT) com> wrote:
>>
>>
>>
>> On Mon, Jul 7, 2008 at 7:36 AM, Rohan Shah <rohans84 (AT) gmail (DOT) com> wrote:
>>
>>> I get what you are saying. But right now I also tried jabber.org id too.
>>> Still throwing the same error. any ideas on alternative to this javascript
>>> XMPP library?
>>>
>>
>> You can try strophe.
>> http://metajack.wordpress.com/2008/06/30/strophe-preview-xmpp-in-javascript/
>>
>>
>>
>>>
>>>
>>> On 7/7/08, Jonathan Dickinson <jonathanD (AT) k2 (DOT) com> wrote:
>>>>
>>>> Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google
>>>> extension to XMPP). Try another server... I am not even entirely sure if
>>>> GTalk does support the actual XEP, it might be a home-grown implementation
>>>> (still BOSH, but not as per the XEP).
>>>>
>>>>
>>>>
>>>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>>>> Behalf Of *Rohan Shah
>>>> *Sent:* 07 July 2008 01:15 PM
>>>> *To:* Jabber/XMPP software development list
>>>> *Subject:* Re: [jdev] Issues in XMPP javascript libraries
>>>>
>>>>
>>>>
>>>> Hi Jonathan,
>>>>
>>>>
>>>>
>>>> i got this msg when i tried connecting to gmail.com. I believe gmail is
>>>> BOSH capable server. Or is it not?
>>>>
>>>>
>>>>
>>>> -Rohan
>>>>
>>>>
>>>>
>>>> On 7/7/08, *Jonathan Dickinson* <jonathanD (AT) k2 (DOT) com> wrote:
>>>>
>>>> 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 (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) 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 (DOT) 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 and mabber or such should also have BOSH support.
>>>>
>>>>
>>>>
>>>> Best of luck!
>>>>
>>>>
>>>>
>>>> *From:* jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] *On
>>>> Behalf Of *Rohan Shah
>>>> *Sent:* 07 July 2008 10:23 AM
>>>> *To:* jdev (AT) jabber (DOT) 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 (DOT) org
>>>> _______________________________________________
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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 (DOT) org
>>>> _______________________________________________
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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 (DOT) org
>>>> _______________________________________________
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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 (DOT) org
>>> _______________________________________________
>>>
>>>
>>
>> _______________________________________________
>> 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 (DOT) org
>> _______________________________________________
>>
>>
>
> _______________________________________________
> 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 (DOT) org
> _______________________________________________
>
>

_______________________________________________
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 (DOT) org
_______________________________________________