If both ends are fortigate firewalls, execute these commands in both firewalls in both firewalls:
diag vpn ike log-filter dst-addr4 a.b.c.d (where a.b.c.d is the remote gateway ip)
diag debug application ike -1
Once you get the debug logs, please disable the debug using this command "diag debug disable"
diag debug enable