=========================================================
Increasing HTTP timeout between gateway and compute nodes
=========================================================


The default HTTP timeout is 600 seconds (10 minutes).

This setting works for HTTP timeout only, not HTTPS.

To modify the HTTP timeout setting:

#. Open the ``/opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.json`` file and modify the httpTimeout key:

   .. code-block:: bash

      "httpTimeout": 600

#. Update the gateway node by modifying the httpTimeout key in the ``/opt/wakari/wakari-gateway/etc/wakari/wk-gateway-config.json`` file to match the above settings.

#. Restart the AEN compute service:

   .. code-block:: bash

      sudo service wakari-compute restart
