Fix 502 Error Elastic Beanstalk AWS with Spring Boot

Sdílet
Vložit
  • čas přidán 29. 04. 2024
  • Lets fix a common 502 Server Error on AWS Elastic Beanstalk Service and Spring Boot projects.
    👉 Help me reach my first 1k subscribers: / @jameskodes
    Learn how to deploy your spring boot app on AWS Elastic Beanstalk: • Easy Deploy Spring Boo...
    Read the article: / fix-502-error-in-elast...
    #springboot #ec2 #aws #servererror
  • Věda a technologie

Komentáře • 14

  • @JamesKodes
    @JamesKodes  Před 12 dny

    👉 Help me reach my first 1k subscribers: czcams.com/channels/z53YlVppZjuBzWtXYNUFUA.html

  • @buchh28
    @buchh28 Před měsícem +1

    method 2 did not work for me i was struggling for a while using that method(before finding this video), method 1 however did work! i found so many horrible solutions thanks for the great straight to the point video man you are a beast

  • @panosmakris6615
    @panosmakris6615 Před 29 dny +2

    Thanks man! Method 1 worked for me

  • @cesaremoiola2909
    @cesaremoiola2909 Před měsícem

    Thanks

  • @siddharthagrawal4280
    @siddharthagrawal4280 Před 2 měsíci

    I did this and still i am getting 502 :/

    • @JamesKodes
      @JamesKodes  Před 2 měsíci +1

      What port is your project on?

    • @JamesKodes
      @JamesKodes  Před 2 měsíci +1

      Node app? Does it run locally? Do you have a public repo I can try it out on? It could dependency issues preventing a successful build.

    • @siddharthagrawal4280
      @siddharthagrawal4280 Před 2 měsíci

      @@JamesKodes its springboot application. Everything is working fine locally but failing to deploy.
      The repo is available but it is private

    • @JamesKodes
      @JamesKodes  Před 2 měsíci

      Spring boot default is port 8080, elastic beanstalk default is port 5000. Did you change elastic beanstalk to port 8080? Or change spring boot to 5000?

    • @siddharthagrawal4280
      @siddharthagrawal4280 Před 2 měsíci

      Switched to heroku. Best decision so far 😂