I&#39;m trying to add SSL support to an app that makes use of Perspective Broker. In my server I have the following:<br><br>ccf = ssl.ContextFactory()<br>ccf.method = SSL.TLSv1_METHOD<br>reactor.listenSSL(PORT, pb.PBServerFactory(RLFactory()), ccf)<br>
<br>and in my client I have this:<br><br>ccf = ssl.ClientContextFactory()<br>ccf.method = SSL.TLSv1_METHOD<br>reactor.connectSSL(server, MY_PORT, factory, ccf)<br>factory.getRootObject().addCallbacks(self._connected, self._connectFail)<br>
<br>When the client connects to the server, I get this:<br><br>2009/07/09 15:18 +0000 [Broker,0,216.162.33.146] Unhandled Error<br>    Traceback (most recent call last):<br>      File &quot;/usr/lib/python2.5/site-packages/twisted/python/log.py&quot;, line 48, in callWithLogger<br>
        return callWithContext({&quot;system&quot;: lp}, func, *args, **kw)<br>      File &quot;/usr/lib/python2.5/site-packages/twisted/python/log.py&quot;, line 33, in callWithContext<br>        return context.call({ILogContext: newCtx}, func, *args, **kw)<br>
      File &quot;/usr/lib/python2.5/site-packages/twisted/python/context.py&quot;, line 59, in callWithContext<br>        return self.currentContext().callWithContext(ctx, func, *args, **kw)<br>      File &quot;/usr/lib/python2.5/site-packages/twisted/python/context.py&quot;, line 37, in callWithContext<br>
        return func(*args,**kw)<br>    --- &lt;exception caught here&gt; ---<br>      File &quot;/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py&quot;, line 139, in _doReadOrWrite<br>        why = getattr(selectable, method)()<br>
      File &quot;/usr/lib/python2.5/site-packages/twisted/internet/tcp.py&quot;, line 362, in doRead<br>        return self.protocol.dataReceived(data)<br>      File &quot;/usr/lib/python2.5/site-packages/twisted/spread/banana.py&quot;, line 215, in dataReceived<br>
        raise NotImplementedError((&quot;Invalid Type Byte %r&quot; % (typebyte,)))<br>    exceptions.NotImplementedError: Invalid Type Byte &#39;\xbd&#39;<br><br>Am I going about this wrong or leaving something out?<br><br>
Sean<br>