[Twisted-Python] SSL: wrong version number

Voznesensky Vladimir vovic at nfi.kiae.ru
Thu Jun 14 12:51:05 EDT 2007


Hello.

I'm trying to write a twisted client for MyProxy server.
This grid service uses TLS.
When using blocking calls, everything is ok.
When trying to estabilish a twisted connection
using reactor.connectSSL(host, port, f, contextFactory)
with _the_same_ context in contextFactory, the error 
occures:

[Failure instance: Traceback (failure with no frames): 
<class 'OpenSSL.SSL.Error'>: [('SSL routines', 
'SSL3_GET_RECORD', 'wrong version number')]

You can do it yourself by simply connecting to 
myproxy.cern.ch:7512

Is there anybody aware of such problem?

Thanks,
VV




More information about the Twisted-Python mailing list