cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

In our project we are using XS-A.MTA deployment descriptor and application router are used to deploy and route several modules. Issue we have is that some API calls to our applications need up to 1 minute to return response while router is throwing timeout error after 30 seconds. Is there any way to increase timeout time in router?

logs snippet:
4/27/18 11:34:22:280 AM [APP/11-0] OUT 11:32:22 [...] INFO *API METHOD CALL*
4/27/18 11:34:52:000 AM [RTR] OUT *GATEWAY TIMEOUT MESSAGE TO THE CALLER*
4/27/18 11:35:09:000 AM [APP/11-0] OUT *API RESPONDED WITH 200 (call finished)*
View Entire Topic
0 Likes

Thanks Olga for the question and Thomas for the replies. Now it works for me.

My mistake was that I did not rebuild both projects (web and backend) after the change.

Just short summary from my mta.yaml:

- name: web

type: html5

path: web

requires:

- name: core-backend

group: destinations

properties:

name: core-backend

url: ~{url}

timeout: 120000 # instead of default 30000ms