Opened 11 years ago

Closed 15 months ago

#313 closed Bug / Defect (wontfix)

Android: OpenVPN Connect does not detect network change 3G -> WiFi

Reported by: Gert van Dijk Owned by: OpenVPN Inc.
Priority: major Milestone:
Component: OpenVPN Connect Version:
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: android
Cc:

Description

Steps to reproduce:

  1. Connect Android to mobile data network (disable WiFi?).
  2. Establish OpenVPN connection normally.
  3. Activate WiFi? and connect it to your WiFi? network. Do not touch the mobile network settings.
  4. Note that OpenVPN does not detect this change. Connection to server is lost and log shows lines like (repeatedly):
    UDP send error: send: Invalid argument
    
  5. OpenVPN does not detect this fault until the keepalive timeout is reached.

If I disconnect to mobile network first, then activate WiFi?, it does detect the network change perfectly fine. Also the other way around (from WiFi? to 3G) seems to work fine.

Environment:

  • OpenVPN Connect 1.1.12 (build 45), latest from Google Play.
  • Android 4.2.2 (Paranoid Android 3.69)
  • OpenVPN server running on UDP port 1149.

Change History (9)

comment:1 Changed 11 years ago by JoshC

Component: Generic / unclassifiedOpenVPN Connect

comment:2 Changed 10 years ago by Samuli Seppänen

Owner: set to jamesyonan
Status: newassigned

comment:3 Changed 6 years ago by Antonio Quartulli

Owner: changed from jamesyonan to Antonio Quartulli

Is this still a problem with the latest release of Connect for Android?

comment:4 Changed 6 years ago by Antonio Quartulli

Summary: OpenVPN Connect (Android) does not detect network change 3G -> WiFiAndroid: OpenVPN Connect does not detect network change 3G -> WiFi

comment:5 Changed 6 years ago by analogue

Yes, this problem still exists on OpenVPN Connect 3.0.3.

comment:6 Changed 6 years ago by Antonio Quartulli

Owner: changed from Antonio Quartulli to yuiriy

comment:7 Changed 5 years ago by stepkas

Hello,

Same repro steps, same behavior, the only difference is error message:
12:31:18.437 -- UDP send error: send: Network is unreachable

Tried setting OpenVPN Protocol to TCP: no luck. Playing with Connection Timeout setting also gives nothing.

Confirming that WiFi? -> LTE network change is processed fine.

Any chance to have it fixed? It's extremely annoying :(

comment:8 Changed 3 years ago by Antonio Quartulli

Owner: changed from yuiriy to OpenVPN Inc.

comment:9 Changed 15 months ago by Gert Döring

Resolution: wontfix
Status: assignedclosed

OpenVPN Inc team does not want to receive bug reports via the community bug tracker. Please resubmit - if still relevant - via http://support.openvpn.net.

Note: See TracTickets for help on using tickets.