Archived
This forum has been archived. Please start a new discussion on GitHub.
TimeoutException throws at Outgoing.cpp:183
Ice Version .1.0
Would you please tell me what's the mostly probably reason about the exception? I confused with it? Connection timeout or invoke timeout or other reason ?
Thanks.
if(timedOut) { // // Must be called outside the synchronization of this // object. // _connection->exception(TimeoutException(__FILE__, __LINE__));//I catch a TimeoutException throwed from here! // // We must wait until the exception set above has // propagated to this Outgoing object. // { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this); while(_state == StateInProgress) { wait(); } } }
Would you please tell me what's the mostly probably reason about the exception? I confused with it? Connection timeout or invoke timeout or other reason ?
Thanks.
0
Comments
-
The connection establishment has already occurred by this point so this would be a request timeout. Connection timeouts also result in a different exception (ConnectTimeoutException).
You might want to enable network tracing in order to get more information about general network activity. There are several levels of network tracing (0, 1, 2, 3) each providing more & more information.
If you are communicating only over a LAN and are not using extremely short timeout values and don't have long running operations (for long running operations you should use AMD anyway) typically a timeout exception would mean that you have a deadlock in your servers.0