Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8476

Closed
Open
Created Dec 22, 2014 by Administrator@rootOwner

Can't push : 401 Unauthorized

Created by: rigober44

Hi,

I followed this tutorial to install and configure gitlab on redhat 6.4 (https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md). I use mysql, thin server and nginx as reverse proxy. I don't why but it doesn't work with unicorn (it doesn't matter we already use thin for an other application). I can connect to gitlab, create projects and users.
I start the application with these commands : -> bundle exec sidekiq -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P tmp/pids/sidekiq.pid &

-> bundle exec thin start -C /etc/thin/gitlab.yml

Now, I try to push some content in a project but i can't. If i try from the server i get this error : git push -u origine master error: The requested URL returned error: 401 Unauthorized while accessing http://localhost/gitlab/root/git-example.git/info/refs

and from a git client in windows /usr/local/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill': Net::ReadTimeout

Do i forget to parameter something ?

Any help would be welcome.

Thanks in advance.

Assignee
Assign to
Time tracking