thepug / Speeqe

A multi-user chat application over XMPP.
GNU Affero General Public License v3.0
135 stars 47 forks source link

Installation/Configuration Problems #19

Open benkank opened 13 years ago

benkank commented 13 years ago

I am having trouble getting speeqe to work in a local test environment I have setup on my machine. I am currently running Windows 7 x64 Ultimate. All system components are running locally and mapped to urls via BIND. I am using the most recent versions of all component software. I have all of the components running as recommended by setup wiki. With the following exceptions. I am using Openfire (Both MUC and Anonymous login is enabled) instead of Ejabbered and instead of hosting Django within Apache via mod_wsgi I am using the Django development server. To simplify things I have set DNS_ROOM_NAMES to false and I am not using room message searching. All of the components seem to be working together. No error messages are displayed in any of the component logs. I can navigate to the main site and start a room. Using Chrome's Network tab in the debugger shows me that requests are being issued to xmpp-httpbind periodically. Punjab is accepting requests and appears to be sending them to Openfire. Openfire is showing the session as being created properly. No room is listed as being created though. (I used Spark to verify that the server is up and running properly also) I can send alerts from the Openfire admin console and Punjab shows the message was received. However, the chat room never seems to get started. Can anyone provide me with some insight into what I am doing wrong?

Below are the relevant config files.

local_settings.py

import os.path PROJECT_DIR = os.path.dirname(os.path.abspath(file))

Domain for your website

HTTP_DOMAIN = "speeqe.com"

HTTP_DOMAIN = "127.0.0.1:8000"

HTTP_DOMAIN = "shoutim.com"

Domain for your jabber server

XMPP_DOMAIN = "speeqe.com"

XMPP_DOMAIN = "127.0.0.1:5280"

XMPP_DOMAIN = "localhost"

names you dont want your users to have. When signing up for an

account and the user name is one of these exact words, it will be

rejected.

EXACT_BAD_WORDS = ['crap']

words you don't want in your user's names. When signing up for an

account and the username has one of these words in it, the name will

be rejected.

MATCH_BAD_WORDS = ['crap']

SESSION_COOKIE_DOMAIN = ".speeqe.com"

SESSION_COOKIE_DOMAIN = ".shoutim.com"

type of database you want to use for django

DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. DATABASE_NAME = 'shout' # Or path to database file if using sqlite3. DATABASE_USER = 'shoutadmin' # Not used with sqlite3. DATABASE_PASSWORD = 'password' # Not used with sqlite3. DATABASE_HOST = 'localhost' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '5440' # Set to empty string for default. Not used with sqlite3.

where all your media , intended to be served via django, lives

MEDIA_ROOT = '/lib/python/speeqeweb/webroot'

MEDIA_ROOT = os.path.join(PROJECT_DIR, 'webroot');

where all your static documents are.

DOCUMENT_ROOT = '/lib/python/speeqeweb/webroot'

DOCUMENT_ROOT = os.path.join(PROJECT_DIR, 'webroot');

the user used to list active rooms on the website. the speeqe website

needs a user and password to connect and run disco requests. This is

to gather a list of active rooms from the muc component.

XMPP_USER = 'ad...@shoutim.com' XMPP_PASS = 'password'

your multi user chat server name. used to gather a list of active

rooms

XMPP_CHAT = 'chat.speeqe.com'

XMPP_CHAT = '127.0.0.1:5280'

XMPP_CHAT = 'shoutim.com'

the name of your bosh server. Bosh is used to authenticate users to

the website and then they are auto logged in to each chat room.

BOSH_HOST = "www.speeqe.com"

BOSH_HOST = "127.0.0.1"

BOSH_HOST = "shoutim.com"

the port your bosh server listens on

BOSH_PORT = "5280"

BOSH_PORT = "5280"

the url used to proxy to your bosh server

BOSH_URL = "/xmpp-httpbind"

BOSH_URL = "/127.0.0.1:5241"

multi user chat rooms listed on the front page. This list contains

the rooms that will be displayed on the speeqe web pages. The first

entry is the title, followed by the room url. You can use /room/ or

the dns trick if you have that setup.

FEATURED_ROOMS = {'Speeqers':'http://speeqers.shoutim.com', 'Central Park':'/room/ centralp...@chat.chesspark.com/', }

where all your django templates live. make sure to have the location

of your themes and client.html, test_client.html in this config

option

TEMPLATE_DIRS = (

'/usr/local/lib/python2.5/site-packages/speeqeweb/templates',

#'/lib/python/speeqeweb/templates', 
#'/var/www/speeqeweb/webroot', 
os.path.join(PROJECT_DIR, 'webroot'), 
os.path.join(PROJECT_DIR, 'templates'), 
# Put strings here, like "/home/html/django_templates" or "C:/www/ 

django/templates".

Always use forward slashes, even on Windows.

# Don't forget to use absolute paths, not relative paths. 

)

mail server used to send email

SMTP_SERVER = ''

username and password if using smtp auth

SMTP_USERNAME = '' SMTP_PASSWORD = '' SMTP_PORT = 2525

email used when someone clicks on a help email link

HELP_EMAIL = 'h...@shoutim.com'

default sha1 for your default avatar image

AVATAR_DEFAULT_SHA1 = 'f2f8ab835b10d66f9233518d1047f3014b3857cf'

default avatar sha1 when an IE6 user comes to the website

AVATAR_DEFAULT_IE6 = 'b04b0e215af8ce2b7d620aaef32492c8bfc06ed5'

change the size of the images returned. first is height, followed by

width. AVATAR_DEFAULT_DIMENSIONS = '30|30'

the amount of time the image is cached

AVATAR_CACHE_TIMEOUT = 6000

allows django to serve all unknown urls as static data

SERVE_STATIC_URLS = True

tells speeqe that you have the dns trick configured. (ie. you can use

http://roomname.yourdomain.com). False if dns names are not

configured. DNS_ROOM_NAMES = False


local_settings.js


//domain for your website Speeqe.HTTP_DOMAIN = "shoutim.com"; //domain for your jabber server Speeqe.XMPP_DOMAIN = "localhost"; //domain for your multi user chat server //multi user chat server name. This is the default chat server used if //none is provided. If you connect to a room, the room will be //r...@Speeqe.CHAT_SERVER. Speeqe.CHAT_SERVER = "shoutim.com"; //allows users to use the /nick command to change their muc name Speeqe.ENABLE_NICK_CHANGE = true; //the default chat room if none is specified. If a muc room is not //provided, and the user connects, this will be the default room. Speeqe.DEFAULT_CHAT_ROOM = "speeq...@shoutim.com"; //the url used to proxy to your BOSH server. Used by speeqe to //communicate with the bosh server. Speeqe.BOSHURL = "/xmpp-httpbind"; //This is used to add additional help information to the help //dialog. It will be displayed right before the instructions to close //the dialog. Speeqe.helpDialogHtml = ""; /* use this function to replace the anonymous nick selection. The default function picks from a list of president names ,Speeqe.NAMES. See anonymous.js for more details. / /_ list of anonymous nicks Speeqe.NAMES = ["obama", "bush", "cheney", "ford", "nixon", "reagan", "clinton", "carter", "washington", "taft", "madison", "anonymous", "coward", "lurker", "lincoln", "adams", "jefferson", "monroe", "quincyadams", "jackson", "vanburen", "harrison", "tyler", "polk", "taylor", "fillmore", "pierce", "buchanan", "johnson", "grant", "hayes", "garfield", "arthur", "cleveland", "mckinley", "roosevelt", "wilson", "harding", "coolidge", "hoover", "truman", "eisenhower", "kennedy" ]; Speeqe.generate_anonymous_nick = function() { };

*/


bind zone file


shoutim.com. 86400 IN SOA shoutim.com. hostmaster.shoutim.com. ( 2005100804 ; Serial YYYYMMDDXX 10800 ; Refresh 3600 ; Retry 3600000 ; Expire 86400 ) ; minimum IN NS ns1.shoutim.com. IN NS ns2.shoutim.com. IN MX 10 mail.shoutim.com. IN A 192.168.1.101 mail IN A 192.168.1.101 ns1 IN A 192.168.1.101 ns2 IN A 10.0.0.2 chat.shoutim.com. IN A 192.168.1.101 *.shoutim.com. IN A 192.168.1.101 shoutim.com. IN A 192.168.1.101

www IN CNAME shoutim.com.

punjab.tac

punjab tac file

from twisted.web import server, resource, static from twisted.application import service, internet from punjab.httpb import Httpb, HttpbService root = static.File("./speeqeweb/webroot") b = resource.IResource(HttpbService(1, use_raw=True)) root.putChild('xmpp-httpbind', b) site = server.Site(root) application = service.Application("punjab")

internet.TCPServer(5280, site).setServiceParent(application)

punjab log

2011-05-19 15:37:33-0400 [-] Log opened. 2011-05-19 15:37:33-0400 [-] twistd 11.0.0 (C:\Program Files (x86)\Python27\python.exe 2.7.1) starting up. 2011-05-19 15:37:33-0400 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2011-05-19 15:37:33-0400 [-] twisted.web.server.Site starting on 5280 2011-05-19 15:37:33-0400 [-] Starting factory <twisted.web.server.Site instance at 0x02A9D788> 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] HEADERS 1305833869.45: 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '207', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] HTTPB POST : 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] <body rid='2878331002' xmlns='http://jabber.org/protocol/httpbind' to='localhost' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/> 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] Session Created : 431c354f555716779ac0b0c1f97988a96318a465 1305833869.46 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] ================================== 1305833869.46 connect to localhost: 5222 ================================== 2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] Starting factory <punjab.session.Session object at 0x02AAA1D0> 2011-05-19 15:37:49-0400 [Uninitialized] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='localhost' version='1.0'>" 2011-05-19 15:37:49-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<?xml version= \'1.0\' encoding=\'UTF-8\'?><stream:stream xmlns:stream="http:// etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com" id="ae2641eb" xml:lang="en" version="1.0">' 2011-05-19 15:37:49-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: 'stream:features</ starttls>DIGEST-MD5PLAIN</ mechanism>ANONYMOUSCRAM-MD5</ mechanism>zlib/stream:features' 2011-05-19 15:37:49-0400 [XmlStream,client] Wait until starttls is completed. 2011-05-19 15:37:49-0400 [XmlStream,client] [<twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer object at 0x02AAA990>] 2011-05-19 15:37:49-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>" 2011-05-19 15:37:49-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>' 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='shoutim.com' version='1.0'>" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<?xml version= \'1.0\' encoding=\'UTF-8\'?><stream:stream xmlns:stream="http:// etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com" id="ae2641eb" xml:lang="en" version="1.0">stream:features<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">DIGEST-MD5</ mechanism>PLAINANONYMOUS</ mechanism>CRAM-MD5<compression xmlns="http://jabber.org/features/compress">zlib</ compression><auth xmlns="http://jabber.org/features/iq-auth"/

</

stream:features>' 2011-05-19 15:37:50-0400 [XmlStream,client] RETURN HTTPB 1305833870.41: 2011-05-19 15:37:50-0400 [XmlStream,client] <body xmlns='http:// jabber.org/protocol/httpbind' inactivity='60' secure='true' authid='ae2641eb' content='text/xml; charset=utf-8' window='3' polling='15' sid='431c354f555716779ac0b0c1f97988a96318a465' requests='2' wait='60'><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>DIGEST-MD5</ mechanism>PLAINANONYMOUS</ mechanism>CRAM-MD5<compression xmlns='http://jabber.org/features/compress'>zlib</ compression><auth xmlns='http://jabber.org/features/iq-auth'/

</

stream:features> 2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 728 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] HEADERS 1305833870.54: 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '191', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] HTTPB POST : 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] <body rid='2878331003' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='ANONYMOUS'/></ body> 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] 2878331003 2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='ANONYMOUS'/>" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>' 2011-05-19 15:37:50-0400 [XmlStream,client] RETURN HTTPB 1305833870.54: 2011-05-19 15:37:50-0400 [XmlStream,client] <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/> 2011-05-19 15:37:50-0400 [XmlStream,client] 2878331003 2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 108 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' to='localhost'>" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<?xml version= \'1.0\' encoding=\'UTF-8\'?><stream:stream xmlns:stream="http:// etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com" id="ae2641eb" xml:lang="en" version="1.0">stream:featureszlib<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>/stream:features' 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] HEADERS 1305833870.65: 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '192', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] HTTPB POST : 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] <body rid='2878331004' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465' to='localhost' xml:lang='en' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/> 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 2878331004 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] RETURN HTTPB 1305833870.65: 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] <compression xmlns='http://jabber.org/features/compress'>zlib</ compression><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>/stream:features 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 2878331004 2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 127.0.0.1 - - [19/ May/2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 356 "http://shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] HEADERS 1305833870.75: 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '229', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,_;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] HTTPB POST : 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] <body rid='2878331005' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'><iq type='set' id='_bind_auth_2' xmlns='jabber:client'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] 2878331005 2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<iq xmlns='jabber:client' type='set' id='_bind_auth_2'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<iq type="result" id="_bind_auth_2" to="shoutim.com/ae2641eb"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">ae264...@shoutim.com/ ae2641eb' 2011-05-19 15:37:50-0400 [XmlStream,client] BIND: 431c354f555716779ac0b0c1f97988a96318a465 ae264...@shoutim.com/ae2641eb 2011-05-19 15:37:50-0400 [XmlStream,client] RETURN HTTPB 1305833870.76: 2011-05-19 15:37:50-0400 [XmlStream,client] <iq xmlns='jabber:client' to='shoutim.com/ae2641eb' type='result' id='_bind_auth2'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>ae264...@shoutim.com/ ae2641eb 2011-05-19 15:37:50-0400 [XmlStream,client] 2878331005 2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 240 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] HEADERS 1305833870.86: 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '238', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] HTTPB POST : 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] <body rid='2878331006' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'><iq type='set' id='_session_auth_2' xmlns='jabber:client'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] 2878331006 2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<iq xmlns='jabber:client' type='set' id='_session_auth_2'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" 2011-05-19 15:37:50-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<iq type="result" id="_session_auth_2" to="ae264...@shoutim.com/ae2641eb"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>' 2011-05-19 15:37:50-0400 [XmlStream,client] RETURN HTTPB 1305833870.86: 2011-05-19 15:37:50-0400 [XmlStream,client] <iq type="result" id="_session_auth2" to="ae264...@shoutim.com/ae2641eb"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/> 2011-05-19 15:37:50-0400 [XmlStream,client] 2878331006 2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 190 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] HEADERS 1305833871.06: 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '381', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] HTTPB POST : 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] <body rid='2878331007' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'><presence from='ae264...@shoutim.com/ae2641eb' xmlns='jabber:client'>-1<presence from='ae264...@shoutim.com/ae2641eb' to='he...@shoutim.com/grant27267' xmlns='jabber:client'></ presence> 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] 2878331007 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<presence xmlns='jabber:client' from='ae264...@shoutim.com/ ae2641eb'>-1" 2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<presence xmlns='jabber:client' to='he...@shoutim.com/grant27267' from='ae264...@shoutim.com/ae2641eb'>" 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] HEADERS 1305833888.2: 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '338', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] HTTPB POST : 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] <body rid='2878331008' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'><message to='he...@shoutim.com' from='ae264...@shoutim.com/ae2641eb' type='groupchat' id='8432' xmlns='jabber:client'><body xmlns='jabber:client'>anyone here?<x xmlns='jabber:x:event'> 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 2878331008 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] SID: 431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<message xmlns='jabber:client' to='he...@shoutim.com' from='ae264...@shoutim.com/ae2641eb' id='8432' type='groupchat'>anyone here?<x xmlns='jabber:x:event'>" 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] RETURN HTTPB 1305833888.2: 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 2878331007 2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 127.0.0.1 - - [19/ May/2011:19:38:07 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 51 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:38:19-0400 [XmlStream,client] SID: 431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<message from="shoutim.com">alert!' 2011-05-19 15:38:19-0400 [XmlStream,client] RETURN HTTPB 1305833899.82: 2011-05-19 15:38:19-0400 [XmlStream,client] alert! 2011-05-19 15:38:19-0400 [XmlStream,client] 2878331008 2011-05-19 15:38:19-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:38:19 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 114 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] HEADERS 1305833899.86: 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '115', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '/_', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] HTTPB POST : 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] <body rid='2878331009' xmlns='http://jabber.org/protocol/httpbind' sid='431c354f555716779ac0b0c1f97988a96318a465'/> 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] 2878331009

thepug commented 13 years ago

It looks as if speeqe sent the correct presence to your MUC room and the message "hello there". Do you have your server to create a MUC room automatically?

thepug commented 13 years ago

Does MUC room creation work with a regular client?