ldap.ts failing all connections at some point #591
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Happening for both the strfry plugin as well as substr.
There is no error message in the logs that I was able to directly connect to it breaking for subsequent connections. However, there are a handful of these messages in the substr logs:
Both are only using one of the servers. So maybe adding a second would already help.
Update: the strfry plugin's LDAP exceptions are now logged, and I also added one missing
unbind
in the substr LDAP module.The feature has to be added to ldapts first: https://github.com/ldapts/ldapts/issues/182
I found the issue after it happened again and the exception was logged. Looks like it was this Deno bug:
https://github.com/denoland/deno/issues/29094
I updated Deno to the latest version. Let's see if it happens again.
I also saw a ton of failed writes on the relay, i.e. unauthorized clients trying to spam it. This seems to have triggered it, because Substr was still running fine. Similarly, I guess it could have been triggered exactly the same way with too many requests to Substr (i.e. the nostr.kosmos.org user/article pages).