500 error when setting up repository mirroring from GitHub -> GitLab.com
Summary
GitLab.com throws a 500 when I set up repository mirroring from GitHub to GitLab.com.
Steps to reproduce
- Import a project from GitHub
- New project > Import project > Import project from > GitHub
- Click "Import" next to the repository to be imported
- Wait for the import to complete successfully
- In the new GitLab.com project's page, set up pull mirroring from GitHub
- Settings > Repository > Mirroring repositories
- Enter a URL like
ssh://github.com:nfriend/qmk_firmware.git - Set Mirror direction = Pull
- Set Authentication method = SSH public key
- Add the public key that is generated to GitHub
- GitHub.com -> Settings -> SSH and GPG keys -> New SSH key
- Click "Mirror Repository"
Example Project
Here is the project I am trying to mirror from GitHub: https://github.com/nfriend/qmk_firmware
Here is the project that GitLab.com imported for me: https://gitlab.com/nfriend/qmk_firmware
What is the current bug behavior?
The page shows a 500 error very quickly after I click the "Mirror Repository" button.
What is the expected correct behavior?
The page should reload correctly (and show me a friendly error message if I'm doing something wrong).
Output of checks
This bug happens on GitLab.com.