-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid projects URL prevent authentication #74
Comments
This is a quite funny effect. Seems to have been introduced by #62 but caused by the Gitlab library itself, not us. One of the changes in that PR was to use the projects API call, but somehow it builds the query to gitlab incorrectly. I wasn't myself able to reproduce the issue. I checked the changelog of the gitlab library but didn't find anything in this direction. @bufferoverflow @jstarry What do you think? |
@simon-jouet No sorry, my mistake, I'm diving deeper into this but I don't think the request comes from verdaccio-gitlab, the correct Are you sure you don't have some extra plugin around querying that? |
Otherwise this might have to do with the latest changes in verdaccio, or the logs are out of order :-? |
@simon-jouet Are you by chance using |
Thanks @dlouzan, getting back to you on the points you've made
Yeah no other plugins, just a docker stack for verdaccio-gitlab with verdaccio.yaml nothing else
I'm not no, I've posted the config below and I think it's a fairly out-the-box one
I would think it's something to do with the latest changes considering that the exact same config with a rollback in version is working without any problems (using the same version of gitlab) |
First off, thanks for verdaccio-gitlab it's been great to use!
I just migrated my gitlab from one server to another and moved verdaccio with it. At the same time I upgraded the version of both gitlab and verdaccio but I'm running into some issues now with the authentication.
Looking a bit into it I get this error from verdaccio
and looking into gitlab API logs, I noticed that url called to get the projects is incorrect
In that you can see that the final call is
/api/v4
but then the aboslute url to the gitlab project is used.For the time being I reverted to the previous version of verdaccio-gitlab with
image: bufferoverflow/verdaccio-gitlab@sha256:1a5c2e910cff98f2ab3c8030c868c8d2013274f0a0edaf83ba6a01270f5900ef
and it seems to be working.The text was updated successfully, but these errors were encountered: