verdaccio-gitlab icon indicating copy to clipboard operation
verdaccio-gitlab copied to clipboard

Can't Access Private gitlab server

Open as3mbus opened this issue 4 years ago • 0 comments

i am trying to integrate private gitlab instance with verdaccio using this plugin. and yes i'm still far from understand on how verdaccio plugin works

so far what i've done is :

  1. install gitlab verdaccio package
  2. add gitlab auth plugin
  3. setting the url to http://192.168.0.16

but when i try to login using private access token the web interface only shows unable to sign in.

i've tried to set the url to https://gitlab.com and it worked just fine.

is there any way for me to debug this deeper.

thank you beforehand.

EDIT : Managed to read log file and it seems the error are on gitlab query

[gitlab] user: as3mbus error querying gitlab: StatusCodeError: 404 - {\"error\":\"404 Not Found\"}"

EDIT2 :

Traced the log to assume that my gitlab api are having problem

"[gitlab] authenticate called for user: billy.firman"
"[gitlab] user: billy.firman not found in cache"
"[gitlab] querying gitlab user groups with params: [object Object]"
"[gitlab] user: billy.firman error querying gitlab: StatusCodeError: 404 - {\"error\":\"404 Not Found\"}"

but the only problem are related to projects, and groups API.

as3mbus avatar Mar 30 '21 08:03 as3mbus