"vagrant up" has a long delay before proceeding when running behind a VPN w/proxy

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"vagrant up" has a long delay before proceeding when running behind a VPN w/proxy

William Saxton
When I connect into my company VPN (which lives behind a proxy) and do "vagrant up" on one of my VM's, there is a long delay (couple minutes) before the:

    Bringing machine 'example' up with 'virtualbox' provider...

appears.  I'm guessing vagrant tries to do something "networky" and eventually has to time out before proceeding.  Any idea what this could be?  I'm wondering if there is something I can configure in my Vagrantfile to stop this from happening.

Its just a slight nuisance.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: "vagrant up" has a long delay before proceeding when running behind a VPN w/proxy

Alvaro Miranda Aguilera
hello

Ass this and check if helps:
 config.vm.box_check_update = false


if not, try to setup verbose logging

set VAGRANT_LOG=debug

or

export VAGRANT_LOG=debug

and do a Vagrant up on vpn

Thanks
Alvaro


On Fri, Mar 24, 2017 at 9:12 PM, William Saxton <[hidden email]> wrote:
When I connect into my company VPN (which lives behind a proxy) and do "vagrant up" on one of my VM's, there is a long delay (couple minutes) before the:

    Bringing machine 'example' up with 'virtualbox' provider...

appears.  I'm guessing vagrant tries to do something "networky" and eventually has to time out before proceeding.  Any idea what this could be?  I'm wondering if there is something I can configure in my Vagrantfile to stop this from happening.

Its just a slight nuisance.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exT9BCdwhDAstgGRngM4XoiS4F_dSJ9jQCe%3DPze6wd%2B-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: "vagrant up" has a long delay before proceeding when running behind a VPN w/proxy

William Saxton
box_check_update was already set to false when this happened.

I ran vagrant up with debugging turned on, both with and without VPN.  The logs are identical so no new information there.

Here is the log.  I put ***HANGS HERE*** where the hang occurs :

DEBUG command: Finding machine that match name: build

 INFO loader: Set :root = ["#<Pathname:C:/work/projects/swr-puppet/control-repo-ssdc/Vagrantfile>"]

DEBUG loader: Populating proc cache for #<Pathname:C:/work/projects/swr-puppet/control-repo-ssdc/Vagrantfile>
DEBUG loader: Load procs for pathname: C:/work/projects/swr-puppet/control-repo-ssdc/Vagrantfile

 INFO loader: Loading configuration in order: [:home, :root]

DEBUG loader: Loading from: root (evaluating)

DEBUG loader: Configuration loaded successfully, finalizing and returning

DEBUG push: finalizing

 INFO loader: Set "36435876_machine_build" = ["[\"2\", 
#<Proc:0x3271848@C:/work/projects/swr-puppet/control-repo-ssdc/Vagrantfile:138>]"]

DEBUG loader: Populating proc cache for ["2", 
#<Proc:0x3271848@C:/work/projects/swr-puppet/control-repo-ssdc/Vagrantfile:138>]

 INFO loader: Loading configuration in order: [:home, :root, "36435876_machine_build"]

DEBUG loader: Loading from: root (cache)

DEBUG loader: Loading from: 36435876_machine_build (evaluating)

DEBUG loader: Configuration loaded successfully, finalizing and returning

DEBUG push: finalizing

***HANGS HERE***

 DEBUG base: Windows, checking for VBoxManage on PATH first

 INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe

 INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "--version"]

 INFO subprocess: Command not in installer, restoring original environment...

DEBUG subprocess: Selecting on IO

DEBUG subprocess: stdout: 5.1.10r112026

DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000

DEBUG subprocess: Exit status: 0
 



On Friday, March 24, 2017 at 11:01:00 PM UTC-4, Alvaro Miranda Aguilera wrote:
hello

Ass this and check if helps:
 config.vm.box_check_update = false


if not, try to setup verbose logging

set VAGRANT_LOG=debug

or

export VAGRANT_LOG=debug

and do a Vagrant up on vpn

Thanks
Alvaro


On Fri, Mar 24, 2017 at 9:12 PM, William Saxton <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="SwroDpDHAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sax...@...> wrote:
When I connect into my company VPN (which lives behind a proxy) and do "vagrant up" on one of my VM's, there is a long delay (couple minutes) before the:

    Bringing machine 'example' up with 'virtualbox' provider...

appears.  I'm guessing vagrant tries to do something "networky" and eventually has to time out before proceeding.  Any idea what this could be?  I'm wondering if there is something I can configure in my Vagrantfile to stop this from happening.

Its just a slight nuisance.

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="SwroDpDHAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/bb4907db-8145-46d2-b44a-9c429649b075%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/530b71f8-166a-4f12-a9cf-6ee176134ac1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.