Pottinger, Hardy J.
2015-07-09 18:38:19 UTC
Hi, I'm trying to use Polipo as a way to facilitate offline access to code repositories (Maven central, github, etc) for my Vagrant-managed Virtualbox development environment. Our build process uses Grunt and Bower to pull in various pieces of front-end "stuff" and many of these URLs are https URLs to github, for example:
https://github.com/Modernizr/Modernizr.git
Now, I can have Polipo running, and the network on, on my guest machine I can successfully run
wget https://github.com/Modernizr/Modernizr.git
Which, I would assume, is caching the content. I then disable my network connection on my host machine, put Polipo in offline mode, and then re-attempt a wget of Modernizer... but I get the following:
Connecting to 10.0.2.2:8123... connected.
Proxy tunneling failed: Couldn't connect: Network is unreachableUnable to establish SSL connection
Running a tail -f on /var/log/polipo/polipo.log does not show me anything during this error.
Here is the only additions I've made to my /etc/polipo/config file:
disableIndexing = false
disableServersList = false
dnsUseGethostbyname = reluctantly
dnsQueryIPv6 = no
dnsQueryIPv6 = reluctantly
proxyOffline = yes
Any advice would be much appreciated, thanks!
On a positive note, despite not getting offline caching to work, I *have* noticed a considerable bump in compile performance. Down from 5 minutes to 2 minutes, with tests turned on. So, I'm moderately pleased about that. But, i would like to figure out this offline proxy stuff. :-)
--Hardy
https://github.com/Modernizr/Modernizr.git
Now, I can have Polipo running, and the network on, on my guest machine I can successfully run
wget https://github.com/Modernizr/Modernizr.git
Which, I would assume, is caching the content. I then disable my network connection on my host machine, put Polipo in offline mode, and then re-attempt a wget of Modernizer... but I get the following:
Connecting to 10.0.2.2:8123... connected.
Proxy tunneling failed: Couldn't connect: Network is unreachableUnable to establish SSL connection
Running a tail -f on /var/log/polipo/polipo.log does not show me anything during this error.
Here is the only additions I've made to my /etc/polipo/config file:
disableIndexing = false
disableServersList = false
dnsUseGethostbyname = reluctantly
dnsQueryIPv6 = no
dnsQueryIPv6 = reluctantly
proxyOffline = yes
Any advice would be much appreciated, thanks!
On a positive note, despite not getting offline caching to work, I *have* noticed a considerable bump in compile performance. Down from 5 minutes to 2 minutes, with tests turned on. So, I'm moderately pleased about that. But, i would like to figure out this offline proxy stuff. :-)
--Hardy