Hello,<div><br></div><div>I&#39;ve looked through the mailing list and already found this reference to get the IP address when using xmlrpc:</div><div><br></div><div><a href="http://twistedmatrix.com/pipermail/twisted-python/2004-June/007987.html">http://twistedmatrix.com/pipermail/twisted-python/2004-June/007987.html</a></div>
<div><br></div><div>But it is not working.</div><div><br></div><div>I have added this to my class that inherits from xmlrpc.XMLRPC</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>def render(self, request):</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>self.request = request</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>xmlrpc.XMLRPC.render(self, request)</div><div><br></div><div>
<br></div><div>Now when I call any function the log says:</div><div><div>2009-12-14 12:29:18-0500 [-] /usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/web/xmlrpc.py:148: exceptions.UserWarning: Warning! request.finish called twice.</div>
<div><br></div><div>I have two XMLRPC classes, and one of them is a subHandler, but the subhandler&#39;s render method never gets called as far as I&#39;ve seen (so it shouldnt be causing request.finish to be called twice)  and just to be sure I added this to only the parent XMLRPC class.</div>
<div><br></div><div>Any ideas why this would cause request.finish to be called twice?</div></div></div>