I handled file upload in Angular 5 using listening to progress events method. also displaying progress percentage bar.
https://angular.io/guide/http#listening-to-progress-events.
It works good when uploading small size files (below 20 mb). If I try to upload large size file (100 MB or 1GB), the progress percentage bar running upto 40% or sometimes 70% then suddenly it stopped running. It shows error net:ERR_CONNECTION_RESET. At this moment, If I leave the page idle, the upload progress gets finished. But in UI, it is stuck at 40% or 70% like that.. I could not find the exact problem what is reason for this issue. Please suggest solution if you guys had faced this issue.