Hi.

Sorry to bother (seems a beginner error, but I couldn't find out), but I 
made my homework and found nothing.
I must confess that I'm a bit lost: I have no logs, no ideas (I have 
activated debug, verbose, and so on, but there is nothing). Furthermore I'm 
not a ruby developper, so I'm not able to follow tracks in the code.

Have someone an idea ? Have someone an idea about how activate more logs 
(that is the thing infuriating: no information) ?
(I'm not a native speaker: sorry in advance).

Summary :
----------------------------------------------
I correctly installed and runned a gitab instance by following that 
tutorial 
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md 
on a testing testing, using a self generated certificate. I had a http 
website (with spip), and gitlab on the same base url but with https access. 
I could push, commit using https access: I have a projet (C++/Qt) and was 
able to work correctly.

website : http://toto.fr
gitlab    : https://toto.fr

Later I got a certificate from startssl, and decided myself to : put my 
website on https, and set gitlab on a subdomain name. All seemed perfect 
but the push action: I can clone through https, navigate through both 
websites (spip and gitlab: create user, project, and so on). I even get an 
"All Green" at the gitlab:check test (got this 
from 
https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide).
But I can no more push code.
(And the worst: I'm forced to move tomorrow, so it will not be easy to work 
on this issue).

website : https://toto.fr
gitlab    : https://gitlab.toto.fr

Technical data
----------------------------------------------
 - both toto.fr and gitlab.toto.fr point to the same IP (it is plain 
virtual hosting ; or more precisely Server Blocks).
 - I can push through ssh (with url like this: 
g...@gitlab.toto.fr:tutu/tutu.git)
 - I always get: fatal: Authentication failed for 
'https://gitlab.toto.fr/tutu/tutu.git/'
 - there is no error whatsoever in the logs (in the following files: 
application, satellites, unicorn.stderr, production, sidekiq, 
unicorn.stdout, auth, syslog
and in nginx logs : gitlab_access and gitlab_error) ; event with --verbose 
with git push.

*************
 - /etc/nginx/sites-enabled/gitlab-ssl (I extracted only those lines that 
seem usefull):
server {
  listen 443 ssl;
  server_name gitlab.toto.fr;
  server_tokens off;
  root /home/git/gitlab/public;
  ssl on;
  ssl_certificate /etc/nginx/ssl/toto.info.crt;
  ssl_certificate_key /etc/nginx/ssl/toto.info.key;
  location @gitlab {
    proxy_pass http://gitlab;
  }
}

*************
- /etc/nginx/sites-enabled/default (the same):
server {
        listen 80 default_server;
        listen [::]:80 default_server ipv6only=on;
        server_name toto.fr www.toto.fr;
}
server {
        listen 443 ssl;
        ssl on;
        ssl_certificate /etc/nginx/ssl/toto.fr.crt;
        ssl_certificate_key /etc/nginx/ssl/toto.fr.key;
}


*************
- ~git/gitlab-shell/config.yml
user: git
gitlab_url: https://gitlab.toto.fr/
http_settings:
  self_signed_cert: true
repos_path: "/home/git/repositories/"
auth_file: "/home/git/.ssh/authorized_keys"
ca_file: "/etc/nginx/ssl/toto.fr.crt"
redis:
  bin: "/usr/bin/redis-cli"
  host: localhost
  port: 6379
  namespace: resque:gitlab
log_level: INFO
audit_usernames: false

*************
- ~git/gitlab/config/gitlab.yml: 
  gitlab:
    host: gitlab.toto.fr
    port: 443
    https: true
    email_from: gitlab...@gitlab.toto.fr



-- 
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/0bb5f194-5feb-4ddf-8968-d2ee26763e9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to