Offline mode + HTTPS does not seem possible

"Pottinger, Hardy J." <[email protected]> Thu, 9 Jul 2015 18:38:19 +0000
Newsgroups gmane.comp.web.polipo.user
Message-ID <2CD26578BFA8024EBE6C0B84324FAD4670CD81E7@UM-MBX-T03.um.umsystem.edu>
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

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/