Hello @Roger Parker ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you are facing intermittent connection issue with Azure S2S VPN, where the vpn connections are dropping on a regular basis with the following error on Azure end: "RemoteCrashTriggered disconnection",
Below is the explanation for "RemoteCrashTriggered" error -
- Sometimes the on-premises device may decide to re-connect the VPN tunnel. In such cases, it may not be the case that the on-premises device would delete the active tunnel first but would just send a new request trying to establish a new Main Mode.
- The assumption is that for some reason the VPN peer device crashed or completely lost its connection state. So, they can't honor anymore the already established Main Mode (and have no means to delete it).
- This is a legitimate behavior. When Azure VPN Gateway receives a new request from a VPN peer, it will honor it. The new Main Mode will be established, and a new tunnel ID will be assigned. Then, the old Main Mode will be deleted.
- When such a behavior happens, we (Azure) define it as
RemoteCrashTriggered
in our logs. - The above behavior is NOT an issue and is allowed by RFC. This only becomes an issue when, after creating the new Main Mode and deleting the old one, the on-premises device doesn't use the new Main Mode to send traffic.
- Either way, in any scenario of failure post
RemoteCrashTriggered
, the issue is on the On-prem side, and the on-premises VPN device needs to be inspected to understand why it originally asked for a new Main Mode without deleting the old one.
You have mentioned that the issue happens at a regular interval, I believe you can predict the next time this issue will happen and can enable some debug log on the on-premises side to find out if this is happening after the Main Mode is established and if the on-premises device has some failure in performing a Quick Mode rekey, which fails on on-premises side and triggers the On-prem device to resend a Main Mode rekey.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.