Can't perform a push, pull or fetch, regardless of branch and remote.

Aperta
#299 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
git
Ambito
devtools

Direzione di ricerca

Inizia riproducendo push, pull e fetch sui remotes segnalati in Windows 11 con Godot 4.4 e plugin 3.2.0. Ispeziona gli errori di connessione in src/git_plugin.cpp in GitPlugin::_push#L533 e GitPlugin::_fetch#L411, concentrandoti sui problemi relativi ai certificati e alle chiavi host SSH. Il lavoro è completato quando le operazioni sui remotes interessati funzionano oppure il problema è stato ricondotto chiaramente alla gestione delle credenziali, dei certificati o delle chiavi host.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

I'm very new to Git and GitHub, and I don't know where else to find help besides bothering the dev via their socials, I prefer not doing that.

I can see, create and remove all the branches and remotes from within the Godot editor, but I cannot perform a push, pull or fetch.

If I try to perform any of those commands on origin I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: the SSL certificate is invalid in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
If I try to do it on another remote I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "prueba1". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_fetch#L411

I did all the steps required to connect my Godot project to my repo. I made a PAT and put it on the password field.
The PAT has the following permissions as suggested by this comment on the godot engine tutorial docs regarding VCS:

  • Repository permissions (Read/Write): Actions, Adminstration, Codespaces, Contents, Issues, Merge, Pull requests
  • Account permissions (Read): Git SSH keys, SSH signing keys.

Perhaps the SSH key is not effective since I added it to my account as an Authentication Key rather than a Signing Key, and maybe it lacks permissions too. But then again I am very new to this, so I could be missing some fundamentals.

If it is important to mention: my OS is Windows 11 Pro, I am on Godot v4.4.stable.official [4c311cbee] and using version 3.2.0 of the plugin.

Lingua principale
C++
Stelle
966
Fork
100
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di godotengine/godot-git-plugin

Tutte le issue di godotengine/godot-git-plugin

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.