Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Issue With Health Checks

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, php, wordpress
Domain
backend, cloud, devops

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/eb-php-wordpress

All issues in aws-samples/eb-php-wordpress

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.