-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug] TypeError: (groups || []).concat is not a function , secure ldap is failing TLS randomly #33
Comments
I have added some // When it work, group is an Array of group except arr[0] which has the firstname and lastname of the LDAP users
[
"John Doe",
"npm_users"
]
debug-=- updating package @semantic-release/gitlab info
debug-=- updating package @semantic-release/npm info
debug-=- updating package babel-loader info
// This is what makes the TypeError, is it also because of the TLS error ?
{
"messageID": "2",
"controls": [],
"status": "unbind",
"matchedDN": "",
"errorMessage": "",
"referrals": [],
"connection": null
} We can get to this result only with node 8 or earlier, with node 10 it is about a TLS error. I really don't know how to correct this, can we re-authenticate in case of failure? |
There might be a way, without db to use application memory on first login to keep the user authenticated. bufferoverflow/verdaccio-gitlab#13 (comment) |
This commit verdaccio/verdaccio@a62688f will help to avoid such use case happens again. |
Very nice @juanpicado, not a fix but at least a message to trace. |
yw, you can try with |
Well, the ldap error is not solved so we removed the ldap plugin and we do not have this error. I'll modify my ldap when I'll have enough time to take care of the ldap/redis issue. |
Thanks, but that doesn't solve the spamming that should never happen. What about this : idangozlan/verdaccio-bitbucket#10 (comment) ? can we try the solution with this plugin? I don't think it support multiple instance thought it will work but it will still login more than once. There won't be as much spamming if you implement the |
I encountered a similar issue: warn --- basic authentication is deprecated, please use JWT instead |
Should be fixed since 2.1.0 |
We are using:
[email protected]
within docker[email protected]
[email protected]
within dockerWe have GItLab-CI runner that run
npm install --registry https://our.registry.com
for the project.I can connect repetitively multiple time to the LDAP, until:
In node 10.1.0
In node 8.11.2
We can connect repititively to the LDAP but then this error happen and prevent us totally from using verdaccio.
We are not using any proxy between verdaccio and the ldap, why is this happening?
Is there a way to prevent such bug ?
The text was updated successfully, but these errors were encountered: