Skip to content

Error: User interaction failed #702

Closed as not planned
Closed as not planned

Description

The problem

The error message of User interaction failed is thrown when an attempt is made to publish a repository that is currently only available on the local machine, to the cloud.

Release version

Version 2.9.14-linux2 (x64)

Operating system

Linux Mint 20.3 Una

Steps to reproduce the behavior

Please refer to the screenshots section, this ordered list corresponds to the order of the captures.

  1. Click the button to create a new repository on your hard drive
  2. Enter the repository details, then click the button for Publish repository
  3. Click the button for Sign in
  4. Click the button for Continue with browser
  5. A blank browser window is opened to what appears to be the oauth page
  6. The error message is thrown

Log files

2022-04-19T17:57:35.696Z - info: [ui] [AppStore] loading 1 repositories from store
2022-04-19T17:57:36.186Z - info: [ui] launching: 2.9.14-linux2 (Linux 5.4.0-109-generic)
2022-04-19T17:57:36.220Z - info: [ui] execPath: '/app/github-desktop/github-desktop'
2022-04-19T17:57:46.054Z - info: [ui] [SignInStore] initializing OAuth flow
2022-04-19T17:57:46.066Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=fdbb6999-05c8-4e31-8060-8144758f529a
2022-04-19T17:58:01.592Z - info: [main] Received possible protocol arguments: 4
2022-04-19T17:58:01.593Z - info: [main] Processing protocol url
2022-04-19T17:58:01.612Z - info: [ui] [Dispatcher] requesting authenticated user
2022-04-19T17:58:02.647Z - info: [ui] [SignInStore] account resolved
2022-04-19T17:58:02.649Z - info: [ui] [AppStore] adding account CitizenWhite (CitizenWhite) to store
2022-04-19T17:58:02.708Z - error: [ui] Error adding account 'CitizenWhite'
Error: user interaction failed

Screenshots

image
image
image
image
image
image
image

Additional context

Browser version: Firefox 99.0.1 (64-bit)
Nothing seems to be submitted to the browser console when the steps to reproduce are executed.
The browser appears to be the registered handler for this action:

image

Activity

  1. added
    dbus
    on Apr 21, 2022
  2. shiftkey commented on Apr 21, 2022

    @shiftkey
    Owner

    This error message is related to the application trying to store the credential it receives from the browser, which it communicates using dbus to a libsecret-compatible backend (typically gnome-keyring, but there are others).

    This error is the backend fails to save the credential, and sadly I don't have much assistance here beyond "check gnome-keyring-daemon is working as expected".

  3. shiftkey commented on May 26, 2022

    @shiftkey
    Owner

    @CitizenWhite apologies for not being clear, but I don't think running gnome-keyring-daemon alone will yield you much. I also haven't had much in the way of clues for understanding this issue as it's not one I've faced, and other mentions of this don't really explain the underlying issue:

    There's a comment here about interacting with they keyring daemon as an example for how you might get this unstuck:

    export $(dbus-launch)
    dbus-launch
    gnome-keyring-daemon --start --daemonize --components=secrets
    echo '<RANDOM-PASSPHRASE>' | gnome-keyring-daemon -r -d --unlock
    
  4. shiftkey commented on Jun 25, 2022

    @shiftkey
    Owner

    Closing this out due to lack of bandwidth to dig into this further, and I don't want to be "on the hook" for messing around with credential stores...

  5. tazihad commented on May 1, 2023

    @tazihad

    I have also same problem in Fedora Kinoite 38

  6. rph-r commented on Sep 19, 2023

    @rph-r

    +1 on Kubuntu 22.04

  7. Ezzz-dev commented on Oct 25, 2023

    @Ezzz-dev

    +1 on Nobara 38 (Fedora based)

  8. cmwg71 commented on Nov 23, 2023

    @cmwg71

    +1 LMDE 6 (Debian based)

  9. AlXavi2004 commented on Feb 8, 2024

    @AlXavi2004

    This error usually occurs due to some linux updates. In my case it worked for me by uninstalling github Desktop and reinstalling git from terminal https://gist.github.com/berkorbay/6feda478a00b0432d13f1fc0a50467f1.

  10. richard-muvirimi commented on Feb 13, 2025

    @richard-muvirimi

    Refer to this comment for the fix
    #753 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dbusunclear

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions