I have my ec2 that was created with an autoscaling group and a load balancer attached to the autoscaling group. The security groups used give 0.0.0.0 to all traffic both incoming and outgoing. I have a certificate applied to the url using route 53 and have connected the load-balancer to the route. When I load everything up and type in the url, it eventually comes to a blank white page and the webpage is even showing that https is working. The load balancer shows the ec2 instance is inservice and the autoscaling group shows the instance is healthy.
The steps that I've taken are:
- Looking through access and error logs from apache. Nothing is being shown except the health checker is gaining access.
- Checking security groups attached inbound/outbound rules
- I've checked the sites-enabled apache configuration and verified the DocumentRoot is correct.
- Checked whether the load balancer and auto-scaling group sees the instance as healthy.
- Changed out my index file for a simple html file with Hello on it in case the file was corrupt.
Does anyone have suggestions on what else I might be able to try or have had this issue before? What can I do?!
Apache Configuration:
<VirtualHost *:80>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} ^http$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
DocumentRoot /var/www/laravel_app/public
</VirtualHost>
ELB Access Logs
Access logs are giving me a 301 for elb_status_code and backend_status_code.
HTTP Request Response
408 ~ Request Timed Out
curl -v
or use your browser's developer tools to see the error hiding behind that white page. Enable logging in the balancer, and read the logs.