Notehub Auto Retry

Hi, I’m trying to enable the auto retry feature for a route in my Notehub following this link: Notehub Walkthrough - Blues Developers, but I don’t see this button in my route setting. Is there some other ways for me to enable it rather than implementing it myself? Thanks!

Hey @vickylry,

Thanks for pointing this out, and sorry for the confusion.

Auto retry is not available for proxy routes as they work a little differently than all other Notehub routes. Proxy routes handle web transactions from a Notecard, and are handled synchronously over a continuous connection, which makes adding “auto retry” logic weird because Notecard would be waiting that whole time for a response.

If you want the ability to retry your endpoint multiple times with a proxy route, you can still implement that behavior in your host’s firmware. Basically, you’d have to handle errors that come back from your Notecard’s web.* requests, and add logic to retry the web.* requests a few times. If you have any questions about that let me know.

And we’ll get the documentation updated. Thanks again for letting us know.

Thanks,
TJ