The connection has timed out
Question

Basically I have an application that calls an api. Occasionally I would receive a timeout error.

So I checked under service center->monitoring->integrations (No error)

Then I checked under service center -> monitoring -> Errors and I found the connection timeout error.

Does the following error mean something is wrong from outsystems end instead of my api?


Time of Log:31-03-2020 16:43:01
The connection has timed out
Environment InformationeSpaceVer: Id=16246, PubId=0, CompiledWith=11.0.614.0
RequestUrl: https://mydev.outsystemsenterprise.com/abct/moduleservices/log?clientTimeInMillis=1585672981745 (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/abc-493-132290001820838243
FilePath: D:\OutSystems\Platform Server\running\abc.02124832563\
ClientIp: 165.21.18.30
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 10920 ('w3wp', Started='3/8/2020 7:05:36 AM', Priv=1059Mb, Virt=2110897Mb)
TID: 500
Thread Name:
.NET: 4.0.30319.42000
Client-Side Log
Stack:CommunicationException: The connection has timed out
    at e.l.onTimeout (https://mydev.outsystemsenterprise.com/abc/scripts/OutSystems.js?HvtKqoY2S3d44mUghdrcFg:3:22931)
    at https://mydev.outsystemsenterprise.com/abc/scripts/OutSystems.js?HvtKqoY2S3d44mUghdrcFg:3:23275
mvp_badge
MVP

Hi,

Have a look at the following post

https://www.outsystems.com/forums/discussion/56296/rest-api-timeout-issue/

Regards,

Daniel

I have the similar log message which occurs during a server action with a few REST calls in sequence (about 15 sec and 5 second response times).  No reported error in the Integration log and the server action appears to complete (all the data returned from the REST calls is saved into the database).

Is this error always related to the REST API timeouts, or could this be due to a timeout happening elsewhere?

A project i am working on appears to be having a similar issue. keeps saying that outsystems.js timed out

Hi All

You can potentially set the Server Request Timeout under the module Defaults Section from the default 10 seconds to a more manageable value 

Further, you can change the timeout on the data fetch action on your screen (by default it has a value of "(Module Default Value)" in the Server Request Timeout field).

Hope this helps!

Francois

Francois Wooding, it works. thank you for your help


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