HTTPB Return Error: 200 - using Openfire + Punjab

Hey guys,

I’ve got this error bellow using Jappix Mini with JsJaC on a server with Openfire + Punjab… I don’t know what is happening in this case…

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] HEADERS 1315243321.04:

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] {‘origin’: ‘http://prisma’, ‘content-length’: ‘264’, ‘via’: ‘1.1 10.1.1.10 (IIRF v2.1)’, ‘accept-language’: ‘pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4’, ‘accept-encoding’: ‘gzip,deflate,sdch’, ‘x-forwarded-host’: ‘prisma’, ‘x-forwarded-for’: ‘10.1.1.27’,‘host’: ‘prisma’, ‘accept’: ‘/’, ‘user-agent’: ‘Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1’, ‘accept-charset’: ‘ISO-8859-1,utf-8;q=0.7,*;q=0.3’, ‘connection’: ‘keep-alive’, ‘referer’: ‘http://prisma/nopcommercestore_chatatheneum/Default.aspx’, ‘cookie’: ‘.ASPXANONYMOUS=RXa54IGizAEkAAAANTE0YTBhYWQtYWJmNC00NWM4LTk2ZDAtOTk3Mjc4MTA0N2N kp_aaBeFasBLVRpBRjNDRRzdFC4syOuqAvM5Hfwv7cVk1; ASP.NET_SessionId=ziuxnu2oigdu2yuvfrppcd50; NOPCOMMERCE.AUTH=6EE583DE9475FC05BC0209121573AD1023CB9439FE52DF22C4D3397B973070 EF09E0E313940BFB564E7C868D6DB6C9423C1F02BDD2F225B361E0582B669FBAA7E9588D9E93349 2 445F7550E64904ED6D172F8D96E5C420544642684E91701F26706478797276B3AF845506434BC8A 5 21A19E7D1603BD4911B890BC11FF8933D7395335245A5FE640367C1722A41AF666; Nop.CustomerSessionGUIDCookie=ca15bbed-e363-4029-889d-e25f24978c12’, ‘x-forwarded-server’: ‘prisma’, ‘content-type’: ‘text/xml; charset=UTF-8’}

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] HTTPB POST :

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10]

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] Session Created : 15afc413e7ece8f7015df56130a25453e474103c 1315243321.04

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] ================================== 1315243321.04 connect to prisma:5222 ==================================

2011-09-05 14:22:01-0300 [HTTPChannel,1,10.1.1.10] Starting factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:01-0300 [-] <class ‘twisted.names.dns.DNSDatagramProtocol’> starting on 64433

2011-09-05 14:22:01-0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604150>

2011-09-05 14:22:01-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] <punjab.session.XMPPClientConnector instance at 0x01609030> will retry in 2 seconds

2011-09-05 14:22:01-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Stopping factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:01-0300 [-] (Port 64433 Closed)

2011-09-05 14:22:01-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604150>

2011-09-05 14:22:03-0300 [-] Starting factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:03-0300 [-] <class ‘twisted.names.dns.DNSDatagramProtocol’> starting on 5566

2011-09-05 14:22:03-0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604F50>

2011-09-05 14:22:03-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] <punjab.session.XMPPClientConnector instance at 0x01609030> will retry in 6 seconds

2011-09-05 14:22:03-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Stopping factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:03-0300 [-] (Port 5566 Closed)

2011-09-05 14:22:03-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604F50>

2011-09-05 14:22:10-0300 [-] Starting factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:10-0300 [-] <class ‘twisted.names.dns.DNSDatagramProtocol’> starting on 64985

2011-09-05 14:22:10-0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604170>

2011-09-05 14:22:10-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Abandoning <punjab.session.XMPPClientConnector instance at 0x01609030> after 3 retries.

2011-09-05 14:22:10-0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Stopping factory <punjab.session.Session object at 0x016043B0>

2011-09-05 14:22:10-0300 [-] (Port 64985 Closed)

2011-09-05 14:22:10-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x01604170>

2011-09-05 14:22:30-0300 [-] ================================== 15afc413e7ece8f7015df56130a25453e474103c 1315243350.3 startup timeout ==================================

2011-09-05 14:22:30-0300 [-] HTTPB Error 200

2011-09-05 14:22:30-0300 [-] HTTPB Return Error: 200 ->

2011-09-05 14:22:30-0300 [-] 10.1.1.10 - - [05/Sep/2011:17:22:29 +0000] “POST /http-bind HTTP/1.1” 200 105 “http://prisma/nopcommercestore_chatatheneum/Default.aspx” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1”

Anyone know what cause this error (HTTPB Error 200)? I reviewed configuration Punjab and Openfire and I searched on web about this error but not found anything that help me…

I’m using ejabberd as jabber server or openfire(currently in use), the problem appears in both.

Python 2.7.2

Twisted 11.0.0 for Python 2.7

pyOpenSSL 0.12

zope.interface 3.7.0

Please, I need urgent help!

Thank you for your attention,

Gregory

Anyone know this error?? Please, I need urgent help …

Thks,

Gregory

I found this solution… in case anyone is interested:

https://github.com/twonds/punjab/issues/13

https://github.com/twonds/punjab/blob/f074deb8e2a1af73ec112b58d77b00ca1f962f87/p unjab/session.py