I'm currently using Retrofit for Android as my network communications. When POSTing to my backend server an image, the server is in the middle of the upload and then retrofit "times out" with SocketTimeoutException.
I have added the OKhttp library as some have suggested and still getting the timeout.
The current img sizes are around 750kb because I have scaled them down.
Is there an appropriate way to changes the amount of time until a timeout for retrofit? Or is there a better way to upload images to a server?
Thanks