Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer push or pull to repository #1852

Closed
travelertt opened this issue May 31, 2017 · 21 comments
Closed

Can no longer push or pull to repository #1852

travelertt opened this issue May 31, 2017 · 21 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs more-info-needed The submitter needs to provide more information about the issue

Comments

@travelertt
Copy link

Description

After I updated GitHub Desktop to version 0.5.9, I'm unable to push or pull to my repo. I'm also unable to do the same in terminal.

Version

GitHub Desktop version: 0.5.9

OS version: Mac 10.12.5

Steps to Reproduce

Try to Fetch Origin, or Push.
Error popup with message:

Error
Authentication failed. You may not have permission to access the repositry. Open preferences and verify that you're signed in with an account that has permission to access this repository.

I'm logged in. And I do have access to the repository.

I was able to do access/push/pull the repository May 26, 2017. There has been no changes to my system. Or the repository settings.

I have tried signing out and signing back in with the app. Error still appears.

Reproduces how often: Now. 100%

Logs

desktop-production-logs.zip

@niik
Copy link
Member

niik commented Jun 1, 2017

@travelertt Could you run the command git remote -v in your repository folder and paste the output here?

Have you been building GitHub Desktop from source at any time since May 26th?

@jipexu
Copy link
Contributor

jipexu commented Jun 1, 2017

Hi i have similar(perhaps) probleme after an upgrade (2 days ago) of MAc sierra 10.12.5 since i have those messages
on github desktop beta (0.5 9):
ERROR: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'https://github.com/jipexu/npds_dune.git'

on github Hasty Things Done Hastily (223)
GIT ERROR
2017-06-01 11:41:10.264 GitHub Desktop Login[4336:181623] AskPass with arguments: (
"/Applications/GitHub Desktop.app/Contents/MacOS/GitHub Desktop Login",
"Username for 'https://github.com': "
)
2017-06-01 11:41:10.304 GitHub Desktop Login[4337:181629] AskPass with arguments: (
"/Applications/GitHub Desktop.app/Contents/MacOS/GitHub Desktop Login",

huum i really lost .... any help thanks

@jipexu
Copy link
Contributor

jipexu commented Jun 1, 2017

and with BBEdit git log i have this error
fatal: could not read Username for 'https://github.com': Device not configured

@joshaber
Copy link
Contributor

joshaber commented Jun 1, 2017

@jipexu Your errors seem to be about the older GitHub Desktop, while this repository is for issues with the new GitHub Desktop Beta. Please contact support support@github.com.

@joshaber joshaber added more-info-needed The submitter needs to provide more information about the issue bug Confirmed bugs or reports that are very likely to be bugs labels Jun 1, 2017
@jipexu
Copy link
Contributor

jipexu commented Jun 1, 2017

thanks
this is also on this new .... ? no ?
on github desktop beta (0.5 9):
ERROR: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'https://github.com/jipexu/npds_dune.git'

i also sent a mail to the github support

@joshaber
Copy link
Contributor

joshaber commented Jun 1, 2017

@jipexu It looks like that error comes from Git LFS. See git-lfs/git-lfs#2219 for more info.

@jipexu
Copy link
Contributor

jipexu commented Jun 1, 2017

thanks i will investigate - so where i have to post ? to not pollute this issue ?

@joshaber
Copy link
Contributor

joshaber commented Jun 1, 2017

@jipexu I'd recommend opening an issue on the Git LFS repository.

@jipexu
Copy link
Contributor

jipexu commented Jun 1, 2017

ok thanks

@travelertt
Copy link
Author

ac ucg7@svn-634.devcloud.hosting.acquia.com:ucg7.git (fetch)
ac ucg7@svn-634.devcloud.hosting.acquia.com:ucg7.git (push)
origin git@github.com:UCG/UCG7.git (fetch)
origin git@github.com:UCG/UCG7.git (push)

@travelertt
Copy link
Author

Pushing and Fetching working today, I don't know what changed to make it work now. I did upload a new public key to my account after this problem started yesterday. But, it didn't immediately fix the problem. Perhaps I need to wait for some sort of propagation?

@chrisgrande
Copy link

chrisgrande commented Jun 1, 2017

I'm being hit with this as well using Tower on the Mac, the old GitHub Desktop worked, it then auto updated (223) with a new version of git-lfs (2.2.1) and now it no longer works...

Update** I deleted the LFS hooks since I'm not even using LFS... did Desktop add these automatically at some point... I have no idea what changed in in the last 24 hours to break this system wide.

@joshaber
Copy link
Contributor

joshaber commented Jun 2, 2017

Very odd!

It looks like there aren't any outstanding issues left, so I'm gonna close this.

@drakeet
Copy link

drakeet commented Sep 15, 2017

I am also using the old GitHub Desktop(v223) and faced the same note. I solved it. Try rm .git/hooks/pre-push and push again.

I love the old GitHub Desktop(v223) very much!

@j-f1
Copy link
Contributor

j-f1 commented Sep 15, 2017

@drakeet Please note that the old Desktop will be deprecated fairly soon; although you’ll still be able to use the classic app, it won’t get any more support or updates. If there’s something you don’t like about the new app, please open an issue and tell us about it!

@vphilipnyc
Copy link

Seeing this issue in GitHub Desktop 1.0.4 and Mac 10.13

@joshaber
Copy link
Contributor

@bphilipnyc Could you open a new issue and fill out the issue template please? Thanks!

@vphilipnyc
Copy link

vphilipnyc commented Oct 23, 2017

after installing Git LFS, this seems to resolve itself. Removing the hooks did not have any impact for me. Can't seem to reproduce from here.

@sumayaSalihs
Copy link

I had the same issue because I changed my username. Resigning in my GitHub Desktop up solved it. Try logging out and then logging back in if you made and major changes in your gitHub account.

@imfaruk
Copy link

imfaruk commented May 28, 2018

After facing the issue I found that I was signed out from github.com on github desktop. Singing in again solved the issue for me.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 27, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
@LevanTsereteli
Copy link

Signing out and signing in again to the GitHub desktop solved the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs more-info-needed The submitter needs to provide more information about the issue
Projects
None yet
Development

No branches or pull requests