java.net.SocketException: Socket is closed

47 views
Skip to first unread message

back...@gmail.com

unread,
Jun 20, 2013, 9:46:15 AM6/20/13
to google-la...@googlegroups.com
I am using the Google Latitude API library found here

to perform INSERTs to the current location object.   However, an extremely small number of users are experiencing an issue during the insert call:

java.net.SocketException: Socket is closed

For these individuals, everything works fine when they are connected to their wi-fi network, however, over their mobile data network- they always receive this error message.
Is there check that can remedy this or any course of action to take for this small small number of users?

Thanks

back...@gmail.com

unread,
Jun 20, 2013, 11:12:14 AM6/20/13
to google-la...@googlegroups.com
Someone on a forum mentioned to add the Connection "keep-alive" to the header.

I don't know what if any negative impact this would have, but does anyone know how to do it using the google API library?
Reply all
Reply to author
Forward
0 new messages