browser - Java IO Exception for a Web Based CSV Export -


i have 'download csv' link on 1 of reporting webpages , typical output .csv file 4mb typically takes around 5 minutes complete running query , serving results using single thread.

one of users continues run issue:

[com.jspbook.gzipresponsewrapper:finishresponse] exception :java.io.ioexception: output stream has been closed

there reference broken pipe exception in server logs.

when user runs error notice server's perspective completes on time.

for user export link spins infinite , never returns data.

what causes issue , there way persist connection browser?

check connection timeout setting of server. waiting 5 minutes long time.

looks connection timed out or broken. server tries write response when query finishes connection closed.

if generation cannot made faster push user when file available via web socket or continuous polling client.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -