localtunnel / server

server for localtunnel.me
https://localtunnel.me
MIT License
3.02k stars 979 forks source link

self hosted server - socket hang up #129

Open maciej-blyng opened 4 years ago

maciej-blyng commented 4 years ago

The following exception is thrown at Client.js

     clientReq.once('error', (err) => {
            // TODO(roman): if headers not sent - respond with gateway unavailable
            console.err(err);
        });
"Error: socket hang up
    at createHangUpError (_http_client.js:323:15)
    at Socket.socketOnEnd (_http_client.js:426:23)
    at Socket.emit (events.js:203:15)
    at Socket.EventEmitter.emit (domain.js:448:20)
    at endReadableNT (_stream_readable.js:1143:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)"

Any thoughts on why would I get that.

Only replaced the debug logger with winston logger. Other than that straight from master.

brbrr commented 3 years ago

I experiencing a similar issue. Have you figured the problem?