We have a MEAN stack application in QA users using it in LAN and getting invalid chunk error while retrieving large JSON data, We are getting this error in few computers and randomly so it is difficult to reproduce.
I found similar issue on stack overflow. Link is below
This is general error message which Chrome displays and there are multiple reasons for the error, Here is the summary of causes
- Real time protection(Like antivirus) is enabled
- Nginx Configuration
- Chunk encoding header missing and retrieving large data from backend(without specifying content length).
We made all the changes suggested. Now we found out it is related to network as we were not able to reproduce this issue while accessing from WiFi.
Can you please let us know how to retrieve huge amounts of data when the network is slow?