question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When connection crashes, can no longer use that subdomain

See original GitHub issue

I understand that good work is being done on this library to help improve reliability. I wanted to bring up another issue that may be related in an adjacent way. I’m also curious if anyone else is having this issue.

My connection frequently disconnects, but I then can’t use that same subdomain… I don’t mind having to restart localtunnel every now and then, but losing access to that subdomain is pretty frustrating.

For example, I use mydomain as the subdomain on port 3000, it crashes, and when I run lt --subdomain mydomain --port 3000 again, it generates the random characters. I then have to use something like mydomain1, and update the server address on every single sensor I have (which send data over a cellular connection to my rails server), which is definitely frustrating.

Has anyone else had this issue?

Is there any way to kill all instances of localtunnel if there are instances running…?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:26
  • Comments:27 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
defunctzombiecommented, May 16, 2018

I’ve deployed a new server backend that should resolve this issue. If your client is disconnected (or dies) then the subdomain will be available again within a second.

6reactions
saeta-ethcommented, Apr 4, 2018

@defunctzombie I use nodemon to automatically restart my node server and, sometimes, it also happens when I make some changes in my application.

Localtunnel logs: /usr/local/lib/node_modules/localtunnel/bin/client:58 throw err; ^ Error: connection refused: localtunnel.me:36312 (check your firewall settings) at Socket.<anonymous> (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:47:32) at Socket.emit (events.js:127:13) at emitErrorNT (internal/streams/destroy.js:64:8) at process._tickCallback (internal/process/next_tick.js:114:19)

Then, I try to restart localtunnel but it gives me a different URL and ignores my subdomain.

Read more comments on GitHub >

github_iconTop Results From Across the Web

LocalTunnel randomly crashes and subdomain no longer works
I have a server that runs via Node on my machine. It runs when my pc starts up under a custom subdomain using...
Read more >
Can't access certain subdomain website? DNS NSEC3 issue?
We had been able to access the site successfully multiple times in the past days, but this seems due to cached DNS records...
Read more >
Adding a subdomain crashes Litespeed
Hi, I upgraded to latest and tested and it crashed again. I don't know what I am missing.
Read more >
Subdomain free package Misleading - InfinityFree Forum
A main domain and IP address will never show your website. This is normal and doesn't say anything about your account status. Rylee.SKY:...
Read more >
Cloudflare site crashing - DNS & Network
When resolving DNS with Cloudflare, but not using the HTTP proxy, ... that won't affect our main domain, just one page on a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found