XMPP over BOSH

153 views
Skip to first unread message

djie

unread,
Jun 22, 2012, 12:46:48 PM6/22/12
to jabber-net
I was wondering whether Jabber-Net support XMPP over BOSH (XEP-206)?

Joe Hildebrand

unread,
Jun 22, 2012, 1:20:32 PM6/22/12
to jabbe...@googlegroups.com
Yes.  It should work.

-- 
Joe Hildebrand



On Jun 22, 2012, at 10:46 AM, djie wrote:

I was wondering whether Jabber-Net support XMPP over BOSH (XEP-206)?

--
You received this message because you are subscribed to the Google Groups "jabber-net" group.
To post to this group, send email to jabbe...@googlegroups.com.
To unsubscribe from this group, send email to jabber-net+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jabber-net?hl=en.


djie

unread,
Jun 25, 2012, 7:09:28 PM6/25/12
to jabbe...@googlegroups.com
Hi Joe,

I uses version 2.1.0.710, and try the Example. I can't connect to our ejabberd server.

Below is the debug logs:

SEND: Psuedo-stream body
SEND: POST /http-bind/ HTTP/1.1
Host: cp01001.uc.tsdlab.tais.com
Content-Type: text/xml; charset=utf-8
Content-Length: 170

<body content="text/xml; charset=utf-8" to="cp01001.uc.tsdlab.tais.com" wait="60" hold="5" xml:lang="en-US" rid="205571258" xmlns="http://jabber.org/protocol/httpbind" />
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="410262106" xmlns="jabber:client" version="1.0">
SEND: POST /http-bind/ HTTP/1.1
Host: cp01001.uc.tsdlab.tais.com
Content-Type: text/xml; charset=utf-8
Content-Length: 115

<body sid="152a72dbc5b414f3418d2b31416fa2971e417ef2" rid="205571259" xmlns="http://jabber.org/protocol/httpbind" />
SEND: POST /http-bind/ HTTP/1.1
Host: cp01001.uc.tsdlab.tais.com
Content-Type: text/xml; charset=utf-8
Content-Length: 115

<body sid="152a72dbc5b414f3418d2b31416fa2971e417ef2" rid="205571260" xmlns="http://jabber.org/protocol/httpbind" />
 
It seems that the first post message from the client is missing "xmpp:version="1.0""

When I manually added the attribute, it will go a bit further. It passes authentication, but it fails at setting the resources. It seems that it is not sending xmpp:restart="true" before setting the resource.

Do you know what I miss?

By the way, I use Visual Studio 2008.

/Djie

--------------------

On Friday, June 22, 2012 10:20:32 AM UTC-7, Joe Hildebrand wrote:
Yes.  It should work.

-- 
Joe Hildebrand



On Jun 22, 2012, at 10:46 AM, djie wrote:

I was wondering whether Jabber-Net support XMPP over BOSH (XEP-206)?

--
You received this message because you are subscribed to the Google Groups "jabber-net" group.
To post to this group, send email to jabbe...@googlegroups.com.
To unsubscribe from this group, send email to jabber-net+unsubscribe@googlegroups.com.

Cristian

unread,
Mar 24, 2014, 8:38:09 AM3/24/14
to jabbe...@googlegroups.com
Yes.  It should work.

-- 
Joe Hildebrand



To unsubscribe from this group, send email to jabber-net+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/jabber-net?hl=en.
I have the same problem, how did you add the attribute ?

Thanks 
Reply all
Reply to author
Forward
0 new messages