I encountered this error as well when using ssh. Looking through the logs 
is found this error: 

F, [2013-02-23 00:54:14#2360] FATAL -- : NoMethodError undefined method 
`configure_singletons' for 
#<Gitorious::ConfigurationLoader:0x000000028eae20>: 
/var/www/gitorious/lib/gitorious/ssh/client.rb:113:in `load_config'

So I went into the client.rb and looked around. Looking at line 113, the 
file is trying to call the said function 'configure_singletons', located in 
gitorious/configuration_loader. Looking in that file showed that the 
function did not exist, but in its place was a new function named 
'configure_application!' Singletons appear to be configured in this 
function, so I edited line 113 to call this function instead and all is 
well. :)

On Thursday, February 7, 2013 4:17:24 AM UTC-5, nikoladsp wrote:
>
> hi,
> i've setup gitorious on CentOS, everything looked well, until i tried to 
> performe git clone using ssh (plain git clone works). below is a piece of 
> trace on gitorious server (/var/www/gitorious/log/gitorious_auth.log)
> what could it be (maybe some apache issue, sshd)? earlier i've manage to 
> get it completely work on debian system but company policy allows only 
> CentOS
>
> 10x in advance
>
> I, [2013-02-07 10:48:08#3094]  INFO -- : Connection from "10.20.58.134 
> 46450 22" (nikolar): git-upload-pack 'pubsub/pubsub.git'
> F, [2013-02-07 10:48:08#3094] FATAL -- : Errno::ENETUNREACH Network is 
> unreachable - connect(2): /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
>   /usr/lib/ruby/1.8/net/http.rb:560:in `open'
>   /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
>   /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
>   /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
>   /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
>   /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
>   /usr/lib/ruby/1.8/net/http.rb:548:in `start'
>   /usr/lib/ruby/1.8/net/http.rb:440:in `start'
>   /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:106:in 
> `connection'
>   /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:86:in 
> `configuration'
>   /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:60:in 
> `real_path'
>   /var/www/gitorious/script/../lib/gitorious/ssh/client.rb:74:in 
> `to_git_shell_argument'
>   /usr/bin/gitorious:60
>
>

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to