error when attempting to load page... #102

Closed
opened 2018-11-30 12:02:54 +00:00 by csurf · 0 comments
csurf commented 2018-11-30 12:02:54 +00:00 (Migrated from github.com)

I'm getting the following error on the server after successfully connecting from a client, but when attempting to load a site through the tunnel:

[root@mybox localtunnel-server]# node -r esm ./bin/server --port 1125
  localtunnel server listening on port: 1125 +0ms
  localtunnel:server making new client with id test +0ms
[error] server:60 ParserIncomingMessage is not a constructor
TypeError: ParserIncomingMessage is not a constructor
    at HTTPParser.parserOnHeadersComplete (_http_common.js:81:21)
    at Socket.socketOnData (_http_client.js:440:20)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at TCP.onread (net.js:601:20)

Nothing loads on the client browser, except an error indicating an ERR_EMPTY_RESPONSE.

Any ideas?

I'm getting the following error on the server after successfully connecting from a client, but when attempting to load a site through the tunnel: ``` [root@mybox localtunnel-server]# node -r esm ./bin/server --port 1125 localtunnel server listening on port: 1125 +0ms localtunnel:server making new client with id test +0ms [error] server:60 ParserIncomingMessage is not a constructor TypeError: ParserIncomingMessage is not a constructor at HTTPParser.parserOnHeadersComplete (_http_common.js:81:21) at Socket.socketOnData (_http_client.js:440:20) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) ``` Nothing loads on the client browser, except an error indicating an ERR_EMPTY_RESPONSE. Any ideas?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hoelee/server#102