Error! Timeout response from server.
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Error! Timeout response from server.
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.
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.
- Attachments
-
- DisabledFields.PNG (23.48 KiB) Viewed 3248 times
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Error! Timeout response from server.
My Version is stiweb version=2017.1.6 may be needed
Re: Error! Timeout response from server.
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.
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.
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Error! Timeout response from server.
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
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
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Error! Timeout response from server.
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
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
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error! Timeout response from server.
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.
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.
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Error! Timeout response from server.
The bug is resolved.
Thank you for coperation
Thank you for coperation
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Error! Timeout response from server.
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.