TypeError: Method _external called on incompatible receiver #<TLSWrap>

I’m getting a TypeError when using HTTPS:

TypeError: Method _external called on incompatible receiver #<TLSWrap>

Any idea what is causing this?

Notebook to reproduce:

Hi unsunghero,

This is in fact the same issue as https://discuss.tonicdev.com/t/xhr-request-not-supported/91/4. The response object contains a TLSWrap object nested deep inside that does not like getOwnPropertyDescriptor called on it. By simply not printing the response object, it works fine: https://runkit.com/tolmasky/https-is-broken . We are working on the best way to not serialize TLSWrap.