<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>I had the same problem, but I thought using {keepalive,true} or {send_timeout,Time} would help. I see in wireshark that keep alive does not pass through but I still don't get an {error, closed}.</div><div>Someone wrote that default timeout for keepalive is two hours. where can it be configured?</div></div></body></html>