"Socket read failed" - exception

Hi All,

I am using Vaadin 6.8.10 and Liferay 6.1 CE.

I have one portlet and in that I have overridden below method in my Application class:


@Override 
public void terminalError(Terminal.ErrorEvent event) 
{ 
	_log.error("An uncaught exception occurred: ", event.getThrowable().fillInStackTrace()); 
} 

In Log sometime I get below error with no trace to my application’s classes:
“java.io.IOException: Socket read failed”

Surprisignly, it happens only on production.
I have 2-3 button on that page and right now I am not sure by clicking which button this has happened.

Has anyone found this type of error? Any pointers would be helpful.

Thank you.

Yes, see below for the fix.

Our server setup includes BigIP load balancer → 2 apache(2.2) web servers → 2 Tomcat (7.0) servers

Issue: When using Vaadin application, we randomly recieve “Communication error” followed by IOException Socket read timeout.

Fix: As mentioned in this thread, we turned keep-alive OFF on apache servers and so far its going good. We do NOT see any more communication or socket read erros.

We were facing this issue with IE9