Closed pawanyanky closed 11 years ago
If you run punjab on the same host as ejabberd then you have to change the port on punjab or ejabberd. You can use 5281 or something. Why are you not using ejabberd's bosh module?
Hi,
I am also facing the same issue while using punjab with Ejabberd and with Gtalk.
Following is the Error log of punjab:
2013-01-25 05:25:44+0000 [HTTPChannel,10,61.246.241.34] 61.246.241.34 - - [25/Ja
n/2013:05:25:44 +0000] "POST /http-bind/ HTTP/1.1" 500 11115 "http://ec2-50-17-2
2-111.compute-1.amazonaws.com/x/examples/basic.html" "Mozilla/5.0 (Windows NT 6.
1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17"
2013-01-25 05:25:53+0000 [HTTPChannel,10,61.246.241.34] Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\web\http.py", line 1394, i
n dataReceived
finishCallback(data[contentLength:])
File "C:\Python27\lib\site-packages\twisted\web\http.py", line 1623, i
n _finishRequestBody
self.allContentReceived()
File "C:\Python27\lib\site-packages\twisted\web\http.py", line 1686, i
n allContentReceived
req.requestReceived(command, path, version)
File "C:\Python27\lib\site-packages\twisted\web\http.py", line 790, in
requestReceived
self.process()
---
2013-01-25 05:25:53+0000 [HTTPChannel,10,61.246.241.34] 61.246.241.34 - - [25/Ja n/2013:05:25:52 +0000] "POST /http-bind/ HTTP/1.1" 500 11115 "http://ec2-50-17-2 2-111.compute-1.amazonaws.com/x/examples/basic.html" "Mozilla/5.0 (Windows NT 6. 1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17"
Please help
@rohittailer please try the latest master branch of Punjab. Or Change your twisted version. See https://github.com/twonds/punjab/pull/27
Thanks Twonds. My problem was solved on the same day by updating the Twisted version. Sorry for late response here.
Hi, i have installed punjab and its running successfully at port 5281 as given below
but I don`t know how to configure punjab to work with ejabberd xmpp server. My ejabberd server is running on port number 5280.
I have used below given softwares : apache as web server candy chat candy as chat client ejabberd as xmpp server punjab as bosh connection manager
please help me to integrate punjab with my application .