Fix 502 Error Elastic Beanstalk AWS with Spring Boot
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
👉 Help me reach my first 1k subscribers: czcams.com/channels/z53YlVppZjuBzWtXYNUFUA.html
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
Great! Happy you got it working!
Thanks man! Method 1 worked for me
Good to hear
Thanks
Glad to help!
I did this and still i am getting 502 :/
What port is your project on?
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.
@@JamesKodes its springboot application. Everything is working fine locally but failing to deploy.
The repo is available but it is private
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?
Switched to heroku. Best decision so far 😂