It's all about the answers!

Ask a question

How can I increase timeout in REST API?


Michele Pegoraro (1.8k14118103) | asked Jul 19 '12, 6:29 a.m.
Hi,
I'm having some problem with connection timeout. I'm working in iSeries environment with a lot of files stored on the RTC repository (hundreds of thousands for application). I have some custom extensions that do some actions, for example creating stream after a work-item change of state.
If I perform this change of state using REST API I get a connetion reset by peer error after 3 minutes. I'm using curl and so I've tried to set --connect-timeout and --max-time options but they did no effect. 
I have also searched in web.xml but it only has a session timeout.

How can I increase this timeout?
Thanks,
Michele.

One answer



permanent link
Michele Pegoraro (1.8k14118103) | answered Sep 14 '12, 4:17 a.m.

We find out that the problem was related to proxy balancer settings and not to RTC configurations.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.