title: Openshift time-out error (configure timeout client)
body: <p>I have an app hosted on Openshift. We have a funtionality that let the user upload file onto $OPENSHIFT_DATA_DIR, then a nodeJS funtion is called to insert into our DB. In case of big tables this operation may take 5-7 minutes to be completed.</p>
  
  <p>BUT, before the server complete the operation the client side got disconected and a  <strong>Gateway Time-out  error</strong> appears at 120000ms, the server side process continue the operation, and after sometime is completed, but the client side goes with this horrible error.</p>
  
  <p>I need to know where I can edit those 120000ms. I edited the haproxy with different values but timeout is still 120s. Is there another file somewhere? </p>
  
  <pre><code>retries                 6
  timeout http-request    8m
  timeout queue           8m
  timeout connect         8m
  timeout client          8m
  timeout server          8m
  timeout http-keep-alive 8m
  </code></pre>
  
  <p>found 2 haproxy files:</p>
  
  <ul>
  <li><p>haproxy/conf/haproxy/haproxy.cfg</p></li>
  <li><p>haproxy/versions/1.4/configuration/haproxy.cfg</p></li>
  </ul>
  
  <p>both are edited</p>
  
  <p>I guess there is multiple timeouts out there, but need to know where they are, or how to change client-side timeout</p>
  
  <p>The app Gears: 3 </p>
  
  <pre><code>haproxy-1.4 (Web Load Balancer)
   Gears: Located with nodejs-0.10
  nodejs-0.10 (Node.js 0.10)
  postgresql-9.2 (PostgreSQL 9.2)
     Gears:          1 small
  smarterclayton-redis-2.6 (Redis)
  </code></pre>