Page 1 of 1
Error! Timeout response from server.
Posted: Thu Jun 07, 2018 9:30 am
by IskandarAir
Dear Stimulsoft team,
We face error while html\web viewer stays open for long time.

. I attached image where you can see that page buttons are disabled. From QA testing, we found that is occurs when html viewer stay too long and it gets disabled. ALSO, sometimes these buttons do not get disabled but when we click them we recieve popup screen with error "Timeout response from server".
The click is bound .html object - StiMvcViewerOptions =>
ViewerEvent method.
How can we control this behaviour by ourselves?
Is there any option\parameters to prolong the timeout?
Regards,
Iskandar A.
Re: Error! Timeout response from server.
Posted: Fri Jun 08, 2018 9:57 am
by IskandarAir
My Version is stiweb version=2017.1.6 may be needed
Re: Error! Timeout response from server.
Posted: Fri Jun 08, 2018 11:13 am
by HighAley
Hello, Iskandar.
You could change the CacheTimout
https://www.stimulsoft.com/en/documenta ... ashing.htm
There was an improvement of this issue.
If it's possible, please, upgrade to the latest build.
Thank you.
Re: Error! Timeout response from server.
Posted: Fri Jun 08, 2018 11:26 am
by IskandarAir
Hi,
Thank you for your response.
But, as i understood, this is not a panacea for this issue(without updating to the latest version). And some times this might be still an issue, right?
Regards,
Iskandar A
Re: Error! Timeout response from server.
Posted: Fri Jun 08, 2018 2:11 pm
by IskandarAir
Hi,
We got one question about this. So if we increase the cacheTimeout , we will have less such issues due to longer time. However, by the documentation link you provided, it is said that after timeout, it should try to re-generate report again, by getting data, rendering and so on. So why regeneration is not happening? And when timeout is expired why buttons do get disabled (but we ddn't see them disabled when we set cacheTimeout to one minue) ?
Our use case was the following: we decreased the timeout to one minute. But buttons and caching was still working fine (without regeneration). However, when we set CacheMode to none we started to see immediately "The report is not found" error page. But buttons works fine.
Regards,
Iskandar
Re: Error! Timeout response from server.
Posted: Tue Jun 12, 2018 7:10 am
by Lech Kulikowski
Hello,
We tested the specified caching modes in version 2017.1.6 and in the latest version of 2018.2.2, both versions work correctly when using caching and setting the cache time to 1 minute. After this time, as indicated in the documentation, the GetReport action is called and the report is rerender.
The "The report is not found" error with the None caching mode has been fixed in newer versions.
Buttons on the control panel of the viewer are disabling only if the server returns an error, or the viewer does not receive the correct response from the server. In this case, this is the correct behavior, because further viewing of the report is not possible.
Thank you.
Re: Error! Timeout response from server.
Posted: Wed Jul 25, 2018 4:55 pm
by IskandarAir
The bug is resolved.
Thank you for coperation
Re: Error! Timeout response from server.
Posted: Thu Jul 26, 2018 11:54 am
by Lech Kulikowski
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.