By Ojo Odeniyi
Mr
I host my files on Digitalocean space. Almost everything works fine but I am unable to see images uploaded with editors for instance ckeditor after about a day of upload. This does show at first but fail to display by second day.
When I tried to preview the image to ascertain what is wrong, I encountered this kind of error:
<Error>
<Code>AccessDenied</Code>
<RequestId>tx********c0aa5095-006000a4ca-********-nyc3b</RequestId>
<HostId>**ce****d-nyc**b-nyc-zg***2</HostId>
</Error>.
Note: I replaced some things with ****.
I’ve tried what I could do eg changing permission but all to no avail.
Other images uploaded through IMG tags are displaying properly.
The app is a django app. The site is medsjoin.com
The concerned URLs are: https://www.medsjoin.com/post/101-are-covid19-vaccines-safe-for-hiv-patients/
https://www.medsjoin.com/forum/topic/14/covid19-update-in-nigeria/#c13
Kindly help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I solved the problem by enabling CDN, change the setting to public instead of privates,change all my files to public recursively, and set DEFAULT_ACL to ‘public-read’. Everything now works fine
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.