On Mon, Feb 8, 2010 at 1:20 PM, weu <[email protected]> wrote:

> The gitorious_auth.log report:
>
> I, [2010-02-08 13:12:47#14561]  INFO -- : Connection from "192.168.1.3
> 43932 22" (admin): git-receive-pack 'test-project/mainline.git'
> F, [2010-02-08 13:12:47#14561] FATAL -- : SocketError getaddrinfo:
> Name or service not known: /usr/local/lib/ruby/1.8/net/http.rb:560:in
> `initialize'
>

 I suspect this occurs when the gitorious script (which is called when you
push) tries to connect to your local installation (via http) to check if the
current user is allowed to push. This hook connects via http to the address
and port specified under the production section of config/gitorious.yml - so
you'll need to enter some valid values for gitorious_client_host and
gitorious_client_port under the production section of config/gitorious.yml
for this to work.

The script/gitorious script runs completely without knowledge of environment
variables, that's why RAILS_ENV is hard coded to production for this script.

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to