Re: frequent empty/closed connections

2009-08-06 Thread Fabian Keil
Scott Bennett benn...@cs.niu.edu wrote:

  On Mon, 03 Aug 2009 09:21:53 -0400 The Doctor dr...@virtadpt.net
 wrote:
 Scott Bennett wrote:
 
  Empty server or forwarder response.
  The connection has been closed but Privoxy didn't receive any data.
 ...
   Does anyone else get these, too?  I suspect that the problem may be in
  privoxy, rather than tor, but haven't yet figured out a test for that
  hypothesis.  Any ideas?

If the keep-alive-timeout directive is used, Privoxy versions before
3.0.14 beta don't take the latency into account and may try to reuse
a connection that has already been closed on the server side but still
appears to be open from the point of view of the client.

The result is the error message you mention above.

 I've been seeing this behavior off and on for a few months now, but not
 so often that I felt like tracking it down.  Generally, I just reload
 the page and everything's fine.
 
  Sometimes it takes several reload attempts to get it to work, though.
 It also thoroughly bollixes automatically refreshed pages like the small
 GOES East images I like to keep handy and updated to most recent half hour.
 Any other automated accesses, such as through curl, wget, et al. are also
 screwed when it happens.
  If someone has an idea of how to prove that the problem is in privoxy
 and not in tor, I can try to file a bug report there.

To really prove anything, you'd have to watch the server
side as well, without that you can still make assumptions,
though.

If you enable connection debugging in Privoxy, you can tell
from the log messages whether or not the problem happened
while reusing a connections.

If it only happens while reusing a connection it likely
is a Privoxy problem. Otherwise it most likely isn't.

If the problem goes away after disabling the keep-alive-timeout
directive, and reappears right after enabling it again, that
would indicate a Privoxy problem as well.

If you report a problem for Privoxy 3.0.12, the first response
will be Please try to reproduce it with 3.0.14 beta, so you
probably want to upgrade before looking into this.

A FreeBSD port skeleton is available on the SF project page. 

Fabian


signature.asc
Description: PGP signature


Re: frequent empty/closed connections

2009-08-04 Thread Scott Bennett
 On Mon, 03 Aug 2009 09:21:53 -0400 The Doctor dr...@virtadpt.net
wrote:
Scott Bennett wrote:

 Empty server or forwarder response.
 The connection has been closed but Privoxy didn't receive any data.
...
  Does anyone else get these, too?  I suspect that the problem may be in
 privoxy, rather than tor, but haven't yet figured out a test for that
 hypothesis.  Any ideas?

I've been seeing this behavior off and on for a few months now, but not
so often that I felt like tracking it down.  Generally, I just reload
the page and everything's fine.

 Sometimes it takes several reload attempts to get it to work, though.
It also thoroughly bollixes automatically refreshed pages like the small
GOES East images I like to keep handy and updated to most recent half hour.
Any other automated accesses, such as through curl, wget, et al. are also
screwed when it happens.
 If someone has an idea of how to prove that the problem is in privoxy
and not in tor, I can try to file a bug report there.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**


Re: frequent empty/closed connections

2009-08-03 Thread The Doctor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Scott Bennett wrote:

 Empty server or forwarder response.
 The connection has been closed but Privoxy didn't receive any data.
...
  Does anyone else get these, too?  I suspect that the problem may be in
 privoxy, rather than tor, but haven't yet figured out a test for that
 hypothesis.  Any ideas?

I've been seeing this behavior off and on for a few months now, but not
so often that I felt like tracking it down.  Generally, I just reload
the page and everything's fine.

- --

The Doctor [412/724/301/703]

PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F  DD89 3BD8 FF2B 807B 17C1
WWW: http://drwho.virtadpt.net/

For my next trick: anvils.  --Harry Dresden

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkp25HEACgkQO9j/K4B7F8GYTACgnb1pSyYjpI9K1bnhKFMlogT0
2PQAnjyK/DNOM3g7srAr2VjDu8ORnT/o
=5Pkt
-END PGP SIGNATURE-



frequent empty/closed connections

2009-07-31 Thread Scott Bennett
 With the last few versions of tor (I'm running 0.2.1.17-rc at present),
I've been getting a *lot* of the following messages in firefox.

Empty server or forwarder response.
The connection has been closed but Privoxy didn't receive any data.

In other words, instead of a web page, privoxy returns a page that is blank
except for the two lines of text shown above, which appear at the top of the
blank page.  This is with privoxy 3.0.12.  Usually, hitting refresh will get
the proper page, but sometimes it takes doing that a couple of times.
 Does anyone else get these, too?  I suspect that the problem may be in
privoxy, rather than tor, but haven't yet figured out a test for that
hypothesis.  Any ideas?
 Thanks in advance for any information or suggestions about this problem.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**