Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

408 HTTP errors trying to access https on AWS elastic beanstalk with load balancer

I am getting a problem when trying to access my domain with https causes a request timeout on AWS.

I have a load balancer, with 2 listeners, one at port 80 for http and one at port 443 (with a relevant certificate attached to it) for https

Visiting the site at just http:// works fine, with my aliased domain name, and correctly returns data, but as soon as i try with https:// it just times out

Happy to provide info, im not sure what other bits are relevant, but this is the domain in question (the root just redirects to a front end)

http://api.endlessvine.co/vines?page=1&rarity=2 (works)
https://api.endlessvine.co/vines?page=1&rarity=2 (doesnt work)

like image 982
jthawme Avatar asked Aug 30 '25 17:08

jthawme


1 Answers

  • Go to EC2
  • Click Load balance anad configure port for https 443 point to port 80

enter image description here

like image 77
vaquar khan Avatar answered Sep 02 '25 07:09

vaquar khan