punjab

How to get punjab/twisted to bypass dns

落花浮王杯 提交于 2019-12-11 06:48:08
问题 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 "myserver.mydomain.com" to an IP address? I do not have access to the xmpp:route attribute at the XML-level, so this would have to be done somehow by punjab/twisted configuration. 回答1: As a quick hack to get you up and running, install dnsmasq, add

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

◇◆丶佛笑我妖孽 提交于 2019-12-10 13:39:37
问题 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 ports - 5280:5280 links - ejabbberd:ejabberd ejabberd: image: ejabberd depends-on: - mysql links: - mysql:mysql mysql: image:mysql When I run the command docker-compose up from the command line and from the same directory where I have the docker-compose.yml

XMPP multiple sessions of the same user issue

孤者浪人 提交于 2019-12-03 12:03:21
问题 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 the same user (e.g. two different browsers on the same machine) I can't receive and log to the second chat window the message I sent from first chat window. There needs to be some mechanism which allows that. Can I somehow receive messages I have

XMPP multiple sessions of the same user issue

我的梦境 提交于 2019-12-03 02:25:24
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 the same user (e.g. two different browsers on the same machine) I can't receive and log to the second chat window the message I sent from first chat window. There needs to be some mechanism which allows that. Can I somehow receive messages I have sent to some other user? The issue can also be reproduced on 2 or more different machines so this needs