-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Proxy Settings in Setup Phase #821
Comments
Wow, thank you for such a thorough report! I can confirm that this is an issue and will need a fix in the Busser gem to make it proxy-aware. |
Glad to help :) |
+1 |
+12 |
+1 |
Also being impacted by this, using the Docker driver:
AFAIK, this is not to do with the busser gem, but with the gem process not using the proxy to fetch any gems, in this case busser. I'll try @LevonBecker's workaround. |
I can confirm that the workaround works. |
Not working for me anymore
|
Going to close this in favor of more actionable issue on busser - I copied the issue text directly and thanks again for the report! |
So the client I'm currently working for has an obnoxious proxy that requires creds etc.
Environment
Kitchen Config (.kitchen.yml)
Proxy Settings Not Included in Setup/Verfy Stage
Adding the above to the .kitchen.yml fixes everything up to the phase where it needs to download Gems for ServerSpec. It seems the proxy is not set during the _setup_ stage.
As a test I added the following to the vagrant user _~/.bashrc_ and it _Fixes_ the problem.
Charles Proxy is basically a application that runs your own local proxy that you point all you Dev tools to and it saves your creds securely and in one spot (Easier for when changing password). So from a Vagrant guest to get to the hosted system it's IP 10.0.2.2 blah, and whatever port you tell Charles Proxy to listen on 8888 blah.
Bam, that fixes the issue. Which proves that the proxy is not getting set by the Kitchen code during the _setup_ stage.
I have not had time to dig into the Kitchen code to find exactly where the problem is... If I have time I will.
Errror
Thanks in advance for any help!
-=Levon
The text was updated successfully, but these errors were encountered: