Giter Site home page Giter Site logo

Comments (7)

crschnick avatar crschnick commented on June 19, 2024

Where does the X11R6 askpass come from? Do you have some X11 implementation installed on your system?

One way I can see this error happening is that your system has something set in the git config. You can inspect that with git config --list. Alternatively, there is some environment variable set such as GIT_ASKPASS or SSH_ASKPASS.

Depending on what causes this, I can make the implementation more robust to these external influences. But this does not look like an xpipe problem by itself.

from xpipe.

Phanquan avatar Phanquan commented on June 19, 2024

Where does the X11R6 askpass come from? Do you have some X11 implementation installed on your system?

One way I can see this error happening is that your system has something set in the git config. You can inspect that with git config --list. Alternatively, there is some environment variable set such as GIT_ASKPASS or SSH_ASKPASS.

Depending on what causes this, I can make the implementation more robust to these external influences. But this does not look like an xpipe problem by itself.

Well neither of them shows up, and I use the default SSH key for git actions, and "[email protected]:" for git repo.

And with those configs of mine show that error whenever I startup v9.2, then I uninstall v9.2 without deleting the data folder, reinstall v1.7 then xpipe runs correctly without further config.

Full error:

ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Error img

select first option doesn't help
image

Full configs:

Enable git sync: enable
Git remote URL: [email protected]:my-github-acc/XPipe-Storage.git
Git SSH identity: Identity file
Location: /Users/my-user-name/.ssh/id_ed25519 (the key I use to clone project from gitlab and github)
Passphrase: My passphrase of ssh key

Reinstall v1.17.16

Show this error but select first option then it will fetch config from my git repo, this time look like the ssh key was used

Process returned exit code 128:
From github.com:my-user-name/XPipe-Storage
 * branch            HEAD       -> FETCH_HEAD
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint: 
hint:   git config pull.rebase false  # merge
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.

Note

Also facing the same issue on my macmini m2, macos 14.4.1

from xpipe.

crschnick avatar crschnick commented on June 19, 2024

Alright so I tried to reproduce this issue on my mac.

The only way I can reproduce it is by setting export SSH_ASKPASS=.... The current implementation does not override that variable but it should do that ideally. I will fix this in the next release.

I think the problem in your case is that the key has a passphrase and it somehow uses an invalid askpass program. You can try opening a terminal session, set export SSH_ASKPASS="/Applications/XPipe.app/Contents/MacOS/xpipe", and launch xpipe from there with xpipe open. That will apply the environment

from xpipe.

Phanquan avatar Phanquan commented on June 19, 2024

Yup that fix the issue but reopen still get the bug.

from xpipe.

crschnick avatar crschnick commented on June 19, 2024

Yeah you would have to do that for every launch for now. This will be fixed in 9.3.

from xpipe.

Phanquan avatar Phanquan commented on June 19, 2024

Atm, i will switch to use personal access token instead of ssh key

from xpipe.

crschnick avatar crschnick commented on June 19, 2024

This should now be fixed in https://github.com/xpipe-io/xpipe/releases/tag/9.3

from xpipe.

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.