INC-2674 · P1
The API returns 500 errors a few minutes after going to production
Toulouse · ml-api-01 · MasterLinux store · 11:45
The MasterLinux store sells lab kits to 3,000 customers in Toulouse and the surrounding area: customers place their orders
from a mobile app that talks to a Node.js/Express API (pm2, server ml-api-01), backed by
PostgreSQL (ml-db-01.masterlinux.lab).
Version 4.1.0, deployed at 11:00, now reserves stock when an order is placed. Around 11:10 the API started answering 500, first now and then, then all the time. The developer suspects "an environment variable forgotten during deployment".
You are logged in on ml-api-01, in the application folder (Git repository up to date, tags v4.0.0 and
v4.1.0). psql is configured to reach the database (~/.pgpass).
This simulation is part of a production simulation pack.
Unlock every production simulation
AWS, Azure, Google Cloud, on-premise and multi-cloud, from Beginner to Extreme: the real incidents of IT service companies and large IT organisations, available for a year.
Try the free demo simulation first
Already enrolled? Log in.