Question

Images not showing after about 1 day when uploaded with editors like ckeditor

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.


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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