How to troubleshoot HTTP 502 bad gateway in AWS EBS?

Sdílet
Vložit
  • čas přidán 5. 06. 2022
  • The application that we were going to discuss in this video was running on Elastic Beanstalk (EBS) service in Amazon Web Services (AWS). Intermittently this application was throwing HTTP 502 Bad Gateway error. In this video, let’s discuss how we troubleshooted and resolved this HTTP 502 bad gateway error in Elastic Beanstalk service.
    If you liked this video, you'll love our Java Performance Masterclass. Learn more:
    ycrash.io/java-performance-tr...
    - - - - - - - - - - - - - - -
    Topics covered:
    1:11 - AWS Elastic Beanstalk architecture
    3:08 - HTTP 502 Bad Gateway error
    4:19 - HTTP 502 thrown by Nginx in AWS EBS
    6:14 - Out of memory: Kill process or sacrifice child
    10:00 - Root cause - Lack of RAM
    11:11 - Solution - Upgrading EC2 instance RAM capacity
    - - - - - - - - - - - - - - -
    Links shared in the video:
    AWS Elastic BeanStalk service:
    aws.amazon.com/elasticbeanstalk/
    Open source yCrash script:
    github.com/ycrash/ycrash-agent
    Similar problem faced by another application which was running in an non-AWS environment:
    answers.ycrash.io/question/jv...
    - - - - - - - - - - - - - - -
    Read more in this blog:
    blog.ycrash.io/2022/05/30/tro...
    - - - - - - - - - - - - - - -
    Our Tools:
    yCrash: yCrash.io/
    GCeasy: gceasy.io/
    HeapHero: heaphero.io/
    fastThread Tool: fastthread.io/
    - - - - - - - - - - - - - - -
    SRE Community:
    Need help in troubleshooting your performance problems?
    Post here: answers.ycrash.io/
    - - - - - - - - - - - - - - -
    Follow us on:
    LinkedIn: / ycrash
    Instagram: / ycrash_rca
    Facebook: / tier1app
    Twitter: / tier1app
    - - - - - - - - - - - - - - -
    Related blog and video:
    1. DETECTIVE STORY: TROUBLESHOOTING TIMEOUT IN AWS ELASTIC BEANSTALK:
    blog.tier1app.com/2017/03/09/...
    2. AWS Cloud watch + yCrash = Monitoring + RCA:
    • AWS Cloud watch + yCra...
    - - - - - - - - - - - - - - -
    #502badgateway | #502badgatewayissue | #502badgatewayerror | #oracle502badgateway | #oraclecloud502badgateway | #oraclecloud502badgatewayissue | #502badgatewayfix | #oracle502badgatewayfix | #oracleloadbalancer502badgateway | #502errortroubleshootfix | #nginxbadgateway | #oraclecloudbadgateway | #oraclecloudbadgatewayfix | #502troubleshooting | #howtoenableautoscalinginaws | #504gatewaytimeouterror | #504gatewaytimeout | #gatewayerror
  • Věda a technologie

Komentáře • 4

  • @nikhilkatkar2774
    @nikhilkatkar2774 Před 2 lety +1

    Hi sir
    Thanks for explanation. Really felt good that someone has gone through the issue.
    But, the CPU doesn't show as maxed out, on jmeter and aws console the web instances show it has reached max 70% and 25% respectvely.
    What could be the reason?
    If you require additional information to address my issue please let me know.

  • @virusehwag9562
    @virusehwag9562 Před rokem +3

    What the hell are you explaining
    Why are you using notepad
    Explain the solution practically.
    What is Ycrash how to use Ycrash
    How to resolve 502 ????

    • @ycrash3227
      @ycrash3227  Před rokem

      Sure! we will fix it in the upcoming videos

    • @AjirogheneSunny
      @AjirogheneSunny Před 8 měsíci

      @@ycrash3227 Has it been fixed now, can you please share the link?