Re: jaxl with Cisco IM&P

57 views
Skip to first unread message

Martin Sloan

unread,
Apr 26, 2013, 12:05:14 PM4/26/13
to ja...@googlegroups.com
I get the same thing with the echo_bosh_bot example.  Here is some additional output from the client

jaxl_fsm:71 - 2013-04-26 16:01:49 - current state 'wait_for_stream_features'
xep_0206:132 - 2013-04-26 16:01:49 - recving for 1794
xep_0206:144 - 2013-04-26 16:02:17 - recvd for 1794 <body xmlns='http://jabber.org/protocol/httpbind' xmlns:stream='http://etherx.jabber.org/streams'/>
xep_0206:109 - 2013-04-26 16:02:17 - posting to http://172.16.220.13:7335/httpbinding body <body xmlns="http://jabber.org/protocol/httpbind" sid="932807451C" rid="1795"></body>

It continues to post and receive as above

On Friday, April 26, 2013 10:06:27 AM UTC-4, Martin Sloan wrote:
I'm setting up a jaxl client to connect with a Cisco IM & Presence server.  I have a successful authentication after tweaking the echo_bot.php example but my 'on_auth_success' function doesn't get called.  Here is the post/response:

xep_0206:109 - 2013-04-26 13:47:41 - posting to http://10.1.10.10:7335/httpbinding body <body sid="804A8CB96A" rid="9808" xmlns="http://jabber.org/protocol/httpbind"><auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">AG1zbG9hbgBTbDB3aGFuRA==</auth></body>
jaxl_fsm:71 - 2013-04-26 13:47:41 - current state 'wait_for_sasl_response'
xep_0206:132 - 2013-04-26 13:47:41 - recving for 9808
xep_0206:144 - 2013-04-26 13:47:42 - recvd for 9808 <body xmlns='http://jabber.org/protocol/httpbind' xmlns:stream='http://etherx.jabber.org/streams'><success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/></body>

I'm a noob to BOSH/[cj]axl so please let me know if you need more detail.

Thanks,
Marty

Srey pov Cheng

unread,
Apr 27, 2013, 10:23:17 PM4/27/13
to ja...@googlegroups.com


--
Documentation: http://jaxl.readthedocs.org/en/latest/index.html
Create a bug/issue: https://github.com/abhinavsingh/JAXL/issues/new
 
You received this message because you are subscribed to the Google Groups jaxl group. To post to this group, send email to ja...@googlegroups.com. To unsubscribe from this group, send email to jaxl+uns...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/jaxl?hl=en-US
---
You received this message because you are subscribed to the Google Groups "jaxl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaxl+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Martin Sloan

unread,
May 15, 2013, 4:59:22 PM5/15/13
to ja...@googlegroups.com
pov,

thanks for the help.  It didn't solve my issue but I'm just getting back into trying this again.  I'm able to see now that my progress gets stuck inside of $client->start.  When I hit this:

<code>
                        while(sizeof($this->trans->chs) != 0) {
                                        $this->trans->recv();
                                }
</code>

I never pull out of it and I'm not sure why.  Anyone have any ideas on how to get past this?  I can see on the BOSH server logs I have successful authentication, but I'm stuck here.

Thanks
Reply all
Reply to author
Forward
0 new messages