Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Method "DoReload" timed out

Hi,

I want to reload an app in debug mode with a predefined number of rows. Setting the fetchlimit and then reloading the app with debug mode true has the result that an TimeoutException occurs ("Method 'DoReload' timed out").

Has anybody a solution for this issue?

Thank you

René

12 Replies
Not applicable
Author

Hi,

Here is an example (console application using the .Net SDK) which might help.

Best Regards

Lars-Göran Book

Not applicable
Author

Thank you,

but I can't compile your source code with Qlik Sense .NetSDK 2.1.1.0, since DoReloadAsync doesn't provide a parameter userHandle.

After removing this, an exception occurs, because the MethodInfo _rm is null in "GetRequestId" Method.

Best Regards

René

Not applicable
Author

Hi,

This example should work with Qlik Sense 2.1.1.

Best Regards

Lars-Göran Book

Øystein_Kolsrud
Employee
Employee

For questions regarding the .NetSDK I can recommend the category Qlik Sense - Integration, Extensions and APIs‌ instead of the category New to Qlik Sense.

Best regards, Øystein Kolsrud

Not applicable
Author

Thank you for your quick response.

On my local machine with Qlik Sense Desktop it works like a charm.

But when I use my Qlik Sense Server I get into trouble and receive following Exception: Method "GetInteract" timed out.

I tried to reload the data, with the same count of records, in dataloadeditor in debug mode and it worked without any problems.

Best Regards

René

Not applicable
Author

Hi agian,

sorry for the delay. I have tested the attached code on a Qlik Sense 2.1.1 (server) and the .Net SDK 2.1.1 and this works fine. In your tests are you using the attached code or is your code in an other context? Could you supply me with a small example which gives timeout exception?

Best regards

Lars-Göran Book

Not applicable
Author

I suffer exactly the same issue, the script work wine in desktop (15 seconds ) but time out trough the API , after 10 sec.

Maybe a value to set in the API ?

Not applicable
Author

Hello Robert,

I detected that's necessary to set the "noVersionCheck" - flag true, when you call the location.Hub() extension.

But sometimes the loading process isn't successful at all. That's the reason why, I still evalutate this issue.

Best regards

René

Not applicable
Author

Hello René,

I found a way to make it work , i used :

.DoReloadEx();

instead. it's even faster than with the desktop version. I still does not really now why, the documentation is not really clear with the diference between .DoReloadEx(); and .DoReload();