Localtunnel: Tunnel crashes randomly after 20-30 Minutes

Created on 27 Jun 2017  路  13Comments  路  Source: localtunnel/localtunnel

abc@bcd-GL MINGW64 ~
$ lt -l grumberg.app -p 80
your url is: https://zsmhwraqtc.localtunnel.me
C:\Users\abc\AppData\Roaming\npm\node_modules\localtunnel\bin\client:58
        throw err;
        ^

Error: connection refused: localtunnel.me:33399 (check your firewall settings)
    at Socket.<anonymous> (C:\Users\abc\AppData\Roaming\npm\node_modules\localtunnel\lib\TunnelCluster.js:47:32)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at emitErrorNT (net.js:1295:8)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Any idea?

Most helpful comment

@defunctzombie it happens after a few minutes, sometimes even shorter. Also, the crash is caused by an uncaught exception. It should at least be handled gracefully. Of course, ideally, it would recover and reconnect.

All 13 comments

I'm having the same issue

Happening here too, same error different port number. Stack trace is the same. Version 1.8.3.

Getting the same error.

Got the same error

Same here. Running on a macOS. A _slightly_ different stack trace.

your url is: https://<redacted>.localtunnel.me
/usr/local/lib/node_modules/localtunnel/bin/client:58
        throw err;
        ^

Error: connection refused: localtunnel.me:45733 (check your firewall settings)
    at Socket.<anonymous> (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:47:32)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Same issue

Hi guys,

Any news about that issue ?

Somehow i have a feeling it has to do with dns queries or changes from isp

Same here

The service is not the most reliable and such crashes will sometimes happen. Localtunnel is a development focused tool meant for use over short bursts of time rather than long hosting periods.

@defunctzombie it happens after a few minutes, sometimes even shorter. Also, the crash is caused by an uncaught exception. It should at least be handled gracefully. Of course, ideally, it would recover and reconnect.

@Scarwolf @hoover456 @igorstimoli @gaetansenn @D3X
As a hotfix you can use localtunnel-restarter

I'm seeing this same issue with the latest code.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LaravZ picture LaravZ  路  9Comments

LewaIngame picture LewaIngame  路  7Comments

dreki picture dreki  路  21Comments

SkandaBhat picture SkandaBhat  路  10Comments

tayurus picture tayurus  路  3Comments