<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 26/06/12 15:12,
      <a class="moz-txt-link-abbreviated" href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a> wrote:<br>
    </div>
    <blockquote
cite="mid:20120626141215.2929.461329900.divmod.xquotient.21@localhost6.localdomain6"
      type="cite">On 25 Jun, 12:16 pm, <a class="moz-txt-link-abbreviated" href="mailto:martin@webscio.net">martin@webscio.net</a> wrote:
      <br>
      <blockquote type="cite">
        <blockquote type="cite">
          <br>
        </blockquote>
        No suggestions as to how I could get rid of this? :(
        <br>
      </blockquote>
      <br>
      I put together a minimal example of ReconnectingClientFactory for
      the connection refused case for you.&nbsp; It's attached.&nbsp; I don't see
      any errors logged.&nbsp; If your program differs from this, please
      modify the example until it produces the problem.&nbsp; Without this,
      it's very unlikely that anyone will be able to determine the
      problem or recommend a solution.
      <br>
      <br>
      For future questions, if you could put together this minimal
      example yourself, you'll probably find you get help more quickly.
      <br>
      <br>
      Here's the output I see when I run the program:
      <br>
      <br>
      2012-06-26 10:07:26-0400 [-] Log opened.
      <br>
      2012-06-26 10:07:26-0400 [-] Starting factory
      &lt;twisted.internet.protocol.ReconnectingClientFactory instance
      at 0x215ffc8&gt;
      <br>
      2012-06-26 10:07:26-0400 [Uninitialized]
      &lt;twisted.internet.ssl.Connector instance at 0x2164128&gt; will
      retry in 2 seconds
      <br>
      2012-06-26 10:07:26-0400 [Uninitialized] Stopping factory
      &lt;twisted.internet.protocol.ReconnectingClientFactory instance
      at 0x215ffc8&gt;
      <br>
      2012-06-26 10:07:28-0400 [-] Starting factory
      &lt;twisted.internet.protocol.ReconnectingClientFactory instance
      at 0x215ffc8&gt;
      <br>
      2012-06-26 10:07:28-0400 [Uninitialized]
      &lt;twisted.internet.ssl.Connector instance at 0x2164128&gt; will
      retry in 4 seconds
      <br>
      2012-06-26 10:07:28-0400 [Uninitialized] Stopping factory
      &lt;twisted.internet.protocol.ReconnectingClientFactory instance
      at 0x215ffc8&gt;
      <br>
      ^C2012-06-26 10:07:30-0400 [-] Received SIGINT, shutting down.
      <br>
      2012-06-26 10:07:30-0400 [-] Main loop terminated.
      <br>
      <br>
      <br>
      Jean-Paul
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Twisted-Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
</pre>
    </blockquote>
    <br>
    Thanks a lot for the suggestions! I tried plugging in a fake address
    (like you did) in my code and indeed I'm not getting the deferred
    message at the end. So apparently it only happens when a connection
    is actually established first and then lost. I'll try to figure out
    a minimal example where/why it starts happening (I'll probably know
    how to fix it then too.. I just thought there'd be an easier way).<br>
    <br>
  </body>
</html>