Godot 4 RC 5 and plugin v3.0.0-beta2 Error -16
Windows 10 My Git install :
- git config --global user.name "Kevin" No password No passphrase Remote github with SSH Plugin install by AssetLib
GitPlugin: Performing push to github
core/variant/variant_utility.cpp:880 - GitPlugin: Could not connect to remote "github". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -16: Failed to retrieve list of SSH authentication methods: Failed getting response in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L532
I can't push/pull in Godot. I can push/pull in Git.
Could you confirm if the github remote on your repository is indeed a SSH remote endpoint and not an HTTPS one?
Plus we have a PR #149 which will help remediate some of the causes behind this issue
I confirm i use SSH. I check PR #149 but I don't understand what I should do. Should I update libssh2 manually and recompile? I don't think I'm competent enough.
I'm not sure what GitPlugin wants, but for SSH access to GitHub the SSH username to use should be git, not your real username, like in [email protected]:godotengine/godot-git-plugin.git...?
I just tested it and it's not that. I would wait, it's not a major thing, I can always push with Git. I'm not stuck. For the moment there are more important things for Godot 4.0.
I'd agree for myself (I never use git UIs in my daily job) but if you have collaborators that aren't technical enough to use git or another interface to push/pull, a working integration becomes quite important.
In the meantime I should try to see if I can make the dialogs work correctly with HIDPI/4K screens 😅
On Tue, Feb 28, 2023, 16:54 Kevin @.***> wrote:
I just tested it and it's not that. I would wait, it's not a major thing, I can always push with Git. I'm not stuck. For the moment there are more important things for Godot 4.0.
— Reply to this email directly, view it on GitHub https://github.com/godotengine/godot-git-plugin/issues/164#issuecomment-1447727446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADOIZT7D6OKETSVHWENMFTWZWVMBANCNFSM6AAAAAAVICMOLQ . You are receiving this because you commented.Message ID: @.***>
Also experiencing this issue. Referring to
I'm not sure what GitPlugin wants, but for SSH access to GitHub the SSH username to use should be git, not your real username
Most git users set there config user name to either their real name or there github username, it shouldn't be a requirement to change this to use the plugin. This may just be a misunderstanding though as git generates ssh like the following:
[email protected]:RyanCross/godot-game.git
got pretty much the same issue here :/
Im seeing a similar issue here as well. I run a local Gitea server for locally hosted VCS, and even though I can authenticate via the cmd on my pc using ssh keys, the Godot VCS Plugin comes back with a -16 error
After quite a bit more testing and searching, I finally got git to connect via an http connection, instead of SSH, using an access token or password. For anyone struggling, try using the web url of your repository instead of the git url - For my personal git server, it looked like http://IP_ADDRESS:3000/hstep20/godot-4-git-test. For most using github, it would be like https://github.com/godotengine/godot-git-plugin
While its not ideal, at least it works.
While researching, I stumbled across this comment on a gitea issue showing the same problem I was having when trying to verify my ssh keys via the cmd. Like they mentioned, the windows command line seems to have problems properly creating a verification signature for SSH keys. I was able to replicate the results and see that the windows cmd wouldn't properly verify a token with my git ssh setup, but WSL was able to.
It may be nothing at all, but it could be connected to why the ssh plugin is struggling on windows (for me at least). Perhaps others here can chime in on their OS, and your OS of choice could help narrow down the exact problem.
I've been dealing with this same issue (-16) all night, and reading a lot of issues. HTTPS has worked, its just annoying to type in my PAT every single time I launch Godot.
