#Debugging

4 items tagged “Debugging

TILBackend3 min read

Debugging Problems That Only Appear in Production

TIL that a bug I couldn't reproduce locally turned out to depend on a real difference between environments — request concurrency — that my local setup structurally couldn't produce, no matter how hard I tried to repro it.

#Debugging
TILMobile2 min read

Understanding UnknownHostException in Android (and Why the API 'Worked Locally')

TIL that an Android UnknownHostException on a hostname that resolved fine everywhere else usually isn't a DNS problem at all — it's the app pointed at a hostname that only ever existed on my dev machine.

#React Native
TILMobile3 min read

Debugging Production API Failures by Reading the Client's Error, Not the Server's Logs

TIL that when a mobile app reports 'network error' against a production API, the fastest path to the actual cause is the client-side error object, not tailing server logs that show nothing wrong.

#React Native
TILBackend3 min read

Debugging a MongoDB/WiredTiger Cache Pressure Issue in Production

TIL that intermittent MongoDB slowdowns that don't show up in query logs can be a WiredTiger cache eviction problem, not a query problem — and the fix was a resource limit, not an index.

#MongoDB