My stack is nginx + express (nodejs) api + mysql. So most of the apis either read or write to a mysql database. But our service logs 499 status code often even with less than 3 concurrent users.
Our client axios timeout is set to 1 min. All DB queries finish less than 100ms so 499 should not occur because of the the client-side timeout. It should be the server taking longer than 1 min sometimes and the client is timing out.
What is the reason for this behavior and how can I resolve this?