Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception when disconnecting #42

Open
akarelas opened this issue Aug 15, 2013 · 8 comments
Open

Uncaught exception when disconnecting #42

akarelas opened this issue Aug 15, 2013 · 8 comments

Comments

@akarelas
Copy link

When disconnecting from a secure connection to Punjab with my Pidgin, I always get this uncaught exception:

2013-08-16 00:59:20+0300 [HTTPChannel (TLSMemoryBIOProtocol),1,172.16.160.1] 172.16.160.1 - - [15/Aug/2013:21:59:20 +0000] "POST /http-bind HTTP/1.1" 200 68 "-" "Pidgin 2.10.7 (libpurple 2.10.7)"
2013-08-16 00:59:20+0300 [XmlStream,client] connect ERROR: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL3_GET_RECORD', 'wrong version number')]
        /usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py:614:_doReadOrWrite
        /usr/lib/python2.7/dist-packages/twisted/internet/tcp.py:215:doRead
        /usr/lib/python2.7/dist-packages/twisted/internet/tcp.py:221:_dataReceived
        /usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:419:dataReceived
        --- <exception caught here> ---
        /usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:358:_flushReceiveBIO
        ]
2013-08-16 00:59:20+0300 [XmlStream,client] Stopping factory <punjab.session.Session object at 0x328f8d0>
@arpit1997
Copy link

arpit1997 commented Oct 30, 2016

hey @akarelas I got the same issue

        /usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py:614:_doReadOrWrite
        /usr/lib/python2.7/dist-packages/twisted/internet/tcp.py:215:doRead
        /usr/lib/python2.7/dist-packages/twisted/internet/tcp.py:221:_dataReceived
        /usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:419:dataReceived
        --- <exception caught here> ---
        /usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:358:_flushReceiveBIO
        ]
2013-08-16 00:59:20+0300 [XmlStream,client] Stopping factory <punjab.session.Session
 object at 0x328f8d0>

So did you find any solutions to this error. If you find please ping me.

@akarelas
Copy link
Author

@arpit1997 , I created my own websocket XMPP server, so I stopped needing and using punjab.

@arpit1997
Copy link

@akarelas Oh that is cool that you left and stop using punjab Can you tell me some overview of this wesocket XMPP server that you have built. and more importantly is it on Github or any other VCS so that i can have a look at it and if it is good then i can also move on from this server to yours

Thanks for your help . Hope to hear from you.
😄 🛩️ 😸

@akarelas
Copy link
Author

@arpit1997 Well, I used to use it, while I was developing my website. It's KJabberd (has a public github repo under akarelas), but it's no good. Nowadays, if I needed to do something similar, I would use Prosody XMPP server that does everything and more: https://prosody.im/

@Neustradamus
Copy link

@akarelas: Where is KJabberd?

@akarelas
Copy link
Author

akarelas commented Apr 6, 2019

@Neustradamus It was my first OO program. The code was so terribly crappy that I took it down for fear of embarrassment. If you give me your bitbucket account name, I can give you access to my private KJabber repo there.

@Neustradamus
Copy link

@akarelas: Thanks, same id ^^

@akarelas
Copy link
Author

akarelas commented Apr 8, 2019

@Neustradamus I gave you access to both my KJabberd repositories. I don't remember why there are two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants