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

[Bug]: Pushing fatal: could not read Username for https://github.com: No such device or address #814

Open
pistolwhip-justin opened this issue Nov 22, 2024 · 7 comments
Labels
awaiting response Cannot work on issue until response from an author of an issue bug Something isn't working

Comments

@pistolwhip-justin
Copy link

Describe the bug

When clicking the commit and sync button I get the error:
Pushing to {my repo url} fatal: could not read Username for 'https://github.com;: No such device or address

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

obsidian-git: Error: Pushing to https://github.com/user-name/repo-name.git
fatal: could not read Username for 'https://github.com': No such device or address

    at Object.action (plugin:obsidian-git:104:11303)
    at MM.exec (plugin:obsidian-git:104:11799)
    at eval (plugin:obsidian-git:103:7026)
    at new Promise (<anonymous>)
    at oh.handleTaskData (plugin:obsidian-git:103:6915)
    at oh.eval (plugin:obsidian-git:103:6541)
    at Generator.next (<anonymous>)
    at a (plugin:obsidian-git:100:11157)

Steps to reproduce

Hit the button

Expected Behavior

It pushes the changes without error

Addition context

git credentials are correct when i run a command to see them in terminal
github desktop has no issue pushing
vs code has no issue pushing
custom git binary path set correctly

i have no idea what else to check or do

new to linux and i am about to throw this damn computer in traffic, push my phone down the garbage disposal, walk into the woods and build a cabin and then kill all my food and wear nothing but fur for the rest of my life and never touch a digital device again

Operating system

Linux

Installation Method

Snap

Plugin version

2.28..2

@pistolwhip-justin pistolwhip-justin added the bug Something isn't working label Nov 22, 2024
@rh609
Copy link

rh609 commented Nov 22, 2024

obsidian-git: Error: Pushing to https://github.com/user-name/repo-name.git
Try specifying your repo instead of the one your meant to change

@pistolwhip-justin
Copy link
Author

That was a placeholder value, not the text of the actual user-name or repo in the error, because it happens on multiple repos. If that does not address your comment then I am confused.

@Vinzent03
Copy link
Owner

Please try another installation method for Obsidian other than snap as it may cause issues with sandboxing.

@pistolwhip-justin
Copy link
Author

pistolwhip-justin commented Nov 25, 2024 via email

@Vinzent03
Copy link
Owner

Could you try the latest version v2.29.0 I released yesterday?

@Vinzent03 Vinzent03 added the awaiting response Cannot work on issue until response from an author of an issue label Nov 25, 2024
@xiaoke1230
Copy link

I also encountered this problem, looking forward to a solution

@Vinzent03
Copy link
Owner

@xiaoke1230 Please create a new issue and follow the template to provide all necessary information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Cannot work on issue until response from an author of an issue bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants