I was pleased to see polipo updated to v1.1.1 recently, so I thought I'd give it another go!
I have used it before without problems, but this time I can't get it to use a disk cache. I am sure I'm doing something simple wrong, but for the life of me I just can't see it!! Maybe someone could glance at my configuration and point out my stupidity?
Here is some debugging information:
root@openwrt:/# ps -w | grep polipo
3265 root 3220 S /usr/sbin/polipo -c /var/etc/polipo.conf
14759 root 1356 S grep polipo
root@openwrt:/# cat /var/etc/polipo.conf
### AUTOGENERATED CONFIGURATION
### DO NOT EDIT
### SEE /etc/config/polipo INSTEAD
### SECTION daemon
pidFile = "/var/run/polipo.pid"
daemonise = true
### SECTION general
proxyAddress = "0.0.0.0"
chunkHighMark = 2097152
logLevel = 0x2F
proxyPort = 8123
dnsMaxTimeout = 15
dnsQueryIPv6 = false
dnsUseGethostbyname = false
disableIndexing = false
disableServersList = false
logSyslog = true
allowedClients = "127.0.0.1", "172.16.0.0/12"
### SECTION cache
diskCacheTruncateTime = 3333d
diskCacheUnlinkTime = 9999d
cacheIsShared = true
### SECTION pmm
### VALUES THAT ARE DISABLED WHEN EMPTY
diskCacheRoot = "/opt/var/cache/polipo"
logFile = "/var/polipo.log"
localDocumentRoot = ""
root@openwrt:/# ls -al /opt/var/cache/polipo
drwxrwxrwx 2 root root 4096 Jul 21 16:11 .
drwxr-xr-x 4 root root 4096 Jul 20 22:28 ..
On http://172.27.0.1:8123/polipo/servers?, I can see the server list, and on http://172.27.0.1:8123/polipo/status?, I can see the objects in memory (and objects are being 'superseded' in the log).
However, http://172.27.0.1:8123/polipo/index? is empty, and if I click on Write out in-memory cache via http://172.27.0.1:8123/polipo/status?, nothing happens.
There are no helpful messages in the log file:
root@openwrt:/# rm /var/polipo.log
root@openwrt:/# /etc/init.d/polipo restart
root@openwrt:/# cat /var/polipo.log
Established listening socket on port 8123.
Any ideas?
(Last edited by zxdavb on 25 Sep 2014, 10:34)