A team mate ran into this today while browsing a site through BCDetect, not sure of the root cause, though the stacktrace seems to imply that the error wasn't handled properly.
Anonymized output:
BC Detect Version Up To Date
servers.js proxy [EE]:proxy error: { Error: socket hang up
at createHangUpError (_http_client.js:344:15)
at TLSSocket.socketOnEnd (_http_client.js:436:23)
at emitNone (events.js:110:20)
at TLSSocket.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1047:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9) code: 'ECONNRESET' } https://maxcdn.bootstrapcdn.com:443/font-awesome/4.7.0/css/font-awesome.min.css
servers.js proxy [EE]:https://foo.example.com:443/path/to/page/630578f5-69e6-4c61-8040-21a9188c2ee7 { Error: Line 5: Unexpected token ,
at ErrorHandler.constructError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5004:22)
at ErrorHandler.createError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5020:27)
at Parser.unexpectedTokenError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1985:39)
at Parser.throwUnexpectedToken (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1995:21)
at Parser.parseObjectProperty (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2584:23)
at Parser.parseObjectInitializer (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2595:35)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parsePrimaryExpression (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2347:38)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parseLeftHandSideExpressionAllowCall (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2892:26) index: 141, lineNumber: 5, description: 'Unexpected token ,' } Error: Line 5: Unexpected token ,
at ErrorHandler.constructError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5004:22)
at ErrorHandler.createError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5020:27)
at Parser.unexpectedTokenError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1985:39)
at Parser.throwUnexpectedToken (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1995:21)
at Parser.parseObjectProperty (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2584:23)
at Parser.parseObjectInitializer (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2595:35)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parsePrimaryExpression (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2347:38)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parseLeftHandSideExpressionAllowCall (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2892:26)
servers.js proxy [EE]:https://foo.example.com:443/path/to/page/630578f5-69e6-4c61-8040-21a9188c2ee7 { Error: Line 5: Unexpected token ,
at ErrorHandler.constructError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5004:22)
at ErrorHandler.createError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5020:27)
at Parser.unexpectedTokenError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1985:39)
at Parser.throwUnexpectedToken (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1995:21)
at Parser.parseObjectProperty (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2584:23)
at Parser.parseObjectInitializer (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2595:35)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parsePrimaryExpression (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2347:38)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parseLeftHandSideExpressionAllowCall (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2892:26) index: 141, lineNumber: 5, description: 'Unexpected token ,' } Error: Line 5: Unexpected token ,
at ErrorHandler.constructError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5004:22)
at ErrorHandler.createError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:5020:27)
at Parser.unexpectedTokenError (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1985:39)
at Parser.throwUnexpectedToken (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:1995:21)
at Parser.parseObjectProperty (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2584:23)
at Parser.parseObjectInitializer (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2595:35)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parsePrimaryExpression (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2347:38)
at Parser.inheritCoverGrammar (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2278:37)
at Parser.parseLeftHandSideExpressionAllowCall (/Users/foo/path/to/BCDetect/libs/node_modules/esprima/dist/esprima.js:2892:26)
A team mate ran into this today while browsing a site through BCDetect, not sure of the root cause, though the stacktrace seems to imply that the error wasn't handled properly.
Anonymized output: