On Wed, Aug 29, 2012 at 10:40 PM, Scott Allen <sallend...@gmail.com> wrote:
> I am in the process of setting up gitorious on SuSE 10.3. I think I have > most everything working. I can login, create project, create repositories, > clone via ssh and git, but when I try and push, I get the following error: > > $ git push origin master**** > > Counting objects: 3, done.**** > > Writing objects: 100% (3/3), 212 bytes, done.**** > > Total 3 (delta 0), reused 0 (delta 0)**** > > remote: /usr/local/lib/ruby/1.8/open-**uri.rb:277:in `open_http': 404 Not > found (OpenURI::HTTPError)**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:616:in > `buffer_open'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:164:in > `open_loop'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:162:in > `catch'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:162:in > `open_loop'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:132:in > `open_uri'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:518:in > `open'**** > > remote: from /usr/local/lib/ruby/1.8/open-**uri.rb:30:in > `open'**** > > remote: from ./hooks/pre_receive_guard.rb:**64:in > `get_via_http'**** > > remote: from ./hooks/pre_receive_guard.rb:**53:in > `allow_push?'**** > > remote: from hooks/pre-receive:40**** > > To g...@dcelinux003.india.ti.com:t**est-project-one/test-project-**one.git* > *** > > ! [remote rejected] master -> master (pre-receive hook declined)**** > > error: failed to push some refs to 'g...@dcelinux003.india.ti.com:** > test-project-one/test-project-**one.git' > > > I have searched through the archives and found similar issues that > indicated either apparmor was causing issues (it's not enabled) and / or > configuration issues with gitorous_host / port. Both seemed to be > configured correctly. > Scott, When you try pushing, Gitorious will connect to "itself", ie the host/port specified as gitorious_client_host and gitorious_client_port to check for permissions. The error message suggests that this fails; you should be able to do a successful HTTP request (eg. using curl) on the server to the URL http:// <gitorious_client_host>:<gitorious_client_port>/test-project-one/test-project-one/config Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com