Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Error when using Git
Error when using Git [message #1019717] Sat, 16 March 2013 12:59 Go to next message
Reggie Schildmeijer is currently offline Reggie SchildmeijerFriend
Messages: 2
Registered: March 2013
Junior Member
Trying to use Hudson and Git but I see to keep getting errors. Any help appreciated, I'm totally out of my comfort zone with this issue.

Started by user anonymous
Checkout:workspace / /var/lib/hudson/jobs/Project Stella Incognita/workspace - hudson.remoting.LocalChannel@f0cda1
Using strategy: Default
Checkout:workspace / /var/lib/hudson/jobs/Project Stella Incognita/workspace - hudson.remoting.LocalChannel@f0cda1
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/gametechnology/psi-2013.git

ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR:  (Underlying report) : Error performing command: git fetch -t git://github.com/gametechnology/psi-2013.git +refs/heads/*:refs/remotes/origin/*
Command "git fetch -t git://github.com/gametechnology/psi-2013.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
	at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:931)
	at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:889)
	at hudson.FilePath.act(FilePath.java:791)
	at hudson.FilePath.act(FilePath.java:773)
	at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:889)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:668)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1515)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:428)
	at hudson.model.Run.run(Run.java:1390)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)
	at hudson.model.ResourceController.execute(ResourceController.java:81)
	at hudson.model.Executor.run(Executor.java:137)
Re: Error when using Git [message #1020699 is a reply to message #1019717] Mon, 18 March 2013 18:48 Go to previous messageGo to next message
Bob Foster is currently offline Bob FosterFriend
Messages: 85
Registered: January 2013
Member
This seems to be the same as Problems with setting up Git project thread. As I wrote there...

The error just says that Hudson couldn't connect to the git repository. Could be a proxy issue. Can you clone git://github.com/gametechnology/psi-2013.git on the server machine outside Hudson?
Re: Error when using Git [message #1020749 is a reply to message #1020699] Mon, 18 March 2013 21:16 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
If you are behind a firewall then use git HTTPS protocol (https://github.com/gametechnology/psi-2013.git) and set your proxy to git as explained here http://stackoverflow.com/questions/5529218/how-to-use-git-behind-a-proxy

Winston Prakash
Eclipse Hudson team
Previous Topic:Problems with setting up Git project
Next Topic:Deploy to JBoss 7.x fails
Goto Forum:
  


Current Time: Sat Apr 20 01:42:27 GMT 2024

Powered by FUDForum. Page generated in 0.02405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top