You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Increasing the timeout to prevent socket timeout error #90
I am facing socket timeout exception whenever I am trying to upload a little large image or some file through android. How can I increase timeout to prevent socket timeout exception?
Activity
fvumbaca commentedon Mar 22, 2016
Hi @robinskumar73! I had the same problem.
The cleanest way I found to increase the timeout of the socket was to extend the
com.strongloop.android.loopback.RestAdapterclass and add the method:What i use is something like:
And finally use this child class in place of the old
RestAdapterclass.