-
Notifications
You must be signed in to change notification settings - Fork 529
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
Fetch or push, publish Branch does not work #288
Comments
@freemimp it looks like there's a Git-specific issue in the logs that's impacting anything network-related:
Do you have a proxy configured via environment variables or something similar? |
I can also see this error when we try to query for the repository:
If this is a private repository, I think you're also encountering #281 |
Hi @shiftkey I don't use any proxy, but this is indeed private repo with 2FA enabled. What is the solution? I wish I could help, but my electron/ JavaScript skills are close to 0... |
@freemimp the solution to this isn't an easy fix, and I wrote up the options a while ago:
|
Hi @shiftkey , I don't use OAuth, this is private repo in Organization that I work for using ssh and private token, I can login on Github Desktop and even enter 2FA code in browser, so not sure what is the problem, it mentions something about repo not being in the database. |
@freemimp if the remote is an SSH remote, GitHub Desktop will fall back to using it. But if you're working with a HTTP remote the Git operations inside Desktop will use a token obtained using OAuth, instead of using your credential helper. We use the same token for interacting with the GitHub API to get details about the repository (which helps to show the list of PRs, issues and other details). I need to give the log a closer read to understand what might be happening - hopefully this weekend.
Cool, that also fits with how I believe this should work. |
We are having the exact same problems, we want to migrate all our machines to work with Linux but this is being a major headache because nobody can see organizational repos, at all. As a dirty workaround you can disable App restrictions if you go to Thanks for the work you do on this @shiftkey :) |
Looking at the logs again I think this is due to organization restrictions on the repository:
I think this is covered by #281 but perhaps we need to improve the messaging a bit before closing this out, as it seems this is being swallowed rather than displayed to the user... |
I have almost same bug. To manage it I should make blur from github window and make it active again. Any network activities solves this way |
@borodinalive can you please re-test the latest release - |
no... all the same |
At the moment I'm going to have to close this out as a newer release of Electron meant this problem re-appeared in a different form #690 and I think we can drop the custom fix that we used (my working theory is that Node changes with how process interop worked across major versions). I'd love a fresh bug report if someone is still seeing this on their end. |
Describe the bug
When I press "Publish branch" button anywhere, as in Repository -> push, Ctrl P, or just button at the top, it does nothing.... Same for Fetch or any other action except create branch or commit.
it pushes or fetches, like 5-10 minutes later.....
Version & OS
Ubuntu 20.04, And I am using Version 2.5.0-linux2
Steps to reproduce the behavior
Expected behavior
gives you clear UI response and fetches, or publishes branch
Actual behavior
Nothing happens of the above, so I need to do it manually. - terminal or in build vcs, or wait for 5-10 minutes....
Screenshots
N/A
Logs
Attach your logs by opening the
Help
menu and selectingShow Logs...
, if applicable.Additional context
2020-05-27.desktop.production.log
The text was updated successfully, but these errors were encountered: