Runbook

High 4xx Errors on NGINX

Back to Runbooks

Overview

This incident type is related to a high number of 4xx errors on NGINX upstreams. This error is higher than usual and requires investigation to identify the root cause. The incident description typically includes details on the percentage of anomalous errors, the query used to detect the errors, and other relevant information such as the event type, monitor state, and tags. The incident may require the attention of the software engineer or other relevant personnel to resolve the issue and prevent it from reoccurring in the future.

Parameters

Debug

Check the status of the NGINX service

Check the NGINX error log for any relevant error messages

View NGINX access logs to identify the sources of the 4xx errors

Check the configuration file for any syntax errors

Check the NGINX configuration file for any relevant settings

Check the system load and resource usage

Check network connectivity between NGINX upstreams and clients/servers

Check NGINX upstream servers for any issues

Repair

Define the path to the NGINX configuration file

Check if the configuration file exists

Check the configuration file for any syntax errors

Restart NGINX if the configuration file is valid

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.