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.

Always disconnecting after few minutes

See original GitHub issue

I always keep disconnecting after a few minutes of using.

The terminal returns this message: 2018-12-17 15:21:25.568 INFO TunnelServer: Client #0 disconnected

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
mythsmancommented, Mar 9, 2021

@mythsman Which device/ROM is it? Some devices were known to kill background services, causing problems (for example VLC audio player was killed while playing).

By the way, I’m using gnirehtet in production with five linux server , each connected with 40 devices. I’m using relay-java and I find that the relay severs always throw OOM exception after running for some hours . I dump the heap and figure out I was because each ‘Client’ holds many connections (for about 400 ), and each ‘TCPConnection’ holds a streamBuffer of about 256KB . 256KB * 400 * 40 ≈ 4G , which eats out my poor heap…

Therefore I add a limit of 200 conections in each Router::connections , and then it work properly.

So I think it would be great if we could configure the ‘limit of connections for each router’ at start up…

0reactions
Amdadullah-Raihancommented, Sep 29, 2022

The connection gets disconnected automatically after a few minutes. How can I solve this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why your Internet keeps disconnecting every few minutes and ...
The issue is usually caused due to one of three things – the old driver for your wireless card, the outdated firmware version...
Read more >
Internet Disconnects Every Few Minutes: How to Fix in Seconds
Your Internet is probably disconnecting every few minutes because of an issue with your router. It may have loose cables or out-of-date firmware ......
Read more >
Why My Internet Keeps Disconnecting Every Few Minutes?
Why My Internet Keeps Disconnecting Every Few Minutes? · Method 1: Update or Reinstall Network Drivers · Method 2: Reset Network Configuration.
Read more >
Internet connection disconnects every few minutes
Try restarting your modem, router and PC in that order with 1 minute in between each. Try updating the Network adapter driver from...
Read more >
internet keeps disconnecting every few minutes - RouterCtrl
It could be a simple fault such as the switch being turned off or a cable getting loose. If the problem persists after...
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