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

Đang mở
#258 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, git, godot
Lĩnh vực
tooling

Hướng nghiên cứu

Tái hiện lỗi thông tin xác thực trong Godot 4.3 trên Windows bằng cách cấu hình remote HTTPS của GitHub và PAT, sau đó khởi chạy lại editor. Bắt đầu tại godot-git-plugin/src/git_plugin.cpp:GitPlugin::_push quanh dòng 533 và kiểm tra luồng Version Control Settings. Hoàn tất khi PAT đã lưu vẫn có thể sử dụng sau khi khởi động lại editor mà không cần nhập lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
C++
Star
966
Fork
100
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của godotengine/godot-git-plugin

Tất cả issue của godotengine/godot-git-plugin

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.