What a coincidence, I have had a similar problem yesterday. I am running
gitlab inside a VM at my home before putting it into production at school.
As I have no DNS service here I tweaked the hosts file to point the FQDN
of the virtual machine to it's IP address and during installation set
GitLab's machine hostname to that FQDN. The web interface worked fine, but
I couldn't manage to push until I added the same FQDN entry to the virtual
machine hosts file. Before that Ruby complained about an unreacheable
network error, but now it is working. This could apply to your case, give
it a try. Best regards,

Juan Carlos

El Vie, 10 de Octubre de 2014, 1:53 am, hauke escribió:
> Hi there,
>
>
> after changing the IP address of my gitlab server, I am not able to push
> from local maschines to gitlab.
>
> The frontend message after *git push* is:
>
>
> Access denied.
> fatal: Could not read from remote repository.
>
>
> Please make sure you have the correct access rights
> and the repository exists.
>
> The gitlab-shell log shows:
>
>
> E, [2014-10-08T15:44:33.094604 #3272] ERROR -- : API call <GET
> http://gitlab.mydomain.local//api/v3/internal/allowed?key_id=1&action=git-
> receive-pack&ref=_any&project=test/foosel> failed: 500 =>
> <{"message"=>"500 Internal Server Error"}>.
> W, [2014-10-08T15:44:33.094700 #3272]  WARN -- : gitlab-shell: Access
> denied for git command <git-receive-pack 'test/foosel.git'> by user with
> key key-1.
>
> The other services like the web UI are working fine after changing the IP
>  address.
>
> My components:
>
>
>
>
>
>
> *GitLab 6.4.3GitLab Shell 1.8.0GitLab API v3Ruby 2.0.0p353Rails 4.0.2 *
> I use LDAP auth.
>
>
> Any hints how to solve/debug this?
>
>
> cheers, hauke
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on
> the web visit
> https://groups.google.com/d/msgid/gitlabhq/fb07f459-68cc-4fe2-bd79-3647f8
> 30849c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/cfce56b61e0294388f5514ca651a00e5.squirrel%40webmail.reduc.edu.cu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to