repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
508 stars 105 forks source link

GitHub private repository sync error #656

Open mike-soak opened 1 year ago

mike-soak commented 1 year ago

Since GitHub rotated its RSA SSH Host Key (https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/), private packages have failed to sync …

Error: Failed to execute git clone --mirror -- 'https://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:***@github.com/SoakDigital/wordpress-plugin-test.git' '/home/repman/.composer/cache/vcs/git-github.com-SoakDigital-wordpress-plugin-test.git/'

Cloning into bare repository '/home/repman/.composer/cache/vcs/git-github.com-SoakDigital-wordpress-plugin-test.git'...
remote: Repository not found.
fatal: repository 'https://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:***@github.com/SoakDigital/wordpress-plugin-test.git/' not found

Logs:
Failed to clone the git@github.com:SoakDigital/wordpress-plugin-test.git repository, try running in interactive mode so that you can enter your GitHub credentials

I have found that by creating a new organisation even as the same user I am able to add these packages without issue. Suspect each organisation needs to have authentication kicked to resume service, but as this is a hosted service, I don’t have the tools to do it.

mike-soak commented 1 year ago

(For reference, the organisation name is soak-digital)

Jelle-S commented 5 months ago

@mike-soak did you manage to fix this? We're experiencing the same error

lululombard commented 3 months ago

Same error here :(