Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 917571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:13:57+00:00 2026-05-15T18:13:57+00:00

I wrote a Twisted Python HTTP proxy, and keep getting the following Traceback after

  • 0

I wrote a Twisted Python HTTP proxy, and keep getting the following Traceback after navigating to a page through the proxy.

Traceback (most recent call last):
  File "C:\ZBrownTechnology\Web Lock\Proxy.py", line 57, in <module>
    reactor.run()
  File "C:\Python26\lib\site-packages\twisted\internet\base.py", line 1165, in run
    self.mainLoop()
  File "C:\Python26\lib\site-packages\twisted\internet\base.py", line 1177, in mainLoop
    self.doIteration(t)
  File "C:\Python26\lib\site-packages\twisted\internet\selectreactor.py", line 140, in doSelect
   _logrun(selectable, _drdw, selectable, method, dict)
--- <exception caught here> ---
  File "C:\Python26\lib\site-packages\twisted\python\log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
  File "C:\Python26\lib\site-packages\twisted\python\log.py", line 69, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "C:\Python26\lib\site-packages\twisted\python\context.py", line 59, in ca
llWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "C:\Python26\lib\site-packages\twisted\python\context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "C:\Python26\lib\site-packages\twisted\internet\selectreactor.py", line 156, in _doReadOrWrite
    self._disconnectSelectable(selectable, why, method=="doRead")
  File "C:\Python26\lib\site-packages\twisted\internet\posixbase.py", line 250,
in _disconnectSelectable
    selectable.readConnectionLost(f)
  File "C:\Python26\lib\site-packages\twisted\internet\tcp.py", line 508, in readConnectionLost
    self.connectionLost(reason)
  File "C:\Python26\lib\site-packages\twisted\internet\tcp.py", line 677, in connectionLost
    Connection.connectionLost(self, reason)
  File "C:\Python26\lib\site-packages\twisted\internet\tcp.py", line 519, in connectionLost
    protocol.connectionLost(reason)
  File "C:\Python26\lib\site-packages\twisted\web\http.py", line 489, in connectionLost
    self.handleResponseEnd()
  File "C:\Python26\lib\site-packages\twisted\web\proxy.py", line 88, in handleResponseEnd
    self.father.finish()
  File "C:\Python26\lib\site-packages\twisted\web\http.py", line 900, in finish
    "Request.finish called on a request after its connection was lost; "
exceptions.RuntimeError: Request.finish called on a request after its connection
 was lost; use Request.notifyFinish to keep track of this.

What does this mean? How do I fix it? Is it a module problem, or a problem in my code? I am on Windows XP using Python 2.6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:13:57+00:00Added an answer on May 15, 2026 at 6:13 pm

    This is a known bug in twisted.web.proxy. It’s typically harmless. If it’s causing problems for you, please consider contributing a patch to fix it!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just getting started with twisted.web, and I'm having trouble importing a Python module
I wrote an application server (using python & twisted) and I want to start
I wrote a collada loader for my model viewer. Write now it loops through
I am a newcomer to the Python and Twisted game so excuse the ignorance
I am learning network programming using twisted 10 in python. In below code is
I wrote a server based on Twisted, and I encountered a problem, some of
I'm creating a chat daemon in python and twisted framework. And I'm wondering if
I am working my way through learning Twisted, and have stumbled across something I'm
Hey. I only recently started using Python, and my friend suggested using Twisted as
I want to write a server that can accept multiple clients in python (twisted).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.