tmobile/pacbot

500 Internal Server Error due to nginx redirection cycle

snoozesecurity opened this issue · 0 comments

Micro services

  • Spring boot Applications:
  • User Interface

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
    Ubuntu 18.04 LTS
  • Java version:

openjdk 11.0.6 2020-01-14

Summary

Accessing the load balancer yields 500 Internal Server Error. When checking the webapp task logs in ECS, I see several of the following events:

2020/03/30 17:19:28 [error] 16#16: *6 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: [REDACTED], server: localhost, request: "GET /nginx HTTP/1.1", host: "[REDACTED]"

Reproduce steps

Deploy pacbot from Ubuntu 18.04 LTS EC2 instance in AWS as per the instructions.

Expected Results

I expected access to the web UI of pacbot without getting 500 errors from nginx.

Actual Results

500 Internal Server Error