2013-09-10 33 views

cevap

8

:

ERROR

The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://my.gitlab.eu//api/v3/internal/check

Unable to determine IP address from host name my.gitlab.eu

The DNS server returned:

Name Error: The domain name does not exist. This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

Your cache administrator is [email protected]

Ben yapılandırma dosyasını düzenlendi: gitlab-shell.log olarak

Check GitLab API access: FAILED. code: 503 

Check directories and files: 
    /home/git/repositories: OK 
    /home/git/.ssh/authorized_keys: OK 

dedim html yanıtını buldu gitlab-kabuğu

/home/git/gitlab-shell# sudo -u git -H editor config.yml 
Bu

# Url to gitlab instance. Used for api calls. Should end with a slash. 
#gitlab_url: "http://my.gitlab.eu/" 
gitlab_url: "http://123.xxx.xxx.xx" 

uç eğik çizgi gibi

yorumunda ipucu rağmen API çağrısı çift eğik çizgiye obviosly açar. Benim durumumda dns çözülemedi. Şimdi ip adresini kullanıyorum ve işe yarıyor.

0

Selinux'u kapatın. Ayrıca SELINUX'u/etc/selinux/config dosyasında izin vermek için ayarlayın.

O zaman bu cevabı upvote gidin: https://stackoverflow.com/a/24212432/162070

+0

Niçin yorum yapılmadan reddediliyor? Tam meseleyi yaşadım ve bunu çözdüm. OP'ye yardım edemez, başkasına yardımcı olabilir. Yoksa yanılıyor muyum? – Zlatko

0

hesap permisions kontrol edin. Ana dalda sadece sahibi iş yapabilir. Hesabınız Geliştirici türüyse, yeni şube oluşturmalısınız ve sahibi, şubenizi ana dal ile birleştirecektir.