Error Code Portal
Node.jsNode.jsError code

ERR_TLS_INVALID_STATE

tls invalid state

Code ERR_TLS_INVALID_STATE · An issue reported by Node.js.

The TLS socket must be connected and securely established. Ensure the 'secure' event is emitted before continuing.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.