Relaunching the Godot editor results in "too many redirects" error

オープン
#258 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, git, godot
領域
tooling

調査の方向性

Windows 上の Godot 4.3 で、GitHub HTTPS remote と PAT を設定してからエディターを再起動し、認証情報の失敗を再現します。godot-git-plugin/src/git_plugin.cpp:GitPlugin::_push の 533 行目付近から始めて、Version Control Settings のフローを調べます。エディターの再起動後も、PAT を再入力せずに保存された PAT を使える状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Hello everyone.
My project is connected to GitHub using HTTPS and a PAT token. Everything works, however, after relaunching Godot I get this error:

core/variant/variant_utility.cpp:1092 - 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 -1: too many redirects or authentication replays in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533

But here's the weird thing: When I go to Project > Version control > Version Control Settings and paste the same PAT token again, it magically works again!
Until I restart the editor again. It seems that the plugin maybe doesn't store my PAT token properly? But why the weird error then?

Here's also a video showcasing the problem:

https://github.com/user-attachments/assets/0156982e-b154-4195-a977-3a2d67c75fcd

And for good measures here's also my system info (I don't know why it says Windows 10, I'm on 11):
Godot v4.3.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4070 Ti SUPER (NVIDIA; 32.0.15.6094) - AMD Ryzen 9 7900X3D 12-Core Processor (24 Threads)

主要言語
C++
スター
966
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

godotengine/godot-git-plugin のほかの issue

godotengine/godot-git-plugin の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。