Intermittent network timeout on Ubuntu 20.04 server

Spread the love

I’ve been having an intermittent network issue with my Ubuntu 20.04 LTS server. Theres a few symptoms that seem to be similar but slightly different so I’m not sure where to look exactly.
Heres a list of the symptoms:

Nginx web server seems to have a ‘start delay’ – basically if I havent accessed the web page in awhile the first attempt will timeout, but after waiting 2-3 minutes after the first attempt it will load up fine almost like its sleeping until woken up (Should note, this Nginx implementation is running in a docker container)
ssh daemon is also seeming to have a timeout issue ESPECIALLY when accessed via LAN vs. public IP. When attempting to ssh into my server via LAN I will often get a ssh: connect to host *.*.*.* port 22: No route to host The only sure fire way I found to resolve this is to first ssh in using my public IP and then exit and retry with my LAN ip and it typically works. Additionally, many times while already connected, the connection will ‘freeze up’/’timeout’ so basically when I type nothing appears immediately but if I wait 2-3 minutes it will execute any keys pressed during the freeze(sshd is running on the system as a service, and I added TCPKeepAlive yes to the settings)

Theres a few more issues that are generally similar as the above two but I dont access them as often – for instance my elk stack reacts similarly to the nginx issue
Personally I think it may be something with the router settings, so if anyone knows something that may be funky with netgear gateway c7000v2 settings let me know (the only changes I made to factory is port forwarding).

X ITM Cloud News


Leave a Reply

Next Post

Running machine configuration script hang, I don't know what can do

Wed Jul 1 , 2020
Spread the love          I am deploying the MAAS and JUJU as well as OpenStack on Ubuntu18.04. After the juju bootstrap running scripts is hang or need longtime, one hour or ten hours? $juju bootstrap maas maas-controller Creating Juju controller “maas-controller” on maas/default Looking for packaged Juju agent version 2.8.0 for amd64 […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware