Giter Club home page Giter Club logo

Comments (14)

daniel-de-wit avatar daniel-de-wit commented on July 30, 2024

Is there any way around this problem? I would love to use this but can't get it to work.

from vagrant-notify.

vjm avatar vjm commented on July 30, 2024

+1

from vagrant-notify.

fgrehm avatar fgrehm commented on July 30, 2024

the plugin works, but it will mess things up only when provisioning fails. I'm willing to extract the http notification server out to a separate project but I haven't had a chance to do that yet, I'll report back when that happens!

from vagrant-notify.

fgrehm avatar fgrehm commented on July 30, 2024

I've done some progress on this recently, doesn't work as a vagrant plugin yet but at some point it will :-) https://github.com/fgrehm/notify-send-http

from vagrant-notify.

vjm avatar vjm commented on July 30, 2024

I'd be happy to help get this going but am not sure how to help. Any suggestions?

from vagrant-notify.

fgrehm avatar fgrehm commented on July 30, 2024

I'll soon provide precompiled binaries for the project, manual testing of the client / server will be much wanted before I dive into getting the plugin to use them :-) I'll report back once I'm able to get them out!

from vagrant-notify.

fgrehm avatar fgrehm commented on July 30, 2024

@vjm https://github.com/fgrehm/notify-send-http has a vagrant installer and docs now. any feedback would be greatly appreciated since that is likely to become the foundation of vagrant-notify 1.0

from vagrant-notify.

Driklyn avatar Driklyn commented on July 30, 2024

@fgrehm Just to let you know, we're now successfully using notify-send-http in our Vagrant / CentOS guest / Mac host local dev environment.

vagrant-notify worked initially, but only if you installed the plugin after vagrant up (with Chef) finished executing. If the plugin was installed already and you tried to run vagrant up, it would either error out with "The SSH connection was unexpectedly closed by the remote end" or break the shared folders between Vagrant and your OS.

And if you tried doing a vagrant destroy then vagrant up for a fresh instance (with the plugin already installed), the vagrant up command would never successfully execute because the plugin would fail after trying to SSH into the VM after only one attempt and stop vagrant up from executing further... However, on the first attempt, the VM is always still booting up and not yet ready to go. It typically takes about 3 attempts for SSH access to work for me personally.

I did manage to use vagrant-notify for a few days just fine, but then all these issues started appearing and prompted me to switch to notify-send-http instead -- which I'd say is even nicer since it doesn't require you to install it as a Vagrant plugin (which, btw, didn't work in Vagrant 1.6.3 -- had to upgrade to the latest: 1.7.2).

Anyways... thanks for all your hard work! Much appreciated.

from vagrant-notify.

fgrehm avatar fgrehm commented on July 30, 2024

Thanks for reporting!

from vagrant-notify.

nrwiersma avatar nrwiersma commented on July 30, 2024

As a pre warning I don't really know ruby and I have never made a vagrant plugin.

That being said I was having this issue and dug into it a little and found that if you change plugin.rb line 16 to hook VagrantPlugins::ProviderVirtualBox::Action::WaitForCommunicator rather than VagrantPlugins::ProviderVirtualBox::Action::Boot it seems to stop the issue of first boot failing and it still seems to send notifications.

Maybe that helps?

from vagrant-notify.

hardyoyo avatar hardyoyo commented on July 30, 2024

How very odd. I was successfully using the vagrant-notify plugin with Vagrant 1.6.5 on Linux Mint 17 (pretty much just Ubuntu Trusty 64), but after I upgraded to Vagrant 1.7.2, I ran into many issues with shared folders, and I also noticed that vagrant-notify was no longer working 100%... it still worked for provisioning notifications, however, when running notify-send from the guest, no messages were sent. I have now successfully tested notify-send-http, and that seems to work fine. Now I have to figure out how to configure my Vagrant-managed VM to actually set up the notify-send-http client. I have uninstalled the vagrant-notify plugin, and will alert my fellow developers that it may cause issues with Vagrant 1.7.2 and shared/synced folders. I would love for this functionality to again be wrapped up in a simple Vagrant plugin, it was really nice getting notifications that maven was done compiling on my VM.

from vagrant-notify.

hardyoyo avatar hardyoyo commented on July 30, 2024

This plugin is soo much more useful for me as far as getting actual work done goes, I think I can live without Vagrant 1.7.x, I am going to downgrade back to 1.6.5, and re-install this plugin.

from vagrant-notify.

lightvision avatar lightvision commented on July 30, 2024

@nrwiersma Your solution work for me like a charm, using debian 8 as host + laravel/homestead as guest. Thank You!

from vagrant-notify.

alpha01 avatar alpha01 commented on July 30, 2024

Closing. This is no longer an issue with the new daemon based notification server.

from vagrant-notify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.