Azure VPN 连接失败并出现失败错误 code:0x000035ed

Azure VPN connection fails with Failure error code:0x000035ed

我已经创建了从我的 Azure VNET 到第三方现场 VPN 设备的 VPN 连接。不幸的是连接失败了。我已在 VNET 中配置日志记录并收到以下错误:

  Timestamp: 1601-01-01T00:00:00.000Z
  Flags: 0x00000106
    Local address field set
    Remote address field set
    IP version field set
  IP version: IPv4
  IP protocol: 0
  Local address: <xx.xx.xx.xx>
  Remote address: <yy.yy.yy.yy>
  Local Port: 0
  Remote Port: 0
  Application ID:
  User SID: <invalid>
Failure type: IKE/Authip Main Mode Failure
Type specific info:
  Failure error code:0x000035ed
    Negotiation timed out

  Failure point: Local
  Flags: 0x00000000
  Keying module type: IKEv2
  MM State: Initial state, no packets sent
  MM SA role: Initiator
  MM auth method: Unknown
  Cert hash:
0000000000000000000000000000000000000000
  MM ID: 0x00000000000006bf
  MM Filter ID: 0x0000000000012dc9
  Local Principal Name: 
  Remote Principal Name: 
  Local Principal Group SIDs:
  Remote Principal Group SIDs:

谁能告诉我哪里出了问题?我无法控制 VPN 设备,但需要进行任何 Azure 更改。

原来是使用 IKEv2 的 Azure 网关和使用 IKEv1 的本地网关。更新本地网关解决了这个问题。