Skip to content
  1. LuzineDebug
  2. DevOps, servers & cloud

DevOps, servers & cloud errors: causes and fixes

Deployment errors: Nginx 502 and 504, SSL certificates, GitHub Actions, Vercel, Netlify, AWS, Kubernetes. How to read the server logs and get the site back online, step by step.

2026/11/28 14:03:27 [error] 1234#1234: *89 upstream timed out (110: Connection timed out)…

Fix "upstream timed out (110: Connection timed out)" and 504 Gateway Time-out in Nginx

Nginx did reach your application (PHP-FPM, Node, Python…), but it did not answer within the allowed time (60 seconds by default),…

Intermediate 20 min
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Fix "nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)"

Another program is already listening on port 80 (or 443): often Apache, a second Nginx instance started by hand, or a Docker conta…

Beginner 5 min
413 Request Entity Too Large

Fix "413 Request Entity Too Large" (Nginx, PHP, Express, Cloudflare)

The request body (often an uploaded file) is larger than the server accepts. On Nginx the default limit is 1 MB: raise client_max_…

Beginner 10 min
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Author…

Fix "Certbot failed to authenticate some domains" (Let’s Encrypt, Timeout during connect, acme-challenge 404)

Let’s Encrypt could not verify that you control the domain: it did not reach your server on port 80 (Timeout during connect), or i…

Intermediate 15 min
Error: Unhandled error: HttpError: Resource not accessible by integration

Fix "Resource not accessible by integration" in GitHub Actions

The workflow’s GITHUB_TOKEN is not allowed to make the requested call (comment on a PR, push, create a release…). Declare the need…

Intermediate 10 min
404: NOT_FOUND

Fix the 404 on refresh of a SPA on Vercel ("404: NOT_FOUND"), Netlify and Nginx

Your React, Vue or Angular app handles its routes in the browser, but when you refresh /dashboard, the host looks for a /dashboard…

Beginner 5 min
An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

Fix "An error occurred (AccessDenied) when calling the PutObject operation" on AWS S3

The AWS identity in use is not allowed to write to this bucket, or a rule explicitly prevents it. First check who you are with aws…

Intermediate 20 min
The connection to the server localhost:8080 was refused - did you specify the right host o…

Fix "The connection to the server localhost:8080 was refused" with kubectl

kubectl finds no kubeconfig file and falls back to localhost:8080, where no cluster is listening. Copy the cluster configuration t…

Intermediate 10 min

Other areas