226
Views
4
Comments
Client action timeouts after 60 seconds despite module configuration
Application Type
Reactive
Service Studio Version
11.53.27 (Build 61662)

Hi,


I have configured the module default timeout in Service Studio to 1200, but client actions trigger 504 error after 60 seconds.

My actions involve API calls and I can see that they just stop at client side, because I can see their results in DB later on. 


How can I set a timeout that really works for client actions?

Here is a screenshot of the call in the browser's development tools:


2019-09-30 07-35-56
Aurelio Junior

Hello,

By the error code (504), it looks like it's the API call that's timing out, and not the call to your Data Action. Have you trying increasing the timeout of your consumed REST API here?

UserImage.jpg
Great PROJECTS

Hi Aurelio,

I don't think so because as I said, I can see the data in the DB after a while, meaning that the server managed to get the answer from the distant API and process it.

I tried everything: changed Service Studio preferences (the only place I found a request timeout setting that was set to 60 seconds), increased whole module timeout , increased the "Server Request Timeout" setting of the whole application in Service Center, increased my browser's timeout, used SetRequestTimeout method in every server action involved in the process...

But still this getting this error after 60 seconds.

Any idea?

2019-09-30 07-35-56
Aurelio Junior

Can you post the full error message and stack trace from Service Center?

UserImage.jpg
Joos Boussier

Hi! 

I'm facing the same issue.. Did you find a solution for it? 

Thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.