title: 502 bad gateway error on elastic beanstalk
body: <p>I am trying to deploy a dash app ( which is based on flask ) on elastic beanstalk. The code was deployed successfully but it is showing 502 bad gateway error.</p>
  
  <p><a href="https://i.stack.imgur.com/2cjwm.png" rel="nofollow noreferrer">This is the image I am getting upon deploying the code</a></p>
  
  <p><a href="https://i.stack.imgur.com/2BOlM.png" rel="nofollow noreferrer">This is the error I get when I click the link</a></p>
  
  <p>What is the solution to this error ?</p>