Is there a timeout limit when polling data to the API?

Yes, there is a 10 second timeout. If we don't receive a response within 10 seconds while polling your endpoints, the widget will timeout with the following message:

Error received when loading widget data:

Errno::ETIMEDOUT

If your custom widget times out, we'd suggest:

  • Optimize the applications that Geckoboard polls so that the maximum timeout isn't reached.
  • Configure the widget to use the Push method. With the Push method, your application can "take its time" querying the data and making calculations and then whenever it's done, the payload can be built and pushed to Geckoboard. This way, no matter how long it takes to query your data and build the payload, there is no timeout threshold.
Was this article helpful?
👍

Thank you for your feedback!