Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to gitlab selfhosted with token #234

Open
Martin-bl opened this issue Feb 15, 2024 · 0 comments
Open

Unable to connect to gitlab selfhosted with token #234

Martin-bl opened this issue Feb 15, 2024 · 0 comments

Comments

@Martin-bl
Copy link

Martin-bl commented Feb 15, 2024

Hello,
If I setup git-sync with username and password it works well on my gitlab self hosted.
But it don't work with a token.
I have this error :
Failed to save entry: fatal: could not read Password for 'https://{password}@git.mydomain.fr': No such device or address
I tried lots of things but nothing works.

On the same server, with the user grav, I tried : git clone https://oauth2:thegoodtoken@git.mydomain.fr/group/project.git
and it works.
I did a commit : it works

What am I doing wrong ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant