Closed chimericdream closed 5 years ago
@chimericdream Can you give us a small set of Vagrantfile and related items which can produce this.
I think you use cookbook for apt, but it is difficult to understand without Vagrantfile. If I can reproduce this phenomenon, it could be easy to understand for me.
Thank you.
Certainly. I'll try to pare down the machine I'm working with to the minimum set of cookbooks that can reproduce the issue and post a link as soon as I can.
@chimericdream sorry, I don't seem to be able to reproduce this myself. If you can't provide a repro setup, could you at least set chef.log_level = :debug
, run vagrant provision --debug
, and gist all the huge amount of output?
The error seems to come from OpenURI/Net::HTTP, so this might Ruby version specific issue too. Or Chef version specific, the latest releases handle proxies better than the earlier ones.
Closing issue, no further information received.
When switching back and forth between environments with and without a proxy (e.g. work and home), the proxy settings for apt repositories using PPA URIs become invalid.
I can reproduce this by doing the following:
The last step fails with an error similar to the one below:
I originally came across this issue when testing possible configuration issues (on my end) related to issue #87.