Giter VIP home page Giter VIP logo

Comments (7)

thewoolleyman avatar thewoolleyman commented on July 22, 2024

This is probably related to using an incorrect SSH identity/key when accessing github.

This can also be caused because you are proxying your ssh credentials via ssh-agent when you log in and start cruise interactively.

Solution is to make sure that the system has the correct github credentials in your administrator/.ssh/id_rsa - and ensure you aren't proxying any ssh credentials when you restart cruise.

from cruisecontrol.rb.

mech avatar mech commented on July 22, 2024

But why does it work the first time whenever I start CC, but then after that it did not work when interval come?

FYI, it work the very first time whenever I try to do ./cruise start or ./cruise stop, then it will wake up from its sleep and able to correctly get the my private git repo. After that it, the second time, it will not :(

Thanks for such a fast reply above :)

from cruisecontrol.rb.

mech avatar mech commented on July 22, 2024

When I look at the SourceControl::Git#load_new_changesets_from_origin, there is a comment on a lighthouse ticket on system_gem requirement (probably)

https://cruisecontrolrb.lighthouseapp.com/projects/9150-cruise-control-rb/tickets/229-sometimes-git-hangs

Still investigating.. hopefully will address :)

from cruisecontrol.rb.

mech avatar mech commented on July 22, 2024

Sori, that was not needed for Ruby 1.9. Please ignore previous comment.

from cruisecontrol.rb.

thewoolleyman avatar thewoolleyman commented on July 22, 2024

Sorry, I don't have time to provide more specific instructions right now, but this seems like you are using the wrong github key for some reason. The ssh-agent scenario I described is one possible cause for this which may not be apparent. Look into how to disable ssh-agent on your server and client, and see if that helps.

from cruisecontrol.rb.

bguthrie avatar bguthrie commented on July 22, 2024

@mech, any luck reproducing? Is it the same issue as in the Lighthouse ticket?

from cruisecontrol.rb.

mech avatar mech commented on July 22, 2024

@bguthrie, what I did is I remote in using Apple Remote Desktop to open a terminal session and start cruise from there and I use --daemon, but somehow I must make sure I cannot close the terminal window or else the "Source Control Error" will happen again.

Also doing it via SSH is definitely no-no. It has to be in the real machine, and you cannot close the terminal session window even if --daemon suggest you can detached and close the window.. hmms does that make sense. I am confused myself :(

Using XServe Leopard FYI.

It is running fine now as long as I don't close the session :)

from cruisecontrol.rb.

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.