Skip to content

credential helper '/usr/bin/gp credential-helper' told us to quit  #8408

Closed
@davidwindell

Description

@davidwindell

Bug description

Since somewhere around the first week of February (working fine before for some time), we've had problems with composer installs as follows:

[RuntimeException]                                                                                                                                                
  Failed to execute git clone --mirror -- 'https://gitlab.ebizmarts.com/ebizmarts/magento2-pos-api-request.git' '/workspace/.composer/cache/vcs/https---gitlab.ebi  
  zmarts.com-ebizmarts-magento2-pos-api-request.git/'                                                                                                               
                                                                                                                                                                    
  Cloning into bare repository '/workspace/.composer/cache/vcs/https---gitlab.ebizmarts.com-ebizmarts-magento2-pos-api-request.git'...                              
  fatal: credential helper '/usr/bin/gp credential-helper' told us to quit  

This is causing a major headache for us.

Steps to reproduce

git clone --mirror -- 'https://gitlab.ebizmarts.com/ebizmarts/magento2-pos-api-request.git' '/workspace/.composer/cache/vcs/https---gitlab.ebizmarts.com-ebizmarts-magento2-pos-api-request.git/'

We can get everything to work by temporarily running:

sed -i 's/credential/credential "https:\/\/github.com"/' ~/.gitconfig

Workspace affected

No response

Expected behavior

I don't fully understand the purpose of the credential-helper but for repos like this, it should not be used and allow composer to use it's own auth file?

Example repository

No response

Anything else?

Could this be related to #4059

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions