Wednesday, July 22, 2020

Re: GWT-RPC-AsyncCallback

Hi Paddy,

maybe you can split the request. ATM you trigger the export and fetch the data. I suggest to write a request for trigger the export (and you receive a unique export id) and then check the download service from time to time with the export id. If the export is not finished yet the callback is rescheduled, otherwise you fetch the data. 
I think you can build better solutions with webhooks and stuff, but the main idea is split the two actions ;)

Hope this helps.

Paddy schrieb am Mittwoch, 22. Juli 2020 um 03:01:14 UTC+2:
Hi All,
We have a UI application, where user searches for records and exports the data to an excel. Once the export is completed at the server side, it notifies the client by async call back and then there is code at client side to give a popup to the customer saying, the file is ready for download and give an option to download the file from server.
However, when server side fetch takes more than 3 minutes, the client is closing the socket(I think). Though the report is getting generated at the server, the user is not getting the pop up to download the report. Is there anyway to stop the client from closing the socket? This issue happens only when there are more than 400 records to be fetched. One way to fix this, is to fix the fetch (which at this point cannot be done as there are some encryption calls happening during this). But wanted to know if there is any timeout parameters that can be configured, so that we can somehow stop client from closing the socket?
I am seeing socket timeout exceptions in the GWT logs.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment