TypeError: Cannot read property '_destroySSL' of undefined

What I Wanted to Do

Created postman collection that uses REST to PUT messages to an MQWEB instance.
Postman collection executes a PUT to logon, then
executes 2 requests alternately to PUT messages for 1,000 iterations.

What Happened Instead

After 100 iterations it stops with the error:
_tls_wrap.js:547
self._destroySSL();
^

TypeError: Cannot read property ‘_destroySSL’ of undefined
at Timeout.destroySSL [as _onTimeout] (_tls_wrap.js:547:8)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)

Reproduction Steps

[test-PUT-fhir.postman_collection.json|attachment](upload://zFzIpb4z2Caqo51m4hSiRfFWkbz.json) (96.3 KB) [TST-QMT7.postman_environment.json|attachment](upload://jlxkLwP66T3GngZI2rxe75qQgdO.json) (1.6 KB)

newman run “h:\Postman-files\test-PUT-fhir.postman_collection.json” --environment “H:\Postman-files\environment\TST-QMT7.postman_environment.json” --insecure --global-var “password=********” --global-var “RunCnt=1000” --verbose

Details

Unfortunately, this is NOT a public server.

Platform Info

$ npm --versions
{
  npm: '6.9.0',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '35.1',
  http_parser: '2.8.0',
  icu: '64.2',
  llhttp: '1.1.3',
  modules: '72',
  napi: '4',
  nghttp2: '1.38.0',
  node: '12.4.0',
  openssl: '1.1.1b',
  tz: '2019a',
  unicode: '12.1',
  uv: '1.29.1',
  v8: '7.4.288.27-node.18',
  zlib: '1.2.11'
}

$ node -p process.platform
win32

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)

This issue IS with my package: newman. When I take my Chevy to the dealer because it wont start, he doesn’t refer me to ac-delco – he acknowledges and fixes
the problem!

Ajulian

I’ll try the car analogy. This is a forum focused on npm itself. npm is like a delivery service that delivers car parts or even whole cars, but it is not responsible for what can go wrong when you try and start your custom-made car. You need to contain the manufacturer of the parts yourself. This forum is mainly for solving delivery problems, and problems with wrapping the car parts for delivery, and problems specifying what parts you want delivered, but not the function of the car parts themselves.

There are currently 1,016,644 packages that npm can deliver.

From your description I did not think that npm was directly involved? It looked like a problem with using Postman or when running your program. At that point it is all node and your code. npm is not directly involved.