Intermittent Network Err from our backend
yuvalreg
PROOP

5 days ago

We're experiencing intermittent network errors affecting our React Native mobile app's API requests to our Node.js backend hosted on Railway.

The errors occur for approximately 16 users per day out of several hundred active users.

Error Pattern (from Sentry):

- Error Type: AxiosError: Network Error (ERR_NETWORK)

- Response: response_body_size: 0 - No response received

- HTTP Status: [0] - Request never completed

- Request Duration: ~25ms (immediate failure, too fast for network round-trip)

- Multiple endpoints fail simultaneously within the same millisecond

Sample timestamps (UTC):

- 2025-12-01 06:50:34

- 2025-12-01 08:33:11

Sample Error:

06:50:34.949 - Request started: GET /api/app/client/coach-data

06:50:34.974 - Request failed: response_body_size: 0, status: [0]

Multiple endpoints show identical failure timestamps, suggesting connection-level rejection rather than application errors.

What i have checked:

- Cloudflare: Dashboard shows no blocked requests

- Application errors: Requests don't reach our Node.js app (no logs)

Could you please check if there are any connection rejections or drops in your infrastructure logs around these timestamps? We suspect the issue may be before requests reach our application.

Thank you!

$10 Bounty

2 Replies

Railway
BOT

5 days ago


hey, from what youre describing, it sounds like a client side issue, but can relate to OS/DNS/TLS handshake issue. id probably add detailed logs for validateStatus/timeout config on Axios to pinpoint the issue. as a potential mitigation, you can add retry logic with backoff in the mobile app for ERR_NETWORK and a lightweight /health check.

the sentry logs youve posted arent sufficient to pinpoint the exact issue


Loading...