# TypeError: Cannot read properties of undefined (reading '\_destroySSL')

**URL:** <https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-destroyssl/81118>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [June 13, 2025, 4:55am UTC](https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-destroyssl/81118 "2025-06-13T04:55:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelpeng00](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@michaelpeng00](https://community.postman.com/u/michaelpeng00)\
**Post date:** [June 13, 2025, 4:55am UTC](https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-destroyssl/81118/1 "2025-06-13T04:55:39Z")

</div>

Hi There,

I have the following warning in Postman: “Warning: Self signed certificate in certificate chain” and the response is accepted and test passed.

But the test failed in newman in Azure Devops pipeline.  
newman v4.3.0  
Node.js v20.11.1

```auto
response has {undefined} Response body'
node:_tls_wrap:773
  self._destroySSL();
       ^
TypeError: Cannot read properties of undefined (reading '_destroySSL')
    at Timeout.destroySSL [as _onTimeout] (node:_tls_wrap:773:8)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

```

Any idea how to fix it?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 13, 2025, 10:04am UTC](https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-destroyssl/81118/2 "2025-06-13T10:04:39Z")

</div>

Hey @michaelpeng00 👋

Welcome to the Postman Community! :postman:

Does the request work on Newman if you use the `-k` or `--insecure` flag?

Your Newman version is also 2 major versions behind the latest one so that also could be the issue.

---

<div class="post-metadata">

**Author:** ![michaelpeng00](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@michaelpeng00](https://community.postman.com/u/michaelpeng00)\
**Post date:** [June 15, 2025, 9:45pm UTC](https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-destroyssl/81118/3 "2025-06-15T21:45:14Z")

</div>

Hi Danny,

I have tried to put insecure flag in the .run file but got the same error.

```auto
newman.run({
        insecure: true }

```

Might consider upgrade Newman to see if it goes away.
