Skip to content

Unable to connect to gitlab selfhosted with token #234

@Martin-bl

Description

@Martin-bl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions