Note that there are some explanatory texts on larger screens.

plurals
  1. POcannot import repo from from http://localhost/xxx/xxx.git
    text
    copied!<p>I am working with gitlab 5.2 setup on my localhost (<a href="http://example.com" rel="nofollow">http://example.com</a>), on Centos 6.4 I am facing the following problem , when i try to create a new project with import existing repository and provide a github clone link (eg:<a href="https://github.com/XXXX/yyy.git" rel="nofollow">https://github.com/XXXX/yyy.git</a>) a new project is created as expected with imported repos, but when i try to create a new project with import existing repo and provide a gitlab link(eg: <code>http://example.com/xxxx/foo.git</code>)`which is on my own machine a new <strong>EMPTY</strong> Project is created my puma.stderr.log says :</p> <pre><code>error: The requested URL returned error: 502 Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).) while accessing http://example.com/xxxx/foo.git/info/refs </code></pre> <p>it seems that my puma is not able to reach the requested url , or maybe the gitlab-shell is not able to access the repo (as there is no way to check the logs of gitlab-shell)</p> <p>(the example.com is only localhost)</p> <p>finally some hope the apache server cannot resolve localhost the error in the apache log is </p> <pre><code>[error] avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name </code></pre> <p>my gitlab.conf is </p> <pre><code>&lt;VirtualHost *:80&gt; ServerName localhost ProxyRequests Off &lt;Proxy *&gt; Order deny,allow Allow from all &lt;/Proxy&gt; ProxyPreserveHost On ProxyPass / http://localhost:9292/ ProxyPassReverse / http://localhost:9292/ &lt;/VirtualHost&gt; </code></pre> <p>and my /etc/hosts file is </p> <pre><code>127.0.0.1 marvin localhost 170.xx.xx.x marvin localhost </code></pre> <p>also the hostname command gives </p> <pre><code>marvin </code></pre> <p>the hostname --fqdn command gives </p> <pre><code>marvin </code></pre> <p>where am i going wrong.?</p> <p>also i have tried editing the etc/hosts</p> <pre><code>127.0.0.1 localhost localhost 170.95.204.18 marvin localhost ::1 localhost6.localdomain6 localhost6 </code></pre> <p>but no success..</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload