grav-plugin-git-sync icon indicating copy to clipboard operation
grav-plugin-git-sync copied to clipboard

Unable to connect to gitlab selfhosted with token

Open Martin-bl opened this issue 1 year ago • 0 comments

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:[email protected]/group/project.git
and it works.
I did a commit : it works

What am I doing wrong ?
Thanks

Martin-bl avatar Feb 15 '24 18:02 Martin-bl