Redirect with Route53 and S3, ERR_CONNECTION_TIMED_OUT

0

Hello,

After I've made a redirect to an external URL, using Route 53 and S3 (please see below S3 setup), the page does not load, or load hardly in any browser or application (Facebook, other site), while in Postman it loads instantly always. Also, when using the Bucket website endpoint (http://jsoncv.mihaiadam.com.s3-website.us-east-2.amazonaws.com), the page loads instantly.

please see attached the screen from S3 setup

I could not use the solution with CloudFront because I do not own the external URL and do not have the certificate, I only have a page on that server.

Is there a way to make the redirect working always in browser ? Could you please specify the technical reason for ERR_CONNECTION_TIMED_OUT / long time load ?

Thank you,
Mihai ADAM

1 Answer
2
Accepted Answer

Hello.

I accessed "http://jsoncv.mihaiadam.com/" from my PC, and the redirection was successful.
When I try to access it, it seems to be working without any problems.
I can't reproduce the timeout error, how can I reproduce the error?

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
  • Thank you, This link works. I used to try with the SSL link: https://jsoncv.mihaiadam.com, which does not work.

  • S3 static website hosting does not support HTTPS. Therefore, it must be accessed via HTTP. In other words, when accessing "jsoncv.mihaiadam.com", you need to access using HTTP instead of HTTPS. https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html

    Amazon S3 website endpoints do not support HTTPS. If you want to use HTTPS, you can use Amazon CloudFront to serve a static website hosted on Amazon S3. For more information, see How do I use CloudFront to serve HTTPS requests for my Amazon S3 bucket? To use HTTPS with a custom domain, see Configuring a static website using a custom domain registered with Route 53.

  • Hello,
    I have 2 questions, please:

    • If S3 does not support HTTPS, why sometimes works ?
    • Can I use CloudFront in my particular situation: "I could not use the solution with CloudFront because I do not own the external URL and do not have the certificate, I only have a page on that server." ?
      Thank you,
      Mihai ADAM

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions