Skip to content
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

Error when connecting with a wrong fingerprint #165

Closed
MiSchroe opened this issue Nov 8, 2024 · 1 comment · Fixed by #167
Closed

Error when connecting with a wrong fingerprint #165

MiSchroe opened this issue Nov 8, 2024 · 1 comment · Fixed by #167
Assignees
Labels

Comments

@MiSchroe
Copy link
Owner

MiSchroe commented Nov 8, 2024

TypeError: Converting circular structure to JSON --> starting at object with constructor 'Object' --- property 'issuerCertificate' closes the circle at JSON.stringify (<anonymous>) at TLSSocket.loginErrorHandler (/opt/iobroker/node_modules/iobroker.klf200/node_modules/klf-200-api/dist/cjs/connection.js:324:70) at TLSSocket.emit (node:events:529:35) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Error happens at

console.error(`loginErrorHandler: ${JSON.stringify(error)}`);

Occurs, when you try to login with a wrong fingerprint during logging the error.

@MiSchroe MiSchroe added the bug label Nov 8, 2024
@MiSchroe MiSchroe self-assigned this Nov 8, 2024
@MiSchroe MiSchroe linked a pull request Nov 11, 2024 that will close this issue
MiSchroe pushed a commit that referenced this issue Nov 11, 2024
-   [#165](#165) Fix logging error when the login throws an error in the TLS stack.
-   Fix lint findings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@MiSchroe and others