I tried to make json requests, load images/videos from the local network with http ( not https), but it randomly fails. Sometimes the connection is closed before the data is received. The same error happens if I open Chrome, so it is not an error in my app.
How is it possible to debug an error like this?