Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request new firmware URL if current is expired #47

Open
jjcarstens opened this issue Sep 30, 2020 · 0 comments
Open

Request new firmware URL if current is expired #47

jjcarstens opened this issue Sep 30, 2020 · 0 comments

Comments

@jjcarstens
Copy link
Collaborator

Moving this from nerves-hub/nerves_hub_web#595

TL;DR - If you get a firmware url and delay applying it before the TTL expires (~10 minutes), then issues happening.

We should adapt the download request here to ask for a new, generated URL if the link is expired, but limit to only X number of retries (3 maybe?)

This will prob require new channel message in nerves_hub_web to support getting another download URL because currently it only happens on channel join or when deployment/device changes in nerves_hub_web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants