Archived

This forum has been archived. Please start a new discussion on GitHub.

response timeout?

I invoke a void method, called setIt(), oneway, straight after I do an Ice_Ping.
During the processing of the method setIt() I unplug the network.
After ~20seconds Ice is trying establish connection to send an Ice_Ping request.
In additional 10seconds Ice is trying establish connection to send an Ice_Ping (see Ice.RetryIntervals)

The duration of the method setIt() takes 60seconds
I set the property Ice.RetryIntervals=5000 10000,
Ice.Override.Timeout=-1,
Ice.Logger.Timestamp=1,
Ice.Trace.Network=2,
Ice.Trace.Protocol=2

Is there any property to set this 20 seconds until the response fails?

Thanks

Comments

  • benoit
    benoit Rennes, France
    Hi David,

    I'm afraid I don't really understand the test case and your question, which 20 seconds are you refering to here?

    Perhaps you could post the code of your client with some comments? You could also post the tracing of the client (you can also use --Ice.Trace.Retry to tracing the retries).

    Cheers,
    Benoit.
  • property --Ice.Trace.Retry was a help.

    Ice is trying to establish tcp connection 5 seconds after closing tcp connection event.
  • benoit
    benoit Rennes, France
    Right, you have set the retry intervals to 5s and 10s. So after the first attempt fails, Ice waits 5s before to retry. If this attempt fails as well, it will wait for another 10s before to retry the last attempt.

    Let us know if you need more information.

    Cheers,
    Benoit.