I have an web-application running on Tomcat8 server(A) which calls a rest-service served by another server(B). In between there is ELB load balancer. After successful API calls, after sometime the web-application started throwing exception saying the Rest Call is unsuccessful. On the server B, the access logs shows the ELB Ip address and in place of X-Forwarded-For no value is coming. After restarting the server A it started working fine and X-Forwarded-For value is also coming.
What could be the issue?