nervgh / angular-file-upload

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework
MIT License
3.43k stars 1.13k forks source link

No event fired after progress bar completed 100 or 102 on IE11 #386

Open amitkumarpaliwal opened 9 years ago

amitkumarpaliwal commented 9 years ago

Thanks for awesome plugin.

I am facing issue of no event fired after file uploads and progress bar reaches to 100 or 102 sometimes on IE11. This is happening when you click on choose file and stays on window dialog box (where you select any file) for about more than 80 seconds and then select any file to upload. Console shows progress event with progress of 100 or 102 and then nothing happens. Its working fine if you choose file instantly without any delay.

Its working fine on chrome, problem only with IE. I am not sure why this delay stopping plugin to fire any success/error/complete event after progress event.

Please advice!

Thanks Amit

bstruthers commented 9 years ago

We're running into the same issue. Haven't had a chance to fully sit down and debug to see what's happening.

@amitkumarpaliwal have you had any luck tracking this down?

amitkumarpaliwal commented 9 years ago

Hi,

@bstruthers

I finally managed to know root cause of this issue. There is a default disconnect timeout of 60 sec for IE browser. So client connection gets disconnected to server After 1 min of inactivity.

After some research I found that, send one get or post just before actual file upload would resolve this problem.