Content Loading Failure from Elastic Beanstalk Instance

0

Hello All,

My website https://vincentgaleano.com/#/home is not able to load content through my Elastic beanstalk instance. Other pages have similar errors.

My website is hosted on Namecheap.com.

Error: GET https://galeanoapi-env-1.apjrsd3pue.us-east-1.elasticbeanstalk.com/images/home/projects/front-end.svg net::ERR_CONNECTION_CLOSED

Please let me know if you have any questions regarding my setup/configuration.

Thank you, Vincent Galeano

1 Answer
0

Hi,

Your EB environment does not support HTTPS.

❯ curl -I https://galeanoapi-env-1.apjrsd3pue.us-east-1.elasticbeanstalk.com/images/home/projects/front-end.svg
curl: (7) Failed to connect to galeanoapi-env-1.apjrsd3pue.us-east-1.elasticbeanstalk.com port 443 after 229 ms: Couldn't connect to server

❯ curl -I http://galeanoapi-env-1.apjrsd3pue.us-east-1.elasticbeanstalk.com/images/home/projects/front-end.svg
HTTP/1.1 200 OK
Server: nginx/1.18.0
Date: Mon, 13 Nov 2023 00:44:47 GMT
Content-Type: image/svg+xml
Content-Length: 1545
Connection: keep-alive
X-Powered-By: Express
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Tue, 08 Aug 2023 02:58:21 GMT
ETag: W/"609-189d314c4c8"

There are several ways to make it support HTTPS: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

profile picture
EXPERT
answered 6 months ago

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