-
Notifications
You must be signed in to change notification settings - Fork 27
Connection keeps randomly dropping #25
Comments
what android version / flavour are you using? |
Galaxy S6. |
depending on flavour you can change android settings to never kill app when screen is off (search for protected apps) |
I've disabled power saving for andlodine using the samsung "smart manager" but It didn't seem to help. The connection log disappears when it's disconnected but the app itself remains opened. There's no log or error report that I can see. I see now it was saying "no downstream |
there seems to be a "always on" option on android 6, but iodine doesn't appear in the list. I guess it's pptp only |
the problem seems to still be happening, i checked the log and found "no downstream |
i've recoded the app to reconnect the VPN automatically (subject to 3G availability) when iodine times out, but i dont think this is the optimal solution. My phone is continuously reconnecting the VPN every minute. strangely, sometimes the VPN would stay up for hours (even when the phone is idle and without manually pinging). i will log the 3G connection state. |
Hi yvesf, what info do you require? |
I have confirmed a few more things. Regardless of if I am actively using the phone or not the timeout still occurs and the VPN is automatically disconnected. Strangely some sessions will stay alive hours (active or not). Moments before the timeout occurs and the subsequent disconnection no communication seems to be getting through or being received (despite an active 3G connection). Maybe I just need to loosen the timeout? |
Works on an old S3 (4.1.2) but unfortunately drops connection within a couple of minutes after device is "asleep". Partial solution is to use WakeLock application in SCREEN_DIM_WAKE_LOCK mode (the screen has to be ON, use the lowest brightness setting ;( ! ) and a constant ICMP ping to iodine server for example with Connectbot and shortest packets. Of course this configuration rapidly drains battery, the phone even gets slightly warmer... |
Really great app. I limit it exclusively to messaging apps like WhatsApp and Messenger and it works great as long as I keep using the phone.
The text was updated successfully, but these errors were encountered: