Some users of my Android application are frequently running into a network error with the following error message: "Unexpected end of stream on null".
I didn't find any clear way to solve it by looking at other similar question. I haven't been able to reproduce the network error on my end.
1) I have unsuccessfully appended Connection=close to the requests headers as this answer suggests
2) I have unsucessflly added .retryOnConnectionFailure(true) as this answer suggests
3) I have unsuccessfully searched …