nats-io / nats.ts

TypeScript Node.js client for NATS, the cloud native messaging system
https://www.nats.io
Apache License 2.0
178 stars 13 forks source link

check for tls certificate issue errors as in nats.js #61

Closed aricart closed 4 years ago

aricart commented 4 years ago

check https://github.com/nats-io/nats.js/pull/311 for possible impacts on nats.ts

https://github.com/nats-io/nats.js/issues/310

labsvisual commented 4 years ago

Hey! I was able to reproduce similar behavior on TypeScript since the underlying implementation in TCPTransport.ts is the same:

https://github.com/nats-io/nats.ts/blob/079998b614edce55ca895127a19f2120e6b56376/src/tcptransport.ts#L102

The same fix should work here! 😄

aricart commented 4 years ago

Yes created that issue in response