I’m working on a backoff strategy for a robot. The API documentation states:
“Back off linearly for TCP/IP level network errors. These problems are generally temporary and tend to clear quickly. Increase the delay in reconnects by 250ms each attempt, up to 16 seconds.”
I understand this errors to be when – for whatever reason – the client cannot communicate with the server (ie: no Internet service). However, I’m not sure if HTTP status codes equal or greater than 500 should be treated as TCP/IP level network errors too (ie: 503 service unavailable), because, in order to receive this error codes, a successful connection between client and server should have happened already.
Could someone please help me understand this?