Hi all, anyone can confirm xwchat doesn't work with jabberd2? I have no issues with gajim or meebo connecting to my server but xwchat just doesn't work, shows the user as offline.
Any feedback is appreciated

CommentFileSizeAuthor
#11 xwchat.PNG27.59 KBprhavile
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darren.ferguson’s picture

I have never used jabberd2 however if it has an http-poll or http-bind interface then it should be able to support the xwchat client.

Also does your web server have the relevant re-directs so that the http-bind or poll request is being sent to the proper interface on jabberd2?

It will not be port 5222 as in regular thick clients.

iwkse’s picture

I think the issue is with jabberd2 not supporting http binding. I've checked and it doesn't support. I wonder how meebo does since it's a web client and it works with my server.
I've also found a php class that implements jabber client and it also works. In the end i think i'll use this class.

iwkse’s picture

I think the issue is with jabberd2 not supporting http binding. I've checked and it doesn't support. I wonder how meebo does since it's a web client and it works with my server.
I've also found a php class that implements jabber client and it also works. In the end i think i'll use this class.

rg2’s picture

What is meant by http-bind or http-poll?

Thanks in advance

darren.ferguson’s picture

http-poll regards an implementation of XEP-0025 http://www.xmpp.org/extensions/xep-0025.html
http-bind regards an implementation of XEP-0124 and XEP-0204 http://www.xmpp.org/extensions/xep-0124.html and http://www.xmpp.org/extensions/xep-0204.html

iwkse’s picture

Hi,
back here..
I found out it's possible to use punjab to use BOSH (http-bind) and allow jabberd2 to work with XWChat. I'm trying it but still I'm having some issue, in the logs i see a 404 error.
How's supposed to be created this httpbase=/http-bind/ ?
When I directly query BOSH it show's me it's running at http://localhost:5280/http-bind/

Using lighttpd, i wrote a rewrite rule like:

url.rewrite-once = ( "^/http-bind/" => ":5280/http-bind/" ) but it seems it's not executed.
The doubt I have is with some other rewrite rules I have with clean urls, in the specific:

url.rewrite-final = (
"^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
"^/([^.?]*)$" => "/index.php?q=$1",
)

Any hints?

iwkse’s picture

I'm using now a proxy and it works fine..I redirects to BOSH but now i get a 500 error.

iwkse’s picture

I had to change a bit the punjab code and now it connects..but..it says user|password wrong :)
Well..it's a nice step ahead.

iwkse’s picture

I post some output here:

<body xmlns='http://jabber.org/protocol/httpbind'>
<iq xmlns='jabber:client' type='result' id='auth1'>
<query xmlns='jabber:iq:auth'>
<username>iwkse</username>
<resource/><password/>
<digest/></query>
</iq>
</body>

<body xmlns='http://jabber.org/protocol/httpbind'>
<iq xmlns='jabber:client' type='error' id='auth2'>
<error code='401'/>
<query xmlns='jabber:iq:auth'>
<username>iwkse</username>
<resource>Jabberd2</resource>
<digest>abfb6439b8d82d1092274d5d23df9f6d8fe788be</digest>
</query></iq></body>

I wonder why the fields are empty in the first POST...

prhavile’s picture

I'm facing the same issue for xwchat window. its showing me offline always and I am not able to change the status.
can anyone help me?

prhavile’s picture

FileSize
27.59 KB

I'm facing the same issue for xwchat window. its showing me offline always and I am not able to change the status.
can anyone help me?

prhavile’s picture

hi
can anyone help me to get xwchat work with drupal? I'm finding a solution on this from last 2 weeks but I haven't got any solution for this.
The user appears Offline always in the chat window and even if I try to change the status then also its not changing. this is strange issue with xmpp and drupal.
any help will be highly appreciated. :)

RealGecko’s picture

Launch it in Firefox with Firebug enabled and track errors in console. That will point direction for search of solution.