> If you run polipo as root, and use it as a proxy, it doesn't fill the
> cache directory, correct?

Correct.

> Now, the tests. Two come to mind: first, make sure you are absolutely
> using the correct proxy.

I'm pretty sure I do:
- if I stop polipo, the web-browser (and aptitude) complains that the
  connection to the proxy was refused.
- when I set disableIndex and disableServersList to false, I do see
  the sites I visit appear in proxy:8123/polipo/servers?

> (Details below.) Second, try removing
> 'diskCacheRoot' from the configuration and try again.

I already tried that.

> I'd also ask if you set your permissions straight, but you say you are
> using polipo as root. On that note, where is /var/polipo/cache ?

In the /var/cache partition, which is an ext4 partition.

> In the sense, on what device?

on an LVM volume.

> How is the filesystem mounted?

/etc/fstab "nodev,nosuid,noatime".

> Is it maybe mounted "read-only"? (Test by doing `mount' in
> the terminal.)

No.

> Test the cache using the following protocol:
> 1. kill polipo, start polipo
> 2. in a shell, perform:
> `http_proxy=http://your-polipo-ip:your-polipo-port/ wget
> http://www.atmel.com/` Post the output here.
> 3. kill polipo again
> 4. inspect /var/cache/polipo

See below.

> BTW, is this an ARM machine?

Yes, an Orange Pi mini with a 2TB drive, serving as my home server.

Now for the interesting result:

After yet more testing, I did finally find a config that works:

    # /usr/bin/polipo -c /dev/null daemonise=false logSyslog=false

[ The reason why I hadn't found it before is that I didn't realize
  /etc/polipo/config was read by default, so I was lacking the "-c
  /dev/null".  ]

>From there a binary search quickly found the root "cause", which turned
out to be:

    localDocumentRoot=""

if I remove this config, things go back to normal.


        Stefan


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to