godot-git-plugin icon indicating copy to clipboard operation
godot-git-plugin copied to clipboard

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

Open IfgiU opened this issue 1 year ago • 2 comments

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)

IfgiU avatar Sep 22 '24 12:09 IfgiU

(I don't know why it says Windows 10, I'm on 11):

The Windows build number is still 10.something on Windows 11, and the system information displays the build number. It's like Windows 7; it was 6.1 and not 7.0 (Vista was 6.0).

Calinou avatar Oct 07 '24 00:10 Calinou

I'm still getting this issue. Are there any solutions or plans to fix it? It really does feel like the Personal Access Token isnt being stored/saved.

Both the "Password" and "SSH Passphrase" fields on the VCS local settings window are blank upon restarting/reloading Godot; though, the "Username", "SSH Public Key Path" and "SSH Private Key Path" retain their entries.

thecathe avatar Feb 18 '25 20:02 thecathe