acidburn0zzz / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
1 stars 0 forks source link

OpenVPN Notification disappears and thus the VPN app gets closed after some time #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open VPN
2. Connect to VPN server
3. Minimize VPN

What is the expected output? 
Notification gets displayed and stays visible.

What do you see instead?
Notification disappears after some time and VPN closes itself.

What mobile phone are you using?
Nexus 4

Which Android Version and stock ROM or aftermarket like cyanogenmod?
CM 10.1.3

Please provide any additional information below.
I do not use GAPPS

Original issue reported on code.google.com by NMo...@googlemail.com on 16 Jul 2014 at 12:25

GoogleCodeExporter commented 9 years ago
that is diifcult to debug. Can you run logcat and see if there is any 
indication why the system kills OpenVPN for Android?

Original comment by arne@rfc2549.org on 16 Jul 2014 at 1:01

GoogleCodeExporter commented 9 years ago
While in theory I can do that it is indeed a difficult task for two reasons:

1. The notification seems to disappear randomly and I have no idea how to 
reproduce it. Sometimes it's a matter of minutes, sometime it's a matter of 
hours. The only lead I got is that I saw it disappearing after decrypting 
e-mails via GnuPGP. But maybe that was just an coincidence.

2. The app does not close immediately after the notification disappears. It's 
also "random" but most likely when too much ram is used by other apps.

So yes: I can try to do a log cat of this happening but it will take some time 
for me to catch it at the right moment(s).

PS:
1. What level of verbosity do you want me to log?
2. Could the logs contain sensitive information that should not be posted in 
public?
3. If you need a more accurate explanation or other information we can also 
talk in German on some other channel if you want.

Original comment by NMo...@googlemail.com on 16 Jul 2014 at 4:04

GoogleCodeExporter commented 9 years ago
You can send the log to my email address arne@rfc2549.org

I know frusting that is what I am aksing but I have no idea what could cause 
the app to be terminated :/ Also if you leave log window open try to check if 
openvpn still has any log and if there is something in the log.

Original comment by arne@rfc2549.org on 16 Jul 2014 at 4:11

GoogleCodeExporter commented 9 years ago
Roger that!

I just cleared everything and will be providing the openvpn generated logs and 
logcat on "debug". Now we have to wait until it disconnects by itself...

Fun-Fact: Now the OpenVPN Notification disappears immediately after connecting. 
Only the key symbol remains. (even after restarting the phone)

Logs will be sent to your address provided.

Thanks for your fast reaction time! :)

Original comment by NMo...@googlemail.com on 16 Jul 2014 at 4:41

GoogleCodeExporter commented 9 years ago
If the notification disappear immedately after connecting that is bug. Are you 
sure the notification really disappears? The icon should disapear but the 
notification should be still visible if you swipe down the notification area.

Original comment by arne@rfc2549.org on 16 Jul 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Ok, now I feel stupid because we have a major communication mistake here: Every 
time I said "notification" I really meant "icon"!

The notification in the notification area is still there right now.

I'll have to wait and see if that one disappears when my VPN disconnected.

Still: The app worked flawless in the past and all of a sudden I get problems 
with the vpn disconnecting and not reconnecting even though I set it to 
reconnect for unlimited attempts. I triple checked that on three different VPNs 
from different providers that work without disconnects on my linux machine. So 
I will keep the log running and send you the results.

Sorry for the confusion. :\

Original comment by NMo...@googlemail.com on 16 Jul 2014 at 4:59

GoogleCodeExporter commented 9 years ago
No problem. 

Original comment by arne@rfc2549.org on 16 Jul 2014 at 5:01

GoogleCodeExporter commented 9 years ago
Resolved via email. After AUTH_FAILED the client exits.

Original comment by arne@rfc2549.org on 17 Jul 2014 at 9:14