ChaiBangkok / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Repeating notifications when connecting / connected #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.With a functional openvpn installation on rooted xoom, install 
openvpn-settings from market
2.Configure software with known functinig settings
3.Turn on and start tunnel
4.Connecting and connected notifications repeat non stop as long as the process 
is running.

What is the expected output? What do you see instead?
The expected output would be to have only one "connecting" and one "connected" 
notification when establishing a tunnel. Instead we have non stop notifications.

What version of the product are you using?
OpenVPN Settings 0.4.7
OpenVPN 2.1.1 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Feb  2 2010

Which Android phone are you using?
Motorola Xoom Wifi

Which firmware version are you using?
Stock rom with tiamat kernel 1.3.2, android 3.0.1

Please provide any additional information below.

Everything is pretty much self-explanatory. I've joined a logfile from when the 
tunnel connects the first time and waiting a while with non stop notifications 
popping.

Great software! Using it on my Desire Z with the same settings.

Original issue reported on code.google.com by zhor...@gmail.com on 23 Apr 2011 at 5:53

Attachments:

GoogleCodeExporter commented 9 years ago
Same exact problem here on the Xoom!

Original comment by tuneman...@gmail.com on 9 May 2011 at 9:21

GoogleCodeExporter commented 9 years ago
Issue also exists on honeycomb 3.1 stock with custom kernel

Original comment by adam.bot...@gmail.com on 29 May 2011 at 5:08

GoogleCodeExporter commented 9 years ago
Same problem on LG G-Slate, stock kernel, OpenVPN 2.1.1 binary, OpenVPN 
Settings 0.4.7

Original comment by redspamt...@gmail.com on 1 Jun 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Same with iconia a500 (android 3.01)

Original comment by gouyet.r...@gmail.com on 12 Jun 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Just updated my xoom to android 3.1, same thing. Endless notifications repeat 
slower but are still there.

Original comment by zhor...@gmail.com on 16 Jun 2011 at 1:52

GoogleCodeExporter commented 9 years ago
The attached revision of 1.48 no longer exhibits the recurring notification and 
works correctly on an A500 w/ 3.0.1. I cloned the source code in 
http://code.google.com/r/akiko009-openvpnsettings-nonotify/ 

Only change was to Notifications.java

Original comment by akiko...@gmail.com on 26 Jul 2011 at 6:09

Attachments:

GoogleCodeExporter commented 9 years ago
Same thing here, on Asus Eee Pad Transformer (TF101), Android Honeycomb 3.2

Original comment by berendde...@gmail.com on 7 Aug 2011 at 10:05

GoogleCodeExporter commented 9 years ago
In case people try to install this:

1. Stop existing vpn connections.

2. Uninstall current OpenVPN-Settings.

3. Copy the new .apk on a micro SD card.

4. Insert card in tablet.

5. Use file manager to go to the sd card and click on it. Obviously you need to 
have allowed non-market applications.

Notification problem now fixed.

Original comment by berendde...@gmail.com on 8 Aug 2011 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 29 Dec 2011 at 12:18

GoogleCodeExporter commented 9 years ago
The notifications reflect the actual OpenVPN connection state. IMHO the user 
should always be able to judge if the connection to the VPN is established or 
not.

When OpenVPN Settings detects a network connectivity change it will command the 
openvpn daemon to reconnect which will be shown in the notification area.

Solutions:
- Minimize the situations in which openvpn will reconnect. Traces of 'adb 
logcat' would be helpful to determine unnecessary reconnects.

- As long as the routes to the VPN are established one could consider the VPN 
to be up. Only status changes which result in routes being dropped or 
established should be 
displayed in the notification area. 

Original comment by friedrich.schaeuffelhut on 30 Dec 2011 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 4 Jan 2012 at 4:51

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 17 Jan 2012 at 10:27

GoogleCodeExporter commented 9 years ago
Note that the fix proposed by Comment 6 disables the update of the UP/DOWN kBit 
counter in the notification.

Original comment by friedrich.schaeuffelhut on 24 Jan 2012 at 11:15

GoogleCodeExporter commented 9 years ago
Issue 111 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 24 Jan 2012 at 11:16

GoogleCodeExporter commented 9 years ago
The correct fix seems is to set the Notification.FLAG_ONLY_ALERT_ONCE.

Original comment by friedrich.schaeuffelhut on 26 Jan 2012 at 6:47

GoogleCodeExporter commented 9 years ago
Could some one please verify the bug is fixed in the attached version?

Original comment by friedrich.schaeuffelhut on 26 Jan 2012 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
Confirm bug is fixed with attached apk. Tested on tab 10.1 woth honeycomb 3.2  

Original comment by an...@netboxs.com on 27 Jan 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Thank you for testing!

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Issue 74 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:53

GoogleCodeExporter commented 9 years ago
Issue 81 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 9:15

GoogleCodeExporter commented 9 years ago
Also confirmed fixed with version on Comment 16 on Acer Iconia A500 with 
Honeycomb 3.2, kernel version 2.6.36.3+

Original comment by fin...@gmail.com on 27 Jan 2012 at 10:01