We're using proxygen for .Net connection to an AppServer (10.2) which means we're using Progress.Open4GL.Proxy.Connection for the connection. Is there a way to set the timeout for requests made (from .Net to the AppServer) after the Connection is already in place? I can't find one.
If we open a Connection and then do something like restart the AppServer and then try to fetch new datasets, it seems to take over 5 minutes before the application responds with an error 7175. I would have thought there would be an easy way to configure a timeout and then be able to catch a thrown exception from the timeout. That would allow us to gracefully deal with network hiccups. I must be doing something wrong.
5 minutes seems pretty long, but you may want to try the following static properties:
Progress.Open4GL.RunTimeProperties.TcpClientRetry
Progress.Open4GL.RunTimeProperties.TcpClientRetryInterval
Progress.Open4GL.RunTimeProperties.SocketTimeout
Thanks Mike! Looking at RunTimeProperties I found RequestWaitTimeout, which seems to do the trick. I'm using:
Progress.Open4GL.RunTimeProperties.RequestWaitTimeout = 10;