strophe + punjab on windows, hanging

66 views
Skip to first unread message

Liam

unread,
Sep 27, 2009, 5:01:48 AM9/27/09
to Strophe
I'm new at strophe & punjab (and xmpp for that matter). I'm trying to
connect to myn...@jabber.org...

My stack:
Strophe latest (in local javascript - file://...)
FF 3.5
Punjab latest (on localhost)
Python 2.6 + twisted
Windows XP

My code:
obj.conn = new Strophe.Connection('http://localhost:5280/xmpp-
httpbind');
obj.conn.connect(iName, iPass, this.onConn);

Strophe gives a Status.CONNECTING event, and nothing else. After a
long while, I see a FF exception:

Error: uncaught exception: [Exception... "Component returned failure
code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]"
nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS
frame :: file:///C:/.../strophe.js :: anonymous :: line 2074" data:
no]

Attached is a segment of the punjab log.

Thanks for any assistance,

Liam


2009-09-27 01:43:02-0700 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2009-09-27 01:43:02-0700 [HTTPChannel,0,127.0.0.1] <body
rid='2284892250' xmlns=http://jabber.org/protocol/httpbind'
to='jabber.org' xml:lang='en' wait='60' hold='1' window='5'
content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0'
xmlns:xmpp='urn:xmpp:xbosh'/>
2009-09-27 01:43:02-0700 [HTTPChannel,0,127.0.0.1] Session Created :
fb40aac07d4351c9b1337abc7489d9e8 1254040982.92
2009-09-27 01:43:02-0700 [HTTPChannel,0,127.0.0.1]
================================== 1254040982.94 connect
==================================
2009-09-27 01:43:02-0700 [HTTPChannel,0,127.0.0.1] Starting factory
<punjab.session.Session object at 0x012D9650>
2009-09-27 01:43:03-0700 [-] <class
'twisted.names.dns.DNSDatagramProtocol'> starting on 2306
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2307
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2308
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2309
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2310
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2311
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2312
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'tisted.names.dns.DNSDatagramProtocol'> starting on 12024
2009-09-27 01:43:03-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Starting protocol <twisted.names.dns.DNSDatagramProtocol object at
0x0132BAD0>
2009-09-27 01:43:03-0700 [-] (Port 12024 Closed)
2009-09-27 01:43:03-0700 [-] Stopping protocol
<twisted.names.dns.DNSDatagramProtocol object at 0x0132BAD0>
2009-09-27 01:43:04-0700 [Uninitialized] SID:
fb40aac07d4351c9b1337abc7489d9e8 => SEND: <stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='jabber.org' version='1.0'>
2009-09-27 01:43:04-0700 [XmlStream,client] SID:
fb40aac07d4351c9b1337abc7489d9e8 => RECV: <?xml version='1.0'?
><stream:stream xmlns='jabber:client' xmlns:stream='http://
etherx.jabber.orgstreams' id='1724237233' from='jabber.org'
version='1.0' xml:lang='en'>
2009-09-27 01:43:04-0700 [XmlStream,client] SID:
fb40aac07d4351c9b1337abc7489d9e8 => RECV: <stream:features><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression xmlns='http://
jabber.org/features/compress'><method>zlib</method></
compression><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-
sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></
mechanisms><register xmlns='http://jabber.org/features/iq-register'/></
stream:features>
2009-09-27 01:43:32-0700 [-] ==================================
fb40aac07d4351c9b1337abc7489d9e8 1254041012.73 startup timeout
=================================
2009-09-27 01:43:32-0700 [-]

RETURN HTTPB 1254041012.73:
2009-09-27 01:43:32-0700 [-] <body xmlns='http://jabber.org/protocol/
httpbind' inactivity='60' secure='true' authid='1724237233'
content='text/xml; charset=utf-8' window='5' polling='15'
sid='fb40aac07d4351c9b1337abc7489d9e8' requests='2' wait='60'/>
2009-09-27 01:43:32-0700 [-] 127.0.0.1 - - [27/Sep/2009:08:43:31
+0000] "POST /xmpp-httpbind HTTP/1.1" 200 221 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/
3.5.3"
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] HEADERS
1254041012.75:
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] {'origin': 'null',
'content-length': '219', 'accept-language': 'en-us,en;q=0.5', 'accept-
encoding': 'gzip,deflate', 'keep-alive': '300', 'accept': 'text/
html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'user-
agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3', 'accept-charset': 'ISO-8859-1
,utf-8;q=0.7,*;q=0.7', 'connection': 'keep-alive', 'pragma': 'no-
cache', 'cache-control': 'no-cache', 'host': 'localhost:5280',
'content-type': 'text/plain; charset=UTF-8'}
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] <body
rid='2284892250' xmlns='http://jabber.org/protocol/httpbind'
to='jabber.org' xml:lang='en' wait='60' hold='1' window='5'
content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0'
xmlns:xmpp='urn:xmpp:xbosh'/>
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] Session Created :
3484038c9ab36d5d6f4936eb8b1ae3f7 1254041012.77
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1]
================================== 1254041012.77 connect
==================================
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] Starting factory
<punjab.session.Session object at 0x0133C450>
2009-09-27 01:43:32-0700 [HTTPChannel,0,127.0.0.1] <class
'twisted.names.dns.DNSDatagramProtocol'> starting on 2315
2009-09-27 01:43:32-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2316
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2317
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2318
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2319
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2320
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 2321
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 38263
2009-09-27 01:43:33-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Startingprotocol <twisted.names.dns.DNSDatagramProtocol object at
0x0132BF50>
2009-09-27 01:43:33-0700 [-] (Port 38263 Closed)
2009-09-27 01:43:33-0700 [-] Stopping protocol
<twisted.names.dns.DNSDatagramProtocol object at 0x0132BF50>
2009-09-27 01:43:33-0700 [Uninitialized] SID:
3484038c9ab36d5d6f4936eb8b1ae3f7 => SEND: <stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='jabber.org' version='1.0'>
2009-09-27 01:43:33-0700 [XmlStream,client] SID:
3484038c9ab36d5d6f4936eb8b1ae3f7 => RECV: <?xml version='1.0'?
><stream:stream xmlns='jabber:client' xmlns:stream='http://
etherx.jabber.org/streams' id='2839805153' from='jabber.org'
version='1.0' xml:lang='en'>
2009-09-27 01:43:33-0700 [XmlStream,client] SID:
3484038c9ab36d5d6f4936eb8b1ae3f7 => RECV: <stream:features><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression xmlns='http://
jabber.org/features/compress'><method>zlib</method></
compression><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-
sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></
mechanisms><register xmlns='http://jabber.org/features/iq-register'/></
stream:features>
2009-09-27 01:44:02-0700 [-] ==================================
3484038c9ab36d5d6f4936eb8b1ae3f7 1254041042.73 startup timeout
==================================
2009-09-27 01:44:02-0700 [-]

RETURN HTTPB 1254041042.73:
2009-09-27 01:44:02-0700 [-] <body xmlns='http://jabber.org/protocol/
httpbind' inactivity='60' secure='true' authid='2839805153'
content='text/xml; charset=utf-8' window='5' polling='15'
sid='3484038c9ab36d5d6f4936eb8b1ae3f7' requests='2' wait='60'/>
2009-09-27 01:44:02-0700 [-] 127.0.0.1 - - [27/Sep/2009:08:44:01
+0000] "POST /xmpp-httpbind HTTP/1.1" 200 221 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/
3.5.3"
2009-09-27 01:44:03-0700 [-] SID: fb40aac07d4351c9b1337abc7489d9e8 =>
SEND:
2009-09-27 01:44:03-0700 [-] SESSION -> Terminate
2009-09-27 01:44:03-0700 [-] expire (fb40aac07d4351c9b1337abc7489d9e8)
2009-09-27 01:44:03-0700 [-] 1
2009-09-27 01:44:03-0700 [-] SID: fb40aac07d4351c9b1337abc7489d9e8 =>
SEND: </stream:stream>
2009-09-27 01:44:03-0700 [XmlStream,client] connect ERROR
2009-09-27 01:44:03-0700 [XmlStream,client]
<twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x012D8670>
2009-09-27 01:44:03-0700 [XmlStream,client] Stopping factory
<punjab.session.Session object at 0x012D9650>

Liam

unread,
Sep 27, 2009, 9:27:53 PM9/27/09
to Strophe
And the Strophe Echobot log for this same setup:

Strophe is connecting.
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 1.0 posting
LOG: request id 1.0 state changed to 1
LOG: request id 1.0 state changed to 1
LOG: request id 1.1 state changed to 2
LOG: request id 1.1 state changed to 4
LOG: request id 1.1 error 0 happened
LOG: request errored, status: 0, number of errors: 1
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 2.1 posting
LOG: request id 2.1 state changed to 1
LOG: request id 2.1 state changed to 1
LOG: request id 2.2 state changed to 2
LOG: request id 2.2 state changed to 4
LOG: request id 2.2 error 0 happened
LOG: request errored, status: 0, number of errors: 2
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 3.2 posting
LOG: request id 3.2 state changed to 1
LOG: request id 3.3 state changed to 1
LOG: request id 3.3 state changed to 2
LOG: request id 3.3 state changed to 4
LOG: request id 3.3 error 0 happened
LOG: request errored, status: 0, number of errors: 3
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 4.3 posting
LOG: request id 4.3 state changed to 1
LOG: request id 4.4 state changed to 1
LOG: request id 4.4 state changed to 2
LOG: request id 4.4 state changed to 4
LOG: request id 4.4 error 0 happened
LOG: request errored, status: 0, number of errors: 4
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 5.4 posting
LOG: request id 5.4 state changed to 1
LOG: request id 5.5 state changed to 1
LOG: Request 5 timed out, over 70 seconds since last activity


On Sep 27, 2:01 am, Liam <networkimp...@gmail.com> wrote:
> I'm new at strophe & punjab (and xmpp for that matter). I'm trying to
> connect to myn...@jabber.org...
>
> My stack:
>   Strophe latest (in local javascript - file://...)
>   FF 3.5
>   Punjab latest (on localhost)
>   Python 2.6 + twisted
>   Windows XP
>
> My code:
>     obj.conn = new Strophe.Connection('http://localhost:5280/xmpp-
> httpbind');
>     obj.conn.connect(iName, iPass, this.onConn);
>
> Strophe gives a Status.CONNECTING event, and nothing else. After a
> long while, I see a FF exception:
>
> Error: uncaught exception: [Exception... "Component returned failure
> code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]"
> nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS
> frame :: file:///C:/.../strophe.js :: anonymous :: line 2074"  data:
> no]
>
> Attached is a segment of the punjab log. [clipped]

Liam

unread,
Sep 28, 2009, 5:58:20 AM9/28/09
to Strophe
Tried loading the html & javascript via punjab, instead of via file://...
Also fails, but differently:

Strophe Echobot log:

Strophe is connecting.
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 1.0 posting
LOG: request id 1.0 state changed to 1
LOG: request id 1.0 state changed to 1
LOG: request id 1.1 state changed to 2
LOG: request id 1.1 state changed to 3
LOG: request id 1.1 state changed to 4
LOG: removing request
LOG: _throttledRequestHandler called with 0 requests
LOG: request id 1 should now be removed
LOG: request id 1.1 got 200
LOG: _connect_cb was called
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 2.0 posting
LOG: request id 2.0 state changed to 1
LOG: request id 2.0 state changed to 1
LOG: request id 2.1 state changed to 2
LOG: request id 2.1 state changed to 3
LOG: request id 2.1 state changed to 4
LOG: removing request
LOG: _throttledRequestHandler called with 0 requests
LOG: request id 2 should now be removed
LOG: request id 2.1 got 200
LOG: _connect_cb was called
Strophe failed to connect.

Punjab log segment:

2009-09-28 02:35:13-0700 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2009-09-28 02:35:13-0700 [HTTPChannel,0,127.0.0.1] <body
rid='3035797885' xmlns='http://jabber.org/protocol/httpbind'
to='jabber.org' xml:lang='en' wait='60' hold='1' window='5'
content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0'
xmlns:xmpp='urn:xmpp:xbosh'/>
2009-09-28 02:35:13-0700 [HTTPChannel,0,127.0.0.1] Session Created :
4e915553b66ca332af78d65d1fc44d31 1254130513.7
2009-09-28 02:35:13-0700 [HTTPChannel,0,127.0.0.1]
================================== 1254130513.7 connect
==================================
2009-09-28 02:35:13-0700 [HTTPChannel,0,127.0.0.1] Starting factory
<punjab.session.Session object at 0x012D9650>
2009-09-28 02:35:13-0700 [-] <class
'twisted.names.dns.DNSDatagramProtocol'> starting on 1636
2009-09-28 02:35:13-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1637
2009-09-28 02:35:13-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1638
2009-09-28 02:35:13-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1639
2009-09-28 02:35:13-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1640
2009-09-28 02:35:14-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1641
2009-09-28 02:35:14-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 1642
2009-09-28 02:35:14-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 44370
2009-09-28 02:35:14-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Startingprotocol <twisted.names.dns.DNSDatagramProtocol object at
0x0132B890>
2009-09-28 02:35:14-0700 [-] (Port 44370 Closed)
2009-09-28 02:35:14-0700 [-] Stopping protocol
<twisted.names.dns.DNSDatagramProtocol object at 0x0132B890>
2009-09-28 02:35:14-0700 [Uninitialized] SID:
4e915553b66ca332af78d65d1fc44d31 => SEND: <stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='jabber.org' version='1.0'>
2009-09-28 02:35:14-0700 [XmlStream,client] SID:
4e915553b66ca332af78d65d1fc44d31 => RECV: <?xml version='1.0'?
><stream:stream xmlns='jabber:client' xmlns:stream='http://
etherx.jabber.org/streams' id='3454043130' from='jabber.org'
version='1.0' xml:lang='en'>
2009-09-28 02:35:14-0700 [XmlStream,client] SID:
4e915553b66ca332af78d65d1fc44d31 => RECV: <stream:features><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression xmlns='http://
jabber.org/features/compress'><method>zlib</method></
compression><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-
sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></
mechanisms><register xmlns='http://jabber.org/features/iq-register'/></
stream:features>
2009-09-28 02:35:43-0700 [-] ==================================
4e915553b66ca332af78d65d1fc44d31 1254130543.03 startup timeout
==================================
2009-09-28 02:35:43-0700 [-]

RETURN HTTPB 1254130543.03:
2009-09-28 02:35:43-0700 [-] <body xmlns='http://jabber.org/protocol/
httpbind' inactivity='60' secure='true' authid='3454043130'
content='text/xml; charset=utf-8' window='5' polling='15'
sid='4e915553b66ca332af78d65d1fc44d31' requests='2' wait='60'/>
2009-09-28 02:35:43-0700 [-] 127.0.0.1 - - [28/Sep/2009:09:35:42
+0000] "POST /xmpp-httpbind HTTP/1.1" 200 221 "http://localhost:5280/
echobot.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.3) Gecko/20090824 Firefox/3.5.3"
2009-09-28 02:35:43-0700 [HTTPChannel,1,127.0.0.1] HEADERS
1254130543.48:
2009-09-28 02:35:43-0700 [HTTPChannel,1,127.0.0.1] {'content-length':
'107', 'accept-language': 'en-us,en;q=0.5', 'accept-encoding':
'gzip,deflate', 'keep-alive': '300', 'accept': 'text/html,application/
xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'user-agent': 'Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/
3.5.3', 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'connection': 'keep-alive', 'referer': 'http://localhost:5280/
echobot.html', 'pragma': 'no-cache', 'cache-control': 'no-cache',
'host': 'localhost:5280', '
content-type': 'text/plain; charset=UTF-8'}
2009-09-28 02:35:43-0700 [HTTPChannel,1,127.0.0.1] HTTPB POST :
2009-09-28 02:35:43-0700 [HTTPChannel,1,127.0.0.1] <body
rid='3035797886' xmlns='http://jabber.org/protocol/httpbind'
sid='4e915553b66ca332af78d65d1fc44d31'/>
2009-09-28 02:35:43-0700 [HTTPChannel,1,127.0.0.1] 3035797886
2009-09-28 02:36:13-0700 [-] SID: 4e915553b66ca332af78d65d1fc44d31 =>
SEND:
2009-09-28 02:36:14-0700 [XmlStream,client] connect ERROR
2009-09-28 02:36:14-0700 [XmlStream,client]
<twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x01337490>
2009-09-28 02:36:14-0700 [XmlStream,client] Punjab Error:
2009-09-28 02:36:14-0700 [XmlStream,client] Traceback (failure with no
frames):<class 'punjab.error.Error'>: remote-connection-failed
2009-09-28 02:36:14-0700 [XmlStream,client] None
2009-09-28 02:36:14-0700 [XmlStream,client] None
2009-09-28 02:36:14-0700 [XmlStream,client] HTTPB Error 200
2009-09-28 02:36:14-0700 [XmlStream,client] HTTPB Return Error: 200 ->
<body xmlns='http://jabber.org/protocol/httpbind' type='terminate'
condition='remote-connection-failed'/>

Christopher Zorn

unread,
Sep 28, 2009, 8:46:23 AM9/28/09
to str...@googlegroups.com
On Mon, Sep 28, 2009 at 5:58 AM, Liam <networ...@gmail.com> wrote:

Tried loading the html & javascript via punjab, instead of via file://...
Also fails, but differently:

<<snip>>
 

It looks like Punjab failed to return these features to you. Either that or it attempted to connect via tls and that failed.

I would check if you have pyopenssl installed. I would bet that its a tls issue.


 
2009-09-28 02:35:43-0700 [-] ==================================
4e915553b66ca332af78d65d1fc44d31 1254130543.03 startup timeout
==================================
2009-09-28 02:35:43-0700 [-]


<<snip>>

Liam

unread,
Sep 28, 2009, 4:14:02 PM9/28/09
to Strophe
Thanks for the suggestion... Installed pyopenssl; still failing as
above. Do I need to tell punjab or twisted about pyopenssl somehow?

Why doesn't punjab just say, "Showstopper: wingnut widget is
fubar." ? :-)

Liam

Christopher Zorn

unread,
Sep 28, 2009, 5:13:38 PM9/28/09
to str...@googlegroups.com
On Mon, Sep 28, 2009 at 4:14 PM, Liam <networ...@gmail.com> wrote:

Thanks for the suggestion... Installed pyopenssl; still failing as
above. Do I need to tell punjab or twisted about pyopenssl somehow?

Then it is something else causing it to timeout. Can you connect to another server besides jabber.org?

 
Why doesn't punjab just say, "Showstopper: wingnut widget is 
fubar." ? :-)

It does, but not in all cases. There still needs to be a fix for a few cases but I dont know which one is causing yours.

 

Liam



Liam

unread,
Sep 28, 2009, 5:38:35 PM9/28/09
to Strophe
Tried connecting to a gmail account. Fails a little differently:

Strophe Echobot log:

Strophe is connecting.
LOG: _throttledRequestHandler called with 1 requests
LOG: request id 1.0 posting
LOG: request id 1.0 state changed to 1
LOG: request id 1.0 state changed to 1
LOG: request id 1.1 state changed to 2
LOG: request id 1.1 state changed to 3
LOG: request id 1.1 state changed to 4
LOG: removing request
LOG: _throttledRequestHandler called with 0 requests
LOG: request id 1 should now be removed
LOG: request id 1.1 got 200
LOG: _connect_cb was called
Strophe failed to connect.

Punjab log:

2009-09-28 14:29:20-0700 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2009-09-28 14:29:20-0700 [HTTPChannel,0,127.0.0.1] <body
rid='2785551024' xmlns='http://jabber.org/protocol/httpbind'
to='gmail.com' xml:lang='en' wait='60' hold='1' window='5'
content='text/xml; charset=utf-8' ver='1.6'
xmpp:version='1.0'xmlns:xmpp='urn:xmpp:xbosh'/>
2009-09-28 14:29:20-0700 [HTTPChannel,0,127.0.0.1] Session Created :
7ce44d9655126dd2451124143747173d 1254173360.8
2009-09-28 14:29:20-0700 [HTTPChannel,0,127.0.0.1]
================================== 1254173360.8 connect
==================================
2009-09-28 14:29:20-0700 [HTTPChannel,0,127.0.0.1] Starting factory
<punjab.session.Session object at 0x012DA630>
2009-09-28 14:29:20-0700 [-] <class
'twisted.names.dns.DNSDatagramProtocol'> starting on 3499
2009-09-28 14:29:20-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 3500
2009-09-28 14:29:21-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 3501
2009-09-28 14:29:21-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 3502
2009-09-28 14:29:21-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 5671
2009-09-28 14:29:21-0700 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Startingprotocol <twisted.names.dns.DNSDatagramProtocol object at
0x0136E430>
2009-09-28 14:29:21-0700 [-] (Port 5671 Closed)
2009-09-28 14:29:21-0700 [-] Stopping protocol
<twisted.names.dns.DNSDatagramProtocol object at 0x0136E430>
2009-09-28 14:29:21-0700 [Uninitialized] SID:
7ce44d9655126dd2451124143747173d => SEND: <stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='gmail.com' version='1.0'>
2009-09-28 14:29:21-0700 [XmlStream,client] SID:
7ce44d9655126dd2451124143747173d => RECV: <stream:stream
from="gmail.com" id="57EFEB9976775B39" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
2009-09-28 14:29:21-0700 [XmlStream,client] SID:
7ce44d9655126dd2451124143747173d => RECV: <stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></
starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-
sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></
stream:features>
2009-09-28 14:29:41-0700 [XmlStream,client] connect ERROR
2009-09-28 14:29:41-0700 [XmlStream,client]
<twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x01376670>
2009-09-28 14:29:41-0700 [XmlStream,client] HTTPB Error 200
2009-09-28 14:29:41-0700 [XmlStream,client] HTTPB Return Error: 200 ->
<body xmlns='http://jabber.org/protocol/httpbind' type='terminate'
condition='remote-connection-failed'/>
2009-09-28 14:29:41-0700 [XmlStream,client] 127.0.0.1 - - [28/Sep/
2009:21:29:40+0000] "POST /xmpp-httpbind HTTP/1.1" 200 105 "http://
localhost:5280/echobot.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
2009-09-28 14:29:41-0700 [XmlStream,client] expire
(7ce44d9655126dd2451124143747173d)
2009-09-28 14:29:41-0700 [XmlStream,client] 0
2009-09-28 14:29:41-0700 [XmlStream,client]
7ce44d9655126dd2451124143747173d
2009-09-28 14:29:41-0700 [XmlStream,client] 2785551025
2009-09-28 14:29:41-0700 [XmlStream,client] SESSION -> We have expired
2009-09-28 14:29:41-0700 [XmlStream,client] SID:
7ce44d9655126dd2451124143747173d => SEND: </stream:stream>
2009-09-28 14:29:41-0700 [XmlStream,client] Stopping factory
<punjab.session.Session object at 0x012DA630>

Liam

unread,
Sep 30, 2009, 7:37:29 PM9/30/09
to Strophe
Since mine is a Firefox-specific app anyway, maybe I should switch to
the xmpp4moz plugin, which would eliminate the need for bosh &
punjab...

Any folks here have experience with xmpp4moz?

LIam

Christopher Zorn

unread,
Oct 1, 2009, 8:54:07 AM10/1/09
to str...@googlegroups.com
On 9/30/09, Liam <networ...@gmail.com> wrote:
>
> Since mine is a Firefox-specific app anyway, maybe I should switch to
> the xmpp4moz plugin, which would eliminate the need for bosh &
> punjab...
>

Its hard to find out why your connection hangs like that. Have you
tried some other BOSH connection managers?

Liam

unread,
Oct 1, 2009, 10:41:57 AM10/1/09
to Strophe
Maybe Strophe isn't handling the respective mechanisms for jabber.org
and gmail.com correctly -- DIGEST-MD5 and X-GOOGLE-TOKEN?

Echobot doesn't load md5.js that I can see, tho I don't get an
exception about it. Just tried including it; didn't help.

Are you able to run Echobot against jabber.org or gmail.com via
Punjab?

Haven't tried other BOSH middleware. What else runs on Windows?

Liam

Jack Moffitt

unread,
Oct 1, 2009, 10:56:10 AM10/1/09
to str...@googlegroups.com
> Echobot doesn't load md5.js that I can see,  tho I don't get an
> exception about it. Just tried including it; didn't help.

Did you run make and use the combined strophe.js, or just grab
strophe.js out of src? If the latter, you have an incomplete build.

jack.

Kevin Le

unread,
Oct 1, 2009, 11:31:14 AM10/1/09
to str...@googlegroups.com
Are you saying that if after I run the "git clone", the file strophe.js under the src directory is incomplete?

Should I download and use the snapshot instead of grabbing from git?

Jack Moffitt

unread,
Oct 1, 2009, 11:33:42 AM10/1/09
to str...@googlegroups.com
> Are you saying that if after I run the "git clone", the file strophe.js
> under the src directory is incomplete?
> Should I download and use the snapshot instead of grabbing from git?

Yes. You must then run 'make' to build the combined js file. It used
to be that you included every single file in your HTML, but this isn't
very efficient. Putting all the code in a single file is also not
desirable. The only option left is to have a prep stage.

I will be making a release version soon which doesn't have this build step.

jack.

Fernando Padilla

unread,
Oct 1, 2009, 11:44:00 AM10/1/09
to str...@googlegroups.com
Wow. I didn't even realize this, but I guess I was adding all the js
files (i think the examples were doing that when I last looked). I
wonder if the change is recent.

But mostly I would like you to rename the strophe.js to something else..
so people can't make this mistake again :)

So either rename the small strophe strophe-base.js or rename the output
strophe-all-min.js or something like that. That would be greatly
appreciated! :)

Liam

unread,
Oct 1, 2009, 12:16:50 PM10/1/09
to Strophe
Oh. Didn't read that in readme. (Make? on a JS lib!?) Shoot, this is
Windows. Does Python come with a make clone?

(See, I knew mentioning a competitor would attract help :-)

Some ticket proposals:

1. Consider including a build in the releases.

2. Place md5.js, etc functions in a Strophe.Encoding object, to avoid
globals pollution.

3. Throw exception if not built (makefile would have to use grep -v
instead of cat)
Strophe.js
*** 15,19 ****
--- 15,21 ----
* information on BOSH can be found in XEP 124.
*/

+ /* omit */ throw "Build Strophe with make; do not use src/
strophe.js";
+
/** PrivateFunction: Function.prototype.bind
* Bind a function to an instance.

Thanks,

Liam

Kevin Le

unread,
Oct 1, 2009, 12:18:13 PM10/1/09
to str...@googlegroups.com
YUI Compressor is required in order to make.  

So if I get the zip or tar.gz, then I only have to just include strophe.js and no other file?

Liam

unread,
Oct 1, 2009, 12:32:43 PM10/1/09
to Strophe
OK, so I included src/*.js in the Echobot HTML. Still getting the
timeout failure to jabber.org. So, argh.

Is anyone able to run Echobot to jabber.org via Punjab?

Liam

Jack Moffitt

unread,
Oct 1, 2009, 12:38:59 PM10/1/09
to str...@googlegroups.com
> Oh. Didn't read that in readme. (Make? on a JS lib!?) Shoot, this is
> Windows. Does Python come with a make clone?

Yes, I will build an actual release pronto. It's been far too long coming.

> 1. Consider including a build in the releases.

There have been no releases yet, but there should be. The released
version will include HTML docs, a combined .js file, a combined and
minified .js file, and probably README and the license info, etc.

> 2. Place md5.js, etc functions in a Strophe.Encoding object, to avoid
> globals pollution.

This has been on my list for some time, but I haven't gotten around to it yet.

> 3. Throw exception if not built (makefile would have to use grep -v
> instead of cat)

I'm not sure I quite understand what you mean here. You mean to error
if any of the source files do not exist?

jack.

Jack Moffitt

unread,
Oct 1, 2009, 12:39:39 PM10/1/09
to str...@googlegroups.com
> YUI Compressor is required in order to make.
> So if I get the zip or tar.gz, then I only have to just include strophe.js
> and no other file?

I don't think YUI Compressor is required except for building the
minified one. The combined one should always build just fine.

jack.

Steffen Larsen

unread,
Oct 1, 2009, 12:44:49 PM10/1/09
to str...@googlegroups.com
I've tried to use punjab and connect to google.com and it works quite
fine.
Have you placed the echobot in the html directory?.. and do you have
some log messages?..

-Cheers!

/Steffen

Jack Moffitt

unread,
Oct 1, 2009, 12:46:45 PM10/1/09
to str...@googlegroups.com
Liam, I decided to start over from the beginning:

> My stack:
>  Strophe latest (in local javascript - file://...)
>  FF 3.5
>  Punjab latest (on localhost)
>  Python 2.6 + twisted
>  Windows XP

What is the URL in your browser when you run echobot.html? Is it a
file:// URL or a http:// URL?

If it's file:// it won't work at all. Firefox will not allow you to
make a cross-domain connection even from a file:// URL.

If it's an http:// URL, is it running on port 5280 along with Punjab?
Or is it on the default (or some other) port?

If it's not matching ports, Firefox security policy will also prevent
the connection.

I'm guessing you are just bumping into the security policy. There are
several solutions:

1) Run in Safari instead, which allows cross-domain connections from
file:// URLs.
2) Dump your code into Punjab's html directory so that it is served
along side the BOSH endpoint.
3) Set up a web server and proxy the BOSH endpoint underneath the local tree.
4) Use flXHR and strophe.flxhr.js to use Flash to work around this
problem. You'll also need to serve crossdomain.xml from Punjab's html
directory.
5) Use some other obscure cross-domain hackery to work around the
browser security policy.

jack.

Steffen Larsen

unread,
Oct 1, 2009, 12:53:02 PM10/1/09
to str...@googlegroups.com
Yup!.. I am sure that it is the problem with cross-domain. Put it in
the html folder under punjab and it will work.
Jack, shall we not make a small introduction about how to use the
strophe in a setup?.. e.g. together with punjab, punjab + proxy,
strophe and a xmpp server etc. This will make a clear overview of what
is needed. I feel that people ask the same questions again and
again. :-)
Otherwise thanks for a nice framework, Jack.. I've already build a lot
of different convenience methods for creating different XEPs. ;-)

-Well just my 50 cent, cheers!

/Steffen

Jack Moffitt

unread,
Oct 1, 2009, 12:55:07 PM10/1/09
to str...@googlegroups.com
> Jack, shall we not make a small introduction about how to use the
> strophe in a setup?.. e.g. together with punjab, punjab + proxy,
> strophe and a xmpp server etc. This will make a clear overview of what
> is needed. I feel that people ask the same questions again and
> again. :-)

The irony here is that I haven't done this because I've been too busy
writing a book about developing XMPP applications with JavaScript.

I'll get there :)

jack.

Steffen Larsen

unread,
Oct 1, 2009, 12:57:38 PM10/1/09
to str...@googlegroups.com
Ha ha ha.. Yes I know. Is it possible to commit to a READ.me file in
the repository?.. Then we could all contribute. I would gladly use a
couple of hours to update and write a bit there...

/Steffen

Jack Moffitt

unread,
Oct 1, 2009, 1:02:02 PM10/1/09
to str...@googlegroups.com
> Ha ha ha.. Yes I know. Is it possible to commit to a READ.me file in
> the repository?.. Then we could all contribute. I would gladly use a
> couple of hours to update and write a bit there...

Feel free to contribute! One of the easiest ways is just to fork my
repository on GitHub and issue a pull request when you're ready. You
can also e-mail patches or suggested documentation additions to this
list as well.

If you want to work on the initial version with cooperation from
others, you can also use the Wiki. I think anyone with a Trac account
on code.stanziq.com/strophe can make new wiki pages, etc.

jack.

Liam

unread,
Oct 1, 2009, 1:03:35 PM10/1/09
to Strophe
Jack & Steffen, I made the punjab html root point to the examples
directory, so I'm loading http://localhost:5280/echobot.html

I've copied all strophe/src files to that directory and made
echobot.html load each one.

Mentioned this in my 3rd post to the thread, with logs:
http://groups.google.com/group/strophe/msg/ecfb1aeb1278f2a5

Liam

Liam

unread,
Oct 1, 2009, 1:51:41 PM10/1/09
to Strophe
Sent a response and it didn't go thru? I don't have a cross-domain
issue. See logs from:

http://groups.google.com/group/strophe/msg/ecfb1aeb1278f2a5

Liam

khl

unread,
Oct 1, 2009, 1:52:33 PM10/1/09
to Strophe
A book on XMPP with JavaScript. Great idea and fits this group. But
how about a book on the server side using ejabberd and erlang too?

Steffen Larsen

unread,
Oct 1, 2009, 2:02:06 PM10/1/09
to str...@googlegroups.com
Then you should take a look at the ultimate XMPP book so far: http://oreilly.com/catalog/9780596521271
. Its a really good book. Even though I've been involved with XMPP
for a couple of years, it's still a nice benefit. Read it! :-)
A nice guide for XMPP starters... About ejabberd and xmpp server
friends, you should have a look at the different vendor sites..
Ejabberd doc. is quite good. You could also use openfire... Openfire
is straight forward and ok doc.

-Cheers!

/Steffen

Steffen Larsen

unread,
Oct 1, 2009, 2:03:51 PM10/1/09
to str...@googlegroups.com
Great Jack.. I will supply some doc probably here in this weekend. I
will also have a deeper look into the js files to see if it can be
optimized a bit.

-Cheers and great work!

/Steffen

Christopher Zorn

unread,
Oct 1, 2009, 2:53:11 PM10/1/09
to str...@googlegroups.com
Yes, something is happening to cause punjab to timeout when features
are recieved. They only thing I see that could cause the problem is
tls. Other than that I dont know what the problem could be.

Punjab works fine with jabber.org and google. I don't run it on
windows though. So there may be an issue.


> >
>

Liam

unread,
Oct 1, 2009, 4:25:34 PM10/1/09
to Strophe
And what of this attempt, vs. gmail, where it just gives up after
getting features?

http://groups.google.com/group/strophe/msg/79a8e5bf05f0a96c

Christopher Zorn

unread,
Oct 1, 2009, 4:44:49 PM10/1/09
to str...@googlegroups.com
On 10/1/09, Liam <networ...@gmail.com> wrote:
>
It looks similar to me because you get features with a starttls and
then it timesout.

I dont know why there is not another error.

I just added some debugging when its in verbose mode. Can you try the
latest punjab in git?

> >
>

Liam

unread,
Oct 1, 2009, 6:02:14 PM10/1/09
to Strophe
The gmail (2nd) attempt doesn't say timeout, it says connect ERROR
after getting features...

When running setup.py install, I get:
package init file 'twisted\plugins\__init__.py' not found (or not a
regular file)
But it completes OK

Log from attempt on jabber.org with the latest code:

2009-10-01 14:15:48-0700 [Uninitialized] SID:
0a3eaf8e5df8b20e649a84d5386442b7 => SEND: "<stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='jabber.org' version='1.0'>"
2009-10-01 14:15:48-0700 [XmlStream,client] SID:
0a3eaf8e5df8b20e649a84d5386442b7 => RECV: "<?xml version='1.0'?
><stream:stream xmlns='jabber:client' xmlns:stream='http://
etherx.jabber.org/streams' id='1617223966' from='jabber.org'
version='1.0' xml:lang='en'>"
2009-10-01 14:15:48-0700 [XmlStream,client] SID:
0a3eaf8e5df8b20e649a84d5386442b7 => RECV: "<stream:features><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression xmlns='http://
jabber.org/features/compress'><method>zlib</method></
compression><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-
sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></
mechanisms><register xmlns='http://jabber.org/features/iq-register'/></
stream:features>"
2009-10-01 14:15:48-0700 [XmlStream,client] Wait until starttls is
completed.
2009-10-01 14:15:48-0700 [XmlStream,client]
[<twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer
object at 0x0132D070>]
2009-10-01 14:16:14-0700 [-] ==================================
0a3eaf8e5df8b20e649a84d5386442b7 1254431774.45 startup timeout
==================================
2009-10-01 14:16:14-0700 [-]

RETURN HTTPB 1254431774.45:
2009-10-01 14:16:14-0700 [-] <body xmlns='http://jabber.org/protocol/
httpbind' inactivity='60' secure='true' authid='1617223966'
content='text/xml; charset=utf-8' window='5' polling='15'
sid='0a3eaf8e5df8b20e649a84d5386442b7' requests='2' wait='60'/>
2009-10-01 14:16:14-0700 [-] 127.0.0.1 - - [01/Oct/2009:21:16:13
+0000] "POST /xmpp-httpbind HTTP/1.1" 200 221 "http://localhost:5280/
echobot.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.3) Gecko/20090824 Firefox/3.5.3"
2009-10-01 14:16:14-0700 [HTTPChannel,2,127.0.0.1] HEADERS
1254431774.5:
2009-10-01 14:16:14-0700 [HTTPChannel,2,127.0.0.1] {'content-length':
'106', 'accept-language': 'en-us,en;q=0.5', 'accept-encoding':
'gzip,deflate', 'keep-alive': '300', 'accept': 'text/html,application/
xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'user-agent': 'Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/
3.5.3', 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'connection': 'keep-alive', 'referer': 'http://localhost:5280/
echobot.html', 'pragma': 'no-cache', 'cache-control': 'no-cache',
'host': 'localhost:5280', 'content-type': 'text/plain; charset=UTF-8'}
2009-10-01 14:16:14-0700 [HTTPChannel,2,127.0.0.1] HTTPB POST :
2009-10-01 14:16:14-0700 [HTTPChannel,2,127.0.0.1] <body
rid='862750610' xmlns='http://jabber.org/protocol/httpbind'
sid='0a3eaf8e5df8b20e649a84d5386442b7'/>
2009-10-01 14:16:14-0700 [HTTPChannel,2,127.0.0.1] 862750610
2009-10-01 14:16:47-0700 [-] SID: 0a3eaf8e5df8b20e649a84d5386442b7 =>
SEND: ' '
2009-10-01 14:16:48-0700 [XmlStream,client] connect ERROR
2009-10-01 14:16:48-0700 [XmlStream,client]
<twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x01331030>
2009-10-01 14:16:48-0700 [XmlStream,client] Punjab Error:
2009-10-01 14:16:48-0700 [XmlStream,client] Traceback (failure with no
frames):<class 'punjab.error.Error'>: remote-connection-failed
2009-10-01 14:16:48-0700 [XmlStream,client] None
2009-10-01 14:16:48-0700 [XmlStream,client] None
2009-10-01 14:16:48-0700 [XmlStream,client] HTTPB Error 200
2009-10-01 14:16:48-0700 [XmlStream,client] HTTPB Return Error: 200 ->
<body xmlns='http://jabber.org/protocol/httpbind' type='terminate'
condition='remote-connection-failed'/>
2009-10-01 14:16:48-0700 [XmlStream,client] 127.0.0.1 - - [01/Oct/
2009:21:16:47+0000] "POST /xmpp-httpbind HTTP/1.1" 200 105 "http://
localhost:5280/echobot.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
2009-10-01 14:16:48-0700 [XmlStream,client] expire
(0a3eaf8e5df8b20e649a84d5386442b7)
2009-10-01 14:16:48-0700 [XmlStream,client] 0
2009-10-01 14:16:48-0700 [XmlStream,client]
0a3eaf8e5df8b20e649a84d5386442b7
2009-10-01 14:16:48-0700 [XmlStream,client] 862750611
2009-10-01 14:16:48-0700 [XmlStream,client] SESSION -> We have expired
2009-10-01 14:16:48-0700 [XmlStream,client] SID:
0a3eaf8e5df8b20e649a84d5386442b7 => SEND: '</stream:stream>'
2009-10-01 14:16:48-0700 [XmlStream,client] Stopping factory
<punjab.session.Session object at 0x012D9690>

Liam

unread,
Oct 2, 2009, 7:19:19 AM10/2/09
to Strophe
Well, shoot... I just discovered that jabber.org doesn't support
pubsub (just PEP), so it seems I have to run my own XMPP server,
instead of linking my users to jabber.org via punjab. Any suggestions
for a server that supports bosh & pubsub and is easy to set up? Runs
on both Windows and Linux would be a help...

Liam

Steffen Larsen

unread,
Oct 2, 2009, 7:27:13 AM10/2/09
to str...@googlegroups.com
For a simple integration with the different platforms, you can use
openfire (http://www.igniterealtime.org/downloads/index.jsp#openfire).
It runs in a jvm (java) and is simple to run and setup. Just install
it, go to localhost (or domain) port 9090 (normally) and you get an
admin where you can do your config.

-Hope it will help you in the right direction..

/Steffen
Reply all
Reply to author
Forward
0 new messages