Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

TypeError: Cannot read property 'proxyToClientResponse' of null #1

@devallareddyb

Description

@devallareddyb

Hi when ever i am running i am getting error and application getting crashed

Listening on port 5555
Forwarding to addresses in 2001:19f0:4401:f49::/64 subrange
[Error: 140696405657472:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 48
] {
library: 'SSL routines',
function: 'ssl3_read_bytes',
reason: 'tlsv1 alert unknown ca',
code: 'ERR_SSL_TLSV1_ALERT_UNKNOWN_CA'
}
/root/4proxy6/4proxy6.js:44
ctx.proxyToClientResponse.writeHead(503);
^

TypeError: Cannot read property 'proxyToClientResponse' of null
at /root/4proxy6/4proxy6.js:44:9
at /root/4proxy6/node_modules/http-mitm-proxy/lib/proxy.js:534:12
at Array.forEach ()
at Proxy._onError (/root/4proxy6/node_modules/http-mitm-proxy/lib/proxy.js:533:24)
at Server.emit (events.js:311:20)
at Server.addListener (https.js:77:15)
at Server.emit (events.js:311:20)
at TLSSocket.onSocketTLSError (_tls_wrap.js:1025:29)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._tlsError (_tls_wrap.js:876:8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions