hello, I have implemented mvc stimulsoft in my solution and I have a problem that when I try to show me the report data I get the following error "server response time", but the problem is that I can not even find the methods that I have parameterized MVC in the controller, because I have the timeout set to 180.
this is the configuration that I have in the view
<div>
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
{
Theme = StiTheme.Default,
ActionGetReportSnapshot = "GetReportSnapshot",
ActionViewerEvent = "ViewerEvent",
ActionPrintReport = "PrintReport",
ActionExportReport = "ExportReport",
ActionInteraction = "Interaction",
ClientRequestTimeout = 180,
Server =
{
RequestTimeout = 60,
CacheMode = StiServerCacheMode.None
}
})
</div>
I also tried the following way:
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
{
Theme = StiTheme.Default,
ActionGetReportSnapshot = "GetReportSnapshot",
ActionViewerEvent = "ViewerEvent",
ActionPrintReport = "PrintReport",
ActionExportReport = "ExportReport",
ActionInteraction = "Interaction",
ClientRequestTimeout = 180
})
Timeout response from the server
-
- Posts: 2
- Joined: Wed Aug 15, 2018 5:08 pm
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: Timeout response from the server
Hello,
Please clarify which version are you use? From which time you get that error?
You can set the following option for the viewer:
Server =
{
RequestTimeout = 180
}
ClientRequestTimeout - it is obsolete option, please remove it.
Thank you.
Please clarify which version are you use? From which time you get that error?
You can set the following option for the viewer:
Server =
{
RequestTimeout = 180
}
ClientRequestTimeout - it is obsolete option, please remove it.
Thank you.
-
- Posts: 2
- Joined: Wed Aug 15, 2018 5:08 pm
Re: Timeout response from the server
Hello,
I found that when creating the component, I am changing the URL to the IP, for example I changed from https://my_site/ ... to https://127.0.0.1/ ... and the IIS where this application blocks the redirection by IP and is the reason why I get the timeout message.
Is there a way to prevent me from changing the url?
Thank you.
I found that when creating the component, I am changing the URL to the IP, for example I changed from https://my_site/ ... to https://127.0.0.1/ ... and the IIS where this application blocks the redirection by IP and is the reason why I get the timeout message.
Is there a way to prevent me from changing the url?
Thank you.
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: Timeout response from the server
Hello,
You can try to set the following option:
Server =
{
RouteTemplate = "https://my_site/Home/{action}"
}
But, most probably, the problem may be still present due to that JavaScript does not allow run requests on other urls, if this is not allowed on the server itself, to which the request is redirected.
Thank you.
You can try to set the following option:
Server =
{
RouteTemplate = "https://my_site/Home/{action}"
}
But, most probably, the problem may be still present due to that JavaScript does not allow run requests on other urls, if this is not allowed on the server itself, to which the request is redirected.
Thank you.