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

SSL3_GET_RECORD Connection problem #54

Closed
bluszcz opened this issue Aug 8, 2014 · 2 comments
Closed

SSL3_GET_RECORD Connection problem #54

bluszcz opened this issue Aug 8, 2014 · 2 comments

Comments

@bluszcz
Copy link

bluszcz commented Aug 8, 2014

I am trying to connect to my jabberd2 server (nginx bosh) and I am getting the following:

2014-08-08 10:28:44+0000 [XmlStream,client] SID: 4f05cbb1c15353349ccf8ebbc6a00c6259221c37 => SEND: "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='jabberpl.org' version='1.0'>"
2014-08-08 10:28:44+0000 [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:412:dataReceived
        --- <exception caught here> ---
        /usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:519:_write
        /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:950:send
        /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:871:_raise_ssl_error
        /usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py:22:exception_from_error_queue
        ]
2014-08-08 10:28:44+0000 [XmlStream,client] HTTPB Error 200
2014-08-08 10:28:44+0000 [XmlStream,client] HTTPB Return Error: 200 -> <body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='remote-connection-failed'/>

Other clients have no problems to connect.

Problems appear when I try to run bosh with converse.js but also with Pigdin.

@bluszcz
Copy link
Author

bluszcz commented Aug 8, 2014

I made it working using Twisted-14.0.0.

@twonds
Copy link
Owner

twonds commented Aug 8, 2014

Which version were you using before?

@twonds twonds closed this as completed Apr 16, 2016
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

2 participants