Hello everyone,

I've just set up a gitlab on my debian wheezy server, works fine, i created 
a new project, ok, and when I try to push it fails :

$ git push -u origin master
> /usr/lib/ruby/1.9.1/net/http.rb:1404:in `addr_port': undefined method `+' 
> for nil:NilClass (NoMethodError)
>     from /usr/lib/ruby/1.9.1/net/http.rb:1339:in `begin_transport'
>     from /usr/lib/ruby/1.9.1/net/http.rb:1315:in `transport_request'
>     from /usr/lib/ruby/1.9.1/net/http.rb:1293:in `request'
>     from /home/git/gitlab-shell/lib/gitlab_net.rb:62:in `block in get'
>     from /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'
>     from /home/git/gitlab-shell/lib/gitlab_net.rb:62:in `get'
>     from /home/git/gitlab-shell/lib/gitlab_net.rb:17:in `allowed?'
>     from /home/git/gitlab-shell/lib/gitlab_shell.rb:59:in `validate_access'
>     from /home/git/gitlab-shell/lib/gitlab_shell.rb:23:in `exec'
>     from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>'
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> [1]    13826 exit 128   git push -u origin master
>

Here are my components :

GitLab 6.4.3
> GitLab Shell 1.8.0
> GitLab API v3
> Ruby 1.9.3p194
>
> Rails 4.0.2 
>
local git config :

>  [core]
>     repositoryformatversion = 0
>     filemode = true
>     bare = false
>     logallrefupdates = true
> [remote "origin"]
>     url = g...@git.tictech.info:ncosnard/sail-browser.git
>     fetch = +refs/heads/*:refs/remotes/origin/*
>

 Nginx conf :

upstream gitlab {
>   server unix:/home/git/gitlab/tmp/sockets/gitlab.socket;
> }
>
> server {
>   server_name git.tictech.info;
>   server_tokens off;
>   root /home/git/gitlab/public;
>   
>   client_max_body_size 5m;
>   access_log  /var/log/nginx/gitlab_access.log;
>   error_log   /var/log/nginx/gitlab_error.log;
>
>   location / {
>     try_files $uri $uri/index.html $uri.html @gitlab;
>   }
>   location @gitlab {
>     proxy_read_timeout 300; 
>     proxy_connect_timeout 300;
>     proxy_redirect     off;
>
>     proxy_set_header   X-Forwarded-Proto $scheme;
>     proxy_set_header   Host              $http_host;
>     proxy_set_header   X-Real-IP         $remote_addr;
>     proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
>
>     proxy_pass http://gitlab;
>   }
> }
>

Any idea ?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to