Question

Connections *sometimes* take far too long

Posted January 23, 2018 1.6k views
NginxUbuntuDockerNetworking

I run a Droplet with Ubuntu 17.10.

My Droplet is a server using Nginx. Independently of this, it also hosts a Docker registry on another port.

The website exposed by Nginx works fine most of the time and loads quickly. However, sometimes, and I haven’t noticed a pattern when, the website will refuse to load for almost a minute or so. Retrying the connection doesn’t help. Once the website has finally loaded, it becomes much faster again.

The Docker registry works, since I can successfully upload test programs to it. However, when I try to upload larger things, it becomes extremely slow to the point where it is effectively unusable.

I don’t know if these two problems are related.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

I just noticed: sometimes when I try to access the Docker registry, it won’t even connect at all:
‘request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)’

Submit an Answer