5237
Views
8
Comments
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
2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

Hi,

Have a look at the following post

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

Regards,

Daniel

UserImage.jpg
Chris Simon

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?

UserImage.jpg
Salim Proctor

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

2020-10-01 08-28-33
Francois Wooding

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

2021-06-13 07-48-30
Jerah

Hi i am having the same issue. May i ask the Server Request Timeout value 100 is this in second or millisecond ?

I have adjusted this value to a higher value but it did not resolves the issue.

I am trying to do a REST API to retrieved data from SAP

It works well in development but what come to quality server i keep getting time out, I check the error log but could not find anything.

Hope you can help thank you

UserImage.jpg
sonali kulkarni

Hi,

Thank you for your help,

Francois Wooding, it works Fine after doing changes .


UserImage.jpg
Thet Su

Francois Wooding, it works. thank you for your help


2019-10-29 20-09-47
Hernan Ludeña

Hello, we have the same problem

We already adjusted the timeout to the maximum but the error persists


eSpaceVer: Id=2982, PubId=0, CompiledWith=11.18.1.37828

RequestUrl: https://mybankusa.com:11443/BankCorporate/moduleservices/log?clientTimeInMillis=1697657121608 (Method: POST)

AppDomain: /LM/W3SVC/1/ROOT/MyBankCorporate-19-133421252077516785

FilePath: O:\OutSystems\Platform Server\running\MyBankCorporate.01928545998\

ClientIp: 10.30.XX.12 X-Forwarded-For: 181.XX.33.XX

Locale: en-US

DateFormat: yyyy-MM-dd

PID: 3524 ('w3wp', Started='10/16/2023 8:51:39 PM', Priv=2484Mb, Virt=2116933Mb)

TID: 83

Thread Name:

.NET: 4.0.30319.42000

Client Runtime Packages: client-runtime-core= 3.27.0;client-runtime-view-framework-react= 3.5.0;client-runtime-widgets= 3.10.0;

Client-Side Log


stack


CommunicationException: Request failed with status 504

     at c.onSuccess (https://business.helmbankusa.com/MyBankCorporate/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:3:6619)

     at XMLHttpRequest. (https://business.helmbankusa.com/HelmBankCorporate/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:3:2648)



Hope you can help thank you

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