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
  • #4549

Closed
Open
Created Jul 13, 2013 by Administrator@rootOwner

fatal could not read from remote repository. gitlab 5-3-0-stable

Created by: peter34861

Hello, I get fhe following error while:

git push -u origin master fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

My ssh key is working fine, when i look at

[admin@vm10-003 test]$ ssh [email protected]
Welcome to GitLab, wen! Connection to git.test closed.

the same git repo , use http can to clone and push ,but use ssh has error. example: clone with http: [admin@vm10-003 test]$ git clone http://git.test.com/root/gitlab.git Cloning into 'gitlab'...

(gnome-ssh-askpass:30452): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass' Username for 'http://git.test.com': [email protected]

(gnome-ssh-askpass:30453): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass' Password for 'http://[email protected]@git.test.com': remote: Counting objects: 7, done. remote: Compressing objects: 100% (4/4), done. remote: Total 7 (delta 1), reused 0 (delta 0) Unpacking objects: 100% (7/7), done.

clone with ssh:

[admin@vm10-003 test]$ git clone [email protected]:root/gitlab.git newgitlab Cloning into 'newgitlab'... fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

and push also like this: [admin@vm10-003 test]$ git push -u origin master
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [admin@vm10-003 test]$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = [email protected]:repositories/root/test.git fetch = +refs/heads/:refs/remotes/origin/

what can i do ?

Ps: all check is all rights , so i don't how to fix this.

Assignee
Assign to
Time tracking