Motorola Community

Moto G Phonesmoto g7 play / moto g7 / moto g7 power / moto g7 plus
All Forum Topics
Options

1 Posts

02-18-2020

US

5 Signins

41 Page Views

  • Posts: 1
  • Registered: ‎02-18-2020
  • Location: US
  • Views: 41
  • Message 1 of 2

Moto G7 - L2TP/IPSec VPN connection dropped after 90 seconds

2020-02-18, 3:59 AM

I can't maintain a connection to my home VPN on my Moto G7 (XT-1962-5 running Android 9, patched to 1 December 2019 PPOS29.114-134-7) 

 

I have a L2TP/IPSec VPN on my Edgerouter X at home. My G7 will successfully connect for 90 seconds before dropping off the VPN. I've done plenty of testing, the connection holds just fine using a OnePlus 6T, and with Windows 10.

 

This seems to be something to do with Motorola's implementation of Android. I noticed that the OnePlus forum seems to have a post with a similar issue that was patched last year (https://forums.oneplus.com/threads/vpn-disconnects-after-about-90-seconds.943337/)

 

From the VPN host I can see this with the "show vpn log" command:

Feb 18 03:53:35 04[IKE] <21> x.x.x.x is initiating a Main Mode IKE_SA     
Feb 18 03:53:35 13[IKE] <remote-access|21> IKE_SA remote-access[21] established 
between x.x.x.x[x.x.x.x]...x.x.x.x[x.x.x.x]              
Feb 18 03:53:36 15[IKE] <remote-access|21> CHILD_SA remote-access{24} establishe
d with SPIs c8811f22_i 0d94f318_o and TS x.x.x.x/32[udp/l2f] === x.x.x
.x/32[udp]                                                                    
Feb 18 03:53:38 05[KNL] 10.255.255.0 appeared on ppp2                           
Feb 18 03:53:38 07[KNL] 10.255.255.0 disappeared from ppp2
Feb 18 03:53:38 10[KNL] 10.255.255.0 appeared on ppp2                           
Feb 18 03:53:38 14[KNL] interface l2tp1 activated                               
Feb 18 03:55:08 10[KNL] interface l2tp1 deactivated                             
Feb 18 03:55:08 13[KNL] 10.255.255.0 disappeared from l2tp1                     
Feb 18 03:55:08 06[KNL] interface l2tp1 deleted                                 
Feb 18 03:55:11 05[IKE] <remote-access|21> closing CHILD_SA remote-access{24} wi
th SPIs c8811f22_i (10872 bytes) 0d94f318_o (27927 bytes) and TS 125.239.52.81/3
2[udp/l2f] === x.x.x.x/32[udp]                                            
Feb 18 03:55:11 07[IKE] <remote-access|21> deleting IKE_SA remote-access[21] bet
ween x.x.x.x[x.x.x.x]...x.x.x.x[x.x.x.x] 

System logs on the ERX also show this:

Feb 18 03:55:08	erx pppd[25877]: Connection terminated: no multilink.
Feb 18 03:55:08	erx xl2tpd[3368]: Maximum retries exceeded for tunnel 48329. Closing.
Feb 18 03:53:38	erx pppd[25877]: remote IP address 192.168.10.11
Feb 18 03:53:38	erx pppd[25877]: local IP address 10.255.255.0

Has anyone seen an issue like this before? Thanks in advance.

 

Reply
Options

8752 Posts

03-05-2018

US

1027 Signins

136272 Page Views

  • Posts: 8752
  • Registered: ‎03-05-2018
  • Location: US
  • Views: 136272
  • Message 2 of 2

Re: Moto G7 - L2TP/IPSec VPN connection dropped after 90 seconds

2020-02-19, 17:02 PM

Hi MGi,

 

Can you provide more details of your VPN network setup? Also, please update your profile with the current phone, carrier and serial number -- this will help me investigate. Please make sure that the options under Settings > System > Motorola Privacy are on as well, and let me know (just reply here) if it's okay for me to look at your apps to see if they are a source of problems.

See here for the instruction. 

 

I'd like to request for a bug report so we can further see this. 

 

To capture Bug Report:
Go to Settings ->Developer options -> Enable USB debugging > Toggle On
Enable Settings -> Developer options -> Enable Bug Report shortcut > Toggle On
Once the issue is reproduced: Go to Settings -> Developer options -> Click on take bug report or Press Power button and then choose Bug Report from the Power down menu.
Wait for some time until the bug report is collected. It takes around 3 to 4 minutes to collect the Bug Report.
Then upload the BugReport to your personal Google Drive and then share the link to the bug report via a private message.
Provide observations of what you saw happen right before the bug report was taken. Please indicate the local time when you observed the behavior.

To enable developer options:
1. Go to Settings > About phone > Build number
2. Tap Build number seven times. After the first few taps, you should see the steps counting down until you unlock the developer options. Once activated, you will see a message that reads, “You are now a developer!”
3. Go back to Settings, where you’ll find a Developer options entry in the menu

 

Let me know. Thank you. 

 

Best regards,
Rich
Motorola-Lenovo Support



Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save