You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I mentioned in the recent Avo Office Open Hours session, I said i'd post an issue about a problem we're hitting with some Active Storage images on S3.
I am confident this is not an Avo issue so I apologise for posting but we're running out of places to find some guidance from with this.
We have some assets uploaded to S3 in as simple a method as we can. We output them with:
<%= image_tag post.image if post.image.attached? %>
The bucket is set up as default with an IAM user configured with full access.
On initial page load the images show correctly. After a period of time, when we do a soft reload the images fail. If I open them in a new tab I see output like:
I understand that S3 assets do expire, but want to know why performing a soft refresh (what a regular user would do) does not generate a new valid image access?
Doing a hard refresh does show the image correctly.
Really struggling to understand this one. I do hope you can shed some light onto it for us.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi @adrianthedev
As I mentioned in the recent Avo Office Open Hours session, I said i'd post an issue about a problem we're hitting with some Active Storage images on S3.
I am confident this is not an Avo issue so I apologise for posting but we're running out of places to find some guidance from with this.
We have some assets uploaded to S3 in as simple a method as we can. We output them with:
<%= image_tag post.image if post.image.attached? %>
The bucket is set up as default with an IAM user configured with full access.
On initial page load the images show correctly. After a period of time, when we do a soft reload the images fail. If I open them in a new tab I see output like:
When we check the network panel we see:
I understand that S3 assets do expire, but want to know why performing a soft refresh (what a regular user would do) does not generate a new valid image access?
Doing a hard refresh does show the image correctly.
Really struggling to understand this one. I do hope you can shed some light onto it for us.
Thanks in advance!
The text was updated successfully, but these errors were encountered: