profile
viewpoint

Ask questions[Bug] Node 10.1.0 TLS issue with ldap: Client network socket disconnected before secure TLS connection was established

We are experiencing issue while login to ldap in paralele.

The service we use is verdaccio v3.0.2 with an Alpine linux docker container.

We use verdaccio-ldap module for the ldap authentication part.

We are experiencing issue due to multiple transactions to the LDAP through TLS.

This happens after upgrade to node 10.1.0.

Error: Client network socket disconnected before secure TLS connection was established
    at TLSSocket.onConnectEnd (_tls_wrap.js:1092:19)
    at Object.onceWrapper (events.js:273:13)
    at TLSSocket.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1086:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  • Version: Node 10.1.0 npm 6.1.0
  • Platform: Debian
  • Subsystem: Alpine
nodejs/node

Answer questions opensas

1. Use old version of NodeJS

can anybody tell me what is the latest node version supportin tls 1.0???

I have to access a server I cannot control, so I really need some way to connect to it.

Thanks a lot

useful!
source:https://uonfu.com/
answerer
opensas opensas Buenos Aires, Argentina Full stack developer | Free software advocate | Nerd by nature | Hacker by night
Github User Rank List