Questions tagged [punjab]

PunJab is a HTTP jabber client interface. It is a BOSH connection manager that allows persistent client connections to a XMPP server.

20 questions
12
votes
4 answers

XMPP multiple sessions of the same user issue

I've implemented a chrome extension which allow to use XMPP chat over BOSH connection with punjab server running on a remote server. It is implemented using javascript Strophe library. The issue I'm running into is when I have multiple sessions of…
vian
  • 811
  • 2
  • 12
  • 27
8
votes
1 answer

Docker compose error "In file './docker-compose.yml', service 'punjab' must be a mapping not a string."

I am getting a strange error in my docker-compose.yml file. I have prepared a docker-compose file for the stack punjab connection manager, ejabberd and mysql. Below is the docker-compose.yml file version: '2' services: punjab: image:punjab …
Vaibhav Ranglani
  • 215
  • 1
  • 2
  • 14
3
votes
2 answers

punjab can't connect to outside services

I've installed punjab with (python 2.7.2). To further ensure SRV isn't the issue, I've included: connect_srv = False in punjab.tac. The server seems to start fine, and I can access :5280/http-bind but any connection I try to make fails. It seems to…
jopke
  • 1,186
  • 6
  • 18
2
votes
0 answers

Unable to execute twistd - shows no output

I have installed python 2.7, twisted 12.3. Also, i did install zope.interface 4.0.3. I have added the follwowing to sys.path - C:\Python27\Lib\site-packages\twisted\scripts. But when in command promot I run twistd command, I get no result. Here is…
Nitish Borade
  • 367
  • 3
  • 18
1
vote
2 answers

Set Punjab as a BOSH XMPP Proxy for Facebook Chat

I want to use Punjab as an xmpp proxy for Facebook Chat Punjab is running well but when i ask chat.facebook.com it won't work SENT:
EtreRe
  • 23
  • 6
1
vote
1 answer

How to get punjab/twisted to bypass dns

I am trying to get a punjab BOSH server to work with a development XMPP server. punjab is trying to do a SRV DNS lookup of the XMPP domain, which is not present in our DNS infrastructure. Is there any way I configure punjab to route requests for…
jlew
  • 10,491
  • 1
  • 35
  • 58
1
vote
0 answers

How to connect Punjab server with ejabberd server?

Can someone please tell me how to configure Punjab so that it can talk to ejabberd server?
user2323620
  • 133
  • 1
  • 1
  • 6
1
vote
2 answers

How to scale punjab bosh connection manager?

How can I scale punjab connection manager? server1 and server2 are behind loadbalancer. Not I first got connected with server1. It created the session on second request lets say I got connected with server2. server2 will not recognize my previous…
pankaj4u4m
  • 327
  • 2
  • 6
0
votes
1 answer

punjab installed and runs, but can not connect to http://mydomain:5280/xmpp-httpbind

I have Punjab installed on Ubuntu, which has apache and is a web server. However, when I launch the page http://mydomain:5280/xmpp-httpbind, I got the following error msg : " Network Error (tcp_error) communication error occurred: "Operation timed…
stella
  • 1
  • 3
0
votes
1 answer

Not receiving the communication from Openfire Xmpp while connecting throw stropes.js

I am trying to create a client chat. I could able to to see the log of punjab server as Sending - Receiving. But never showing as Strophes Connected Did the following setup 1)Setup an Xmpp server wget -O openfire.deb…
guny
  • 197
  • 4
  • 19
0
votes
1 answer

Python Twisted - Windows 7 Command Line

I'm trying to install the PunJab (https://github.com/twonds/punjab) in Windows 7 I install the python. 2.7.5, Twisted 13.1.0, Zope Interface 4.0.5. I set the C:\Python27\ And C:\Python27\Scripts\ to ambient variables. I try to run: twistd -y…
Wilker Iceri
  • 131
  • 4
  • 12
0
votes
1 answer

XMPP BOSH Response issue

I am new with XMPP web client and bosh. I am using stropher js for chat demo. On my server punjab bosh installed successfully. I am sending below request for connection establish in post on bosh server url. Request :
Kishan Patel
  • 1,358
  • 10
  • 24
0
votes
1 answer

Punjab install twisted run error on python

I am tring to install punjab on python for bosh setup work with openfire and stropher js. when i try to run twistd -y punjab.tac and i got below error. Traceback (most recent call last): File…
Kishan Patel
  • 1,358
  • 10
  • 24
0
votes
1 answer

How to start Punjab server on Windows?

On Windows, I have installed punjab using "python setup.py install", but when I am trying to start using "twistd -y punjab" it says "twistd is not recognized as an internal or external command", so I added env variable PATH pointing to…
user2323620
  • 133
  • 1
  • 1
  • 6
0
votes
1 answer

Send google group chat invite to non-contacts

My requirement is that I need to send a google group chat invite to to people who are not in my contact list. From my application I am able to create room on groupchat.google.com. I am able to invite people in my contact list to the chat room, but I…
Nitish Borade
  • 367
  • 3
  • 18
1
2