Code Monkey home page Code Monkey logo

Comments (7)

shiftkey avatar shiftkey commented on July 17, 2024

This sounds like an organization repository has restrictions enabled on third-party apps: https://github.com/shiftkey/desktop/blob/linux/docs/known-issues.md#i-cannot-access-repositories-under-my-organization

from desktop.

yoh-tanimoto avatar yoh-tanimoto commented on July 17, 2024

Sorry, but my organization does have approval of the access to the GitHub Desktop development app. Please see the attached screenshot. Could you please take a close look?
Schermata del 2024-03-31 17-52-59

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

Please see the attached screenshot. Could you please take a close look?

I don't know which repository is erroring or it's erroring because I'm not seeing any Git operations in the logs - are you able to share more about the error message that you're seeing?

from desktop.

yoh-tanimoto avatar yoh-tanimoto commented on July 17, 2024

Thank you for reopening the issue.

In my case, the repository https://github.com/leanprover-community/mathlib4 is giving the error. I have the permission to edit non-master branches (and indeed I am able to edit on GitHub website). I get error when I try to push a commit or publish a branch using GitHub desktop. I attach a screenshot of the error message.
Schermata del 2024-04-01 06-53-41

I get the same message even though

  • I am logged in
  • I log out and back in
  • the repository is not archived
  • I do not use SSH

I also attach today's log, where the last 7 lines are related with attempts to publish a branch.
2024-04-01.desktop..log

from desktop.

PietrH avatar PietrH commented on July 17, 2024

I'm having the same issue. And I'm seeing the same error in the logs:

2024-04-03T07:03:56.933Z - info: [ui] [Timing] Action 'create commit' for 'b-cubed-eu/simcuber' took 0.076s 2024-04-03T07:03:59.996Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: simcuber - PietrH (has token)

It's also failing for a specific repo for me, I'll see if I can figure out if the organisation has some restrictions setup.

Here are my logs:

2024-04-03.desktop.production.log

I'm running Version 3.0.5-linux1 (x64)

Other (completely open) repositories work, CLI works, I can log out and back in.

Is there any other information I can provide?

from desktop.

PietrH avatar PietrH commented on July 17, 2024

I've just replicated the issue in Version 3.3.12-linux2 (x64)

2024-04-03.desktop..log

It seems to me the organisation has the OAuth permissions set for the development app:

image

from desktop.

PietrH avatar PietrH commented on July 17, 2024

Switching to SSH for this repo fixed the issue for me. Push and Pull operations are slower than I'm used to, but this might be because I upgraded to a newer version as well. I prefer using OAuth.

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.