We have an agent that returns a HTTP response with basic status information (our agent version, whether the device is online, etc.).
In production, after an end user does a blink-up (no plan id so a new agent is created), a HTTP client request to the agent sometimes returns a 404 error immediately following blink-up. We suspect this is because the agent takes a moment to spin up and be ready to process requests. It is happening frequently enough to be of concern.
Just wondering if we can do anything or wait for any amount of time to ensure the agent is ready? Are there any upper limits on time taken for the agent to be ready? Is this dependent on load on Electric Imp backend and if so is that customer specific?
Any help would be appreciated!