Currently I have a littel problem with the client.
When I am going downstairs to my car in the garage, I don't have any mobile network there.
Somehow the client is going then into the "Idle" state and will not change that state till I am connected to a WIFI or stop the connection and start it again manually.
This is quite bad as Waze (android auto) for example will not work till I am doing this, which is not that easy and recommended while in the car driving Also my home automation will not work if the vpn connection is not there.
Currently I am using an Pixel 7 Pro on Android 15.
Last edited by TheUntouchable on Wed Dec 04, 2024 11:29 am, edited 1 time in total.
Thanks for the quick reply
I'm already on the latest version (from today), but I've changed the battery optimization to unrestricted now.
Will try it later to see if that helps!
And thanks for the hint, I've removed the screenshot
Ok, I tested it yesterday and today and it seems related to the wireless Android Auto connection. As soon as this is connected the vpn client goes to "Idle". If I stop and connect the vpn connection again everything is working fine. Any way to fix this? I know there is an option to stop the vpn when connected to AA, but as mentioned I need the vpn also during my drives, and somehow this worked in the past
Sorry for the late response, already prepaired the screnshot of the logs but didn't have time to upload it
But yes you are right, there is nothing in the logs regarding a connectivity change..
Attachments
WhatsApp Image 2024-12-09 at 11.02.04-1.jpeg (293.3 KiB) Viewed 58238 times
So the issue should not be related to the connectivity change.
The strange thing is that the VPN is restarted but then there are no more attempts to handshake.
When the VPN is in the "Idle" state, it is basically waiting for at least one packet to be routed to the VPN interface. It seems that the connection to Android auto interferes with the VPN routes.
Can you try to uncheck the "Set max handshake attempts before reconnecting" option and see what happens in the log?
I had time to test the behaviour again today with disabled ‘Set max handshake attempts before reconnecting’ and it seems to be working now! I haven't had this option enabled for long, so it could really be the problem, but I enabled it because sometimes it tries to reconnect forever if I don't reconnect it manually.