Many requests fail with `request timeout` after exactly 60 seconds.
IntermediateTroubleshootingk6 Load Testing
Answer
Likely causes → k6's default per-request timeout is 60s. The service is hanging (thread pool exhausted, waiting on a dependency without timeouts), so requests never complete.
Diagnose → Check server-side: active connections, thread pools, DB pool waits, downstream latency. Check if the ingress has a longer timeout than k6.
Fix → Fix the hang on the server (timeouts on dependencies, bulkheads). In the test, set a realistic timeout matching real clients: http.get(url, { timeout: '10s' }).
Prevent → Every dependency call in the service has an explicit timeout; test with slow dependencies using chaos.
More on k6 Load Testing
k6 prints `WARN[0030] Insufficient VUs, reached 100 active VUs and cannot initialize more executor=constant-arrival-rate scenario=steady`.AdvancedCI fails with `ERRO[0602] thresholds on metrics 'http_req_duration' have been crossed` and exit code 99.BeginnerEvery request fails with `dial tcp: lookup checkout on 10.96.0.10:53: no such host`.BeginnerThe test starts fine, then errors switch to `dial tcp 10.96.41.12:8080: connect: connection refused`.IntermediateThe k6 load generator logs `socket: too many open files`.IntermediateAt high rates, k6 errors with `dial tcp 10.0.3.15:443: connect: cannot assign requested address`.Advanced