Why do I see EOF errors after configuring Uniloader to connect to WebQloader over HTTP/S?
2026-10-28
After switching the connection between Uniloader and QueueMetrics to HTTP/S, you may start seeing EOF errors in the logs. They are usually caused by the keep-alive settings of the web server or reverse proxy (Apache, nginx, etc.) placed in front of WebQloader.
Uniloader reuses an already open HTTP/S connection to send multiple requests. If the server closes that connection for inactivity before Uniloader uses it again, the client finds a closed connection and logs an EOF. These errors are harmless, as no data is lost, but they can be annoying to see.
The fix is to make the server keep idle connections open for longer than the interval at which Uniloader sends its requests.
Apache (httpd)
Check the current settings:
grep -ri keepalive /etc/httpd/
If nothing is returned, Apache is using its defaults (KeepAlive On, KeepAliveTimeout 5), which may be too short. A match such as nokeepalive in ssl.conf is normal and is not the cause. Create the file /etc/httpd/conf.d/keepalive.conf:
KeepAlive On
KeepAliveTimeout 15
MaxKeepAliveRequests 1000
Then check the configuration and reload:
apachectl configtest
systemctl reload httpd
On Debian/Ubuntu the service is called apache2 and its files live in /etc/apache2/.
nginx
Check the current settings:
grep -ri keepalive /etc/nginx/
Make sure the http block (or the relevant server block) contains a timeout longer than Uniloader's sending interval, for example:
keepalive_timeout 65s;
keepalive_requests 1000;
Then check the configuration and reload:
nginx -t
systemctl reload nginx
If nginx acts as a reverse proxy to another backend, also check the keep-alive settings of the upstream connection, and those of any load balancer in the path.
After the reload, the EOF errors should stop appearing in the Uniloader logs. If they persist, try increasing the timeout further, keeping in mind that very high values keep server connections busy for longer.