Eclipse IDE used to create JSF web app that runs locally loading remote MySQL data. But does not run when deployed to AWS. What could cause the 502 proxy error?
Asked
Active
Viewed 2,282 times
-2
-
1Possible duplicate of [Getting 502 proxy error after deploying app to AWS](http://stackoverflow.com/questions/38288966/getting-502-proxy-error-after-deploying-app-to-aws) – Mark B Jan 03 '17 at 22:33
-
1How is this deployed (elastic beanstalk, raw ec2, etc.)? What do your logs show? – stdunbar Jan 03 '17 at 22:37
-
@Mark B found a partial solution: it is a time out issue, I finally found the logs on AWS. – Jon Jan 04 '17 at 00:26
-
@stdunbar found a partial solution: it is a time out issue, I finally found the logs on AWS. – Jon Jan 04 '17 at 00:26
1 Answers
0
The 502 error reports a PROXY error - INCORRECTLY, if you view your log, see my other post on how to access AWS beanstalk tomcat error logs, you shall see the error is really a TIME OUT issue which is resolved by creating a new conf file in your Project view these two links for the complete solution: AWS instructions from AWS documentation Solution here - on how to increase the time out in your application