Kbase P157460: .NET Open Client request to AppServer over HTTP times out after 100 seconds
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  24/03/2010 |
|
Status: Verified
SYMPTOM(s):
.NET application times out after 100 seconds (the default .NET timeout value for HTTP requests)
WRITELAST: IOException: System.IO.IOException: 9990
FACT(s) (Environment):
.NET Application connecting to AppServer using HTTP
.NET Application calls 4GL program on AppServer which runs for more than 100 seconds
Windows
OpenEdge 10.x
CAUSE:
This is expected behavior. By default a .NET HTTP request times out in 100 seconds.
FIX:
Add the undocumented HttpTimeout property in the .NET application.
RunTimeProperties.SetIntProperty("PROGRESS.Session.HttpTimeout", [Some Value]);
The maximum value for this property is 2147483.
For example, the C# code below sets the HTTP request timeout 500 seconds. RunTimeProperties.SetIntProperty("PROGRESS.Session.HttpTimeout", 500);