-
Notifications
You must be signed in to change notification settings - Fork 458
Error [InvalidAsn1Error]: Expected 0x2: got 0x3 #714
Comments
I'm not 100% sure but I think the error is saying that it expected an int and received a bit string. This might be an issue with the server. |
I think you're showing that the error is happening during the |
Commenting out this function and just creating the client connection, I receive this same traceback on error. |
Unfortunately, without a way to reproduce it all we can do is guess at things. Have you enabled trace logging? https://github.com/ldapjs/node-ldapjs/blob/1570e049526fffc47df00615ce48860cf3da77b3/docs/client.md#note-on-logger Have you tried stepping through it with the debugger and inspecting the messages/processing? |
What type of information should I be looking for when I inspect through my debugger? |
🤷♂️ |
@ajay340 did you solve this problem? |
👋 On February 22, 2023, we released version 3 of this library. As a result, we are closing this issue/pull request. Please see issue #839 for more information, including how to proceed if you feel this closure is in error. |
I am trying to create a client to connect my company's ldap. However, I receive an error
jse_shortmsg: 'Parser error for 1__ldap://company:port', jse_cause: Error [InvalidAsn1Error]: Expected 0x2: got 0x3
My code:
The full traceback:
The text was updated successfully, but these errors were encountered: