Closed StyXman closed 11 years ago
so the problem is that the authentication is failing:
2013-04-13 11:41:35+0200 [XmlStream,client] SID: 8f9f3e2d18065b04b65a072dbbee627039ed4c6f => RECV: "
I know the password is ok, so I think the problem is that the username is not correctly built. here's my setup:
To solve your problem you may need to use the route attribute when creating the BOSH session.
http://xmpp.org/extensions/xep-0124.html#session-request
The attibute error is a bug in Punjab and I will fix it.
Attribute error is fixed. I really need to fix these unit tests. :( Anyway, gonna close this out and you can open a new one if you are still having an issue.
I'm trying to setup a webclient at home. The webclient is jwchat, who suggests punjab for the HTTP/XMMP bridge. The error I get is:
2013-04-12 19:28:21+0200 [HTTPChannel,5,127.0.0.1] 127.0.0.1 - - [12/Apr/2013:17:28:21 +0000] "POST /http-bind/ HTTP/1.1" 200 68 "http://grulicueva.homelinux.net/~mdione/jwchat/jwchat.html" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12" 2013-04-12 19:28:21+0200 [XmlStream,client] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(args,kw) --- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 586, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 199, in doRead
rval = self.protocol.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 413, in dataReceived
self._flushReceiveBIO()
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 383, in _flushReceiveBIO
ProtocolWrapper.dataReceived(self, bytes)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 118, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/words/xish/xmlstream.py", line 74, in dataReceived
self.rawDataInFn(data)
File "/home/mdione/src/system/punjab/punjab/session.py", line 242, in rawDataIn
if self.pint.v:
exceptions.AttributeError: 'NoneType' object has no attribute 'v'
I'm pretty sure you will need more info, so just let me know what exactly. I checked out the code via git this morning.