[Twisted-Python] I'm missing something on SSL-encrypted PB connections...

Itamar Shtull-Trauring itamar at itamarst.org
Tue Dec 20 13:41:49 EST 2005

On Tue, 2005-12-20 at 13:25 -0500, Mike C. Fletcher wrote:

> I'm working on refining a load-sharing mechanism to run across a number 
> of pb connections (sharing processor time and/or access to a network).  
> One of the requirements I have is that I must be able to run the pb 
> connections over encrypted channels.  However, when I try to set up an 
> SSL-encrypted server (using the same mechanisms I've used for setting up 
> SSL-encrypted Nevow sites and the same ones in the echo examples) I 
> always get a connection refused error on the client when I try to connect.

That's because you haven't actually started listening on the port; you
forgot to do serve.startService() in your code. Or, since you're using
reactor directly, you can just reactor.listenSSL instead of using a

More information about the Twisted-Python mailing list