-
Notifications
You must be signed in to change notification settings - Fork 63
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
Expired firmware urls #595
Comments
I think this can be updated. Several of us are at conferences the next two weeks, and I suspect that it will be hard to get fixed and reviewed until after those are over. I personally like your idea of having clients request a new signed url if they get a 403. It seems like if we go the direction of lengthening the ttl, we'll be regularly bumping it upwards. |
I agree that this should be handled by requesting a new presigned URL instead of trying to bump ttl's |
To make it easier for the client, we'll need to add a channel message to support the client requesting a check for update |
I'm going to close this issue as the TTL for a firmware download is currently set to 24 hours. I also agree that a client should request a new firmware URL, which would allow us to reduce the TTL to 5 or 10mins, but we should open up a different issue for that, possibly in https://github.com/nerves-hub/nerves_hub_link as https://github.com/nerves-hub/nerves_hub_link_http has been archived. |
My
NervesHubLink.Client
put off applying an update for about 2hrs - when it could finally apply the update I received a 403 error:@jjcarstens did some digging and found that there is a hardcoded
600
s ttl on objects put into the fw bucket on s3.It's normal that our devices won't be able to apply an update for a couple of hours so I'm wondering if the ttl should be configurable or should the client not error on 403 and somehow request a new signed url?
Thanks.
The text was updated successfully, but these errors were encountered: