hudson.plugins.git.GitException: Command "git fetch --tags --progress git@git.maciejsobala.com:/opt/git/warehouse.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via jenkins-ci.org by Unknown author

Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.

Solutions on the web

via Stack Overflow by Maciej Sobala
, 1 year ago
Command "git fetch --tags --progress git@git.maciejsobala.com:/opt/git/warehouse.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission
via Jenkins JIRA by Rafal Legiedz, 11 months ago
Command "/usr/bin/git -c core.askpass=true fetch --tags --progress git@********.com:git/Mobility/my-project.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied (gssapi-keyex,gssapi-with-mic,publickey
via Jenkins JIRA by Alberto Gallardo, 1 year ago
Command "git -c core.askpass=true fetch --tags --progress git@mygithubenterprise:myrepo/tests.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
via Jenkins JIRA by Alberto Gallardo, 11 months ago
Command "git -c core.askpass=true fetch --tags --progress git@mygithubenterprise:myrepo/tests.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
via Stack Overflow by Kumar Kalluri
, 5 months ago
Command "git fetch --tags --progress https://github.com/somerepository.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: remote: Repository not found. fatal: repository 'https://github.com/somerepository.git/' not found
via Google Groups by rarab...@cloudbees.com (JIRA), 11 months ago
Command "git -c core.askpass=true fetch --tags --progress http://non.existent.git.repo.nowhere/repo.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:<br>stdout: <br>stderr: fatal: unable to access 'http://non.existent.git.repo.nowhere/repo.git/': Could not resolve host: non.existent.git.repo.nowhere<br><br>
hudson.plugins.git.GitException: Command "git fetch --tags --progress git@git.maciejsobala.com:/opt/git/warehouse.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:507)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1042)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.