VPN On Demand not working anymore

Support requests about VPN Client Pro
TomekWaw
Posts: 5
Joined: Tue Nov 24, 2020 9:19 pm

VPN On Demand not working anymore

Post by TomekWaw »

Hi,
My VPN On Demand feature that has been working fine for few months, has stopped working lately.
Is happened probably after some Android update but I'm not sure
I use Samsung S10 phone.
On demand monitor is running it just does't connect my OpenVPN connection anymore.
I may connect to it manually just fine.
On demand monitor also disconnects this connection if I connect to defined WiFi networks.

So it looks like VPN Client Pro lost some kind of permission to enable VPN connection
or it does not see connection to my local (defined) network.

I've tested it on two different apps requiring local connection to my home.
admin
Site Admin
Posts: 670
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: VPN On Demand not working anymore

Post by admin »

Hi,

please, can you post the on demand's settings screenshot?
  • start the app
  • tap on top left icon
  • tap on "Connect on demand" button
  • take the screenshot
TomekWaw
Posts: 5
Joined: Tue Nov 24, 2020 9:19 pm

Re: VPN On Demand not working anymore

Post by TomekWaw »

Sure, i attache the screenshot:
Screenshot_20201130-110926_VPN-Client-Pro.png
Screenshot_20201130-110926_VPN-Client-Pro.png (186.93 KiB) Viewed 2544 times
admin
Site Admin
Posts: 670
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: VPN On Demand not working anymore

Post by admin »

With this configuration the VPN should be connected when a packet is sent to 192.168.103.0/24 and the device is not connected to the "... Internal"/"... Home" WiFi SSID.
If the device is connected to the "... Internal"/"... Home" WiFi SSID, the VPN is disconnected.

So if the problem occurs when the device is connected to the "... Internal"/"... Home" WiFi SSID, it is not a problem but it is normal behavior.

Can you please check?
TomekWaw
Posts: 5
Joined: Tue Nov 24, 2020 9:19 pm

Re: VPN On Demand not working anymore

Post by TomekWaw »

Sure, I'm in IT for more then 20 years now, so this is pretty obvious to me.
I'm testing it on LTE with Wifi disabled.
And using two different apps that are configured to use 192.168.103.0/24 network IPS, it does not connect VPN anymore.
It was working fine for serveral months, but it stopped.
TomekWaw
Posts: 5
Joined: Tue Nov 24, 2020 9:19 pm

Re: VPN On Demand not working anymore

Post by TomekWaw »

See this screenshot. On demand monitor is running. I'm on LTE.
DS Cam tries to connect to 192.168.103.2 and it can't.
No VPN connection is established, as before it was.
Screenshot_20201130-163333_DS-cam.png
Screenshot_20201130-163333_DS-cam.png (51.27 KiB) Viewed 2539 times
admin
Site Admin
Posts: 670
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: VPN On Demand not working anymore

Post by admin »

Sorry I didn't know about your experience so I started with the simplest questions.
Anyway, I did some testing and found a bug in the kotlin compiler that under certain circumstances adds a wrong cast for no reason and throw a java.lang.ClassCastException.
Unfortunately, that's what happened in the monitor on demand code.
So the problem was introduced with an update of the kotlin compiler. (As soon as I have a moment, I will send a bug report to the kotlin compiler developers)
I have already changed the code to fix the problem and the new version will be available soon.
My apologies for the problem.
TomekWaw
Posts: 5
Joined: Tue Nov 24, 2020 9:19 pm

Re: VPN On Demand not working anymore

Post by TomekWaw »

Thank you very much. I look forward for the app update.
The app is great and I recommend it to all my IT-related friends.
Now I know your support is great also!
user34506978
Posts: 8
Joined: Thu Dec 03, 2020 12:49 pm

Re: VPN On Demand not working anymore

Post by user34506978 »

Dear admin,

I am having basically the same problem as the op here. I am using VPN pro premium on a Samsung Galaxy S20+ with Android 11 (out today) but also on a Samsung Galaxy Tab S6 with Android 10. I can not get it to work on either device.

I want it to connect on demand to a wireguard VPN for 192.168.128.0/24. Being on Cellular and opening a site on my internal network within this subnet, nothing happens. Being in IT many years as well and holding many certifications, I can still always make a wrong setting. Can you please advise?

- 'Location' permission to 'always'
- added the appropriate route to the VPN and checked it as connect on demand VPN
- enabled the monitor and t is shown in the notification bar

Anything else that I might have missed?

Thanks a lot :)
admin
Site Admin
Posts: 670
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: VPN On Demand not working anymore

Post by admin »

The problem has been fixed, but I'm waiting for the update to be published on Google Play.
Post Reply