#864 Privoxy stop to work after a while

version 3.0.21
pending
Fabian Keil
5
2014-08-21
2013-08-30
Giova84
No

After a while (about 30 mins) privoxy stop to work, and thi soccurs with any browser.
Which is happen, with any browser configured to use privoxy, consist in the fact that no webpages are opened, and i also doesn't obtain any error about timeout. Web pages/sites still attempt to load without errors. I have also tried to quit and kill privoxy from a Terminal window (kill privoxy) then start it again (i have also tried using another config file) but the issue is still here.
Obviously my internet connetcion works fine, since if i kill privoxy and i configure my browser without a proxy server, i can propery load webpages.
I use Haiku as OS and privoxy 3.0.21
I cas use privoxy as simple web filter and also with TOR, without any issue, except for the fact that privoxy itself, as i've said, stop to work after about 30 mins. To use it again, i have to restart my system. While privoxy stop to work, i am also unable to open the web config page.

The log file doesn't show anything about/useful.

In anyway, for now, i've found a workaround to avoid this issue. I made a shell script like this:

while true
do
privoxy /boot/common/etc/privoxy/config &
sleep 25m
kill privoxy
done
fi

Every 25 mins, Privoxy is automatically killed and then is started again.. For now seems that no longer hangs, thanks to this "auto renewal"..

Discussion

1 2 3 4 > >> (Page 1 of 4)
  • Giova84
    Giova84
    2013-08-30

    after a reboot, this time, from startup, privoxy is "dead" after only 10 mins.

     
  • Fabian Keil
    Fabian Keil
    2013-08-30

    Thanks for the report.

    Please enable the debug directives recommended at:
    http://www.privoxy.org/user-manual/contact.html
    and post the last ~30 log messages before Privoxy "stops working".

    You could also try replacing the "kill privoxy" in your script with "touch /boot/common/etc/privoxy/config" to see if it works around the problem as well.

     
  • Fabian Keil
    Fabian Keil
    2013-08-30

    • assigned_to: nobody --> fabiankeil
    • labels: 103839 --> haiku-specific
    • status: open --> pending
     
  • Giova84
    Giova84
    2013-08-31

    • status: pending --> open
     
  • Giova84
    Giova84
    2013-08-31

    Yesterday Privoxy has worked for some hours (from afternoon till 5:00 AM) without issue (and without using the mentioned script to renew it again every tot minutes)
    Today has worked only for seven minutes!

    I tried with "touch /boot/common/etc/privoxy/config" but doesn't solve.
    I have also activated "debug 8192" in the config file, but the log file only show me messages about yesterday; nothing related to today, about the fact that Privoxy has stopped to work again. And aslo as i've said, yesterday has worked without issues all day long.
    In anyway this is the log:
    2013-08-30 20:14:57.785 03b2d190 Error: Denying access to http://config.privoxy.org/send-stylesheet. No referrer found.
    2013-08-30 20:15:02.586 03b2d190 Error: Denying access to http://config.privoxy.org/send-stylesheet. No referrer found.
    2013-08-30 22:01:19.706 03bb93e0 Error: Denying access to http://config.privoxy.org/send-stylesheet. No referrer found.
    2013-08-31 04:53:52.851 03c167d0 Error: Didn't receive data in time: s-static.ak.facebook.com:443

    Works very randomly. Sometimes works only for few minutes, sometimes for an half hour, some times for some hours and sometimes for all day long.

    What can i also attempt to do?

     
  • Giova84
    Giova84
    2013-08-31

    But especially i don't understand why, to have privoxy working again, i have to restart the whole system and is not enough just kill it and start it again. The previous script kill privoxy before it stop to work. But if i attempt to kill privoxy once is "dead", the kill command doesn't solve.
    There are some temporary files that i have to delete or something similar?

     
  • Giova84
    Giova84
    2013-09-02

    Update:
    Privoxy, yesterday and today has worked perfectly, without any issue. Has worked about for 20 hours.
    Then, just few minutes ago is "dead" again. If i look at the log, no error is showed, just normal activity of browsing.

    The logfile only show a bunch of
    2013-09-02 20:46:41.757 0477e108 Request:
    followed by web pages.

    And i didn't notice some problematic website. In two days i have browsed a lot of websites.
    Any other suggestion?

     
  • Fabian Keil
    Fabian Keil
    2013-09-03

    • status: open --> pending
     
  • Fabian Keil
    Fabian Keil
    2013-09-03

    You could provide the log excerpt as initially requested. If your log only contains "Request:" messages you aren't using the recommended debug directives.

     
  • Giova84
    Giova84
    2013-09-03

    • status: pending --> open
     
1 2 3 4 > >> (Page 1 of 4)