godotengine / godotengine/godot-git-plugin

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

Open
#258 2 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
954
Forks
98
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.