Cannot connect with the Android App,
Keep having this message:
garmin java.net.sockettimeoutexception: timeout
Could you advise please
Cannot connect with the Android App,
Keep having this message:
garmin java.net.sockettimeoutexception: timeout
Could you advise please
This appears to be related to user's location (Spain or nearby), reinstalling the app or logging off/on.
I suggest contacting support for your area by calling or web chatting. If that's not an option…
Some of their questions:
exactly
Your Java socket shows SocketTimeoutException means that it takes too long to get respond from other device and your request expires before getting response. This exception is occurring on following condition.
Solution: A developer can pre-set the timeout option for both client and server operations.
From Client side:
Socket socket = new Socket();
SocketAddress socketAddress = new InetSocketAddress(host, port);
socket.connect(socketAddress, 12000); //12000 are milli seconds
From Server side:
ServerSocket serverSocket = new new ServerSocket(port);
serverSocket.setSoTimeout(12000);