Issue With Health Checks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the health check against the EC2 instance IP and compare it with loading the site URL directly. Trace how WordPress uses the site_url value and how the AWS Elastic Beanstalk health check handles the resulting 3xx response; done means the health check receives a 200 response without breaking the redirect behavior for normal site access.
Written by the indexing model from the issue text.
Description
My Health Checks are failing because of 3xx responses. I believe this is happening because the health check is trying to load the site using the ip of the ec2 instance. When the site is loaded wordpress checks the options table in the db and sends a redirect to the url listed under site_url.
In short, if I open a browser hit the ec2 instance directly by ip I get redirected to the actual url. I believe that is what is happening with the health check.
If this is the case how do I get the instances to respond with a 200 so the check passes?
- Dominant language
- PHP
- Stars
- 166
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/eb-php-wordpress
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
aws-samples/eb-php-wordpress#27 · 1 comment · 1 reaction ·
-
wp-content symlink Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
aws-samples/eb-php-wordpress#24 · 16 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
aws-samples/eb-php-wordpress#23 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aws-samples/eb-php-wordpress#21 · 9 comments · 2 reactions ·
All issues in aws-samples/eb-php-wordpress
Similar issues
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·
-
needs-triage Platform(Default)
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
HttpClient
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
symfony/symfony-docs#23092 ·
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 95/100