Question

CDN url of the images in Spaces Object Storage load slows and timeout

Hello,

I am using Space Object Storage to store the user’s photos. I added the custom CDN domain. When the client uses the CDN URL for the photos to load on their apps then the image keeps loading failing with a timeout error. When I tried to use the original URL, it worked. How can I fix it?

Thank you so much.

Kind regards, Kien.


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.

alexdo
Site Moderator
Site Moderator badge
November 9, 2023

Heya, @kienvtqhi

Take a moment to go over the CDN setup for your custom domain. Ensure that every configuration detail is spot on, and pay special attention to any typos or missteps that might have slipped through the cracks. It’s these small details that can sometimes be the culprits behind those elusive timeout errors.

Just like waiting for a favorite dish to cook, DNS changes need some time to spread and settle. If you’ve recently set up your custom domain, consider giving it a bit more time. Grab a coffee, take a short break, and come back to check on it. Sometimes, a little patience is all it takes for the DNS magic to fully unfold. Oh, and don’t forget to clear that DNS cache – it’s like giving your project a fresh start.

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel