import java.util.EnumSet;
import java.util.Set;
+import javax.net.ssl.SSLException;
+
import org.eclipse.jdt.annotation.Nullable;
import ro.ieval.fonbot.Address.Protocol;
runnable.doRun();
} catch (final SocketTimeoutException e){
Log.d("LongPollRunnable", "Socket timeout, refreshing connection");
+ } catch (final SSLException e){
+ Log.d("LongPollRunnable", "Got SSLException, refreshing connection");
} catch (final Exception ex){
ex.printStackTrace();
break;