-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Description
Describe the bug
When cloning a repo that isn't in the authorisedList or in the repo database, an incorrect/unrelated error message appears.
To Reproduce
Choose a repo that isn't in the authorisedList or in the repo database, then clone it:
- Run GitProxy
- Execute the following (replace with invalid repo)
git clone http://localhost:8080/open-webui/open-webui.git`This gives the following error:
fatal: http://localhost:8000/open-webui/open-webui.git/info/refs not valid: could not determine hash algorithm; is this a git repository?`
Adding the repo to the database or authorisedList will let the clone go through (therefore the command is correct).
Expected behavior
This flow should display a relevant error, such as REPO_NAME not in authorisedList or database.
Screenshots
Proxy output
git clone output
Metadata
Metadata
Assignees
Labels
No labels