'How to fix 502 server error in splunk logs

I am getting the below error in splunk logs. Can some one tell me how to debug this or any clue on what is causing the issue?

May 14 16:23:57 localhost AWSStackName=PUB-DEV1-UI-UIService-xxxx Env=dev1 ContainerId=xxxx [3910]: Xforward=159.250.76.150, 23.58.156.207, 204.2.243.129  Rlog=- Ruser=- [14/May/2022:16:23:57 +0000] "GET /consumer/healthinfo/keep_alive?q=23 HTTP/1.1" FinalStatus=502 ResponseByte=504 Referer="https://www.webmdhealth.com/hra/Questionnaire.aspx" UsrAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15" ResponseTime=55778ms AkamaiBot="-"
ResponseTime = 55778ms
eventtype = nix-all-logs
host = ip-xxxxx
index =  portal_aws
linecount = 1
source = /usr/docker/231072.231072/containers.log
sourcetype = portal:log
splunk_server = xxxxxxx


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source