IPsec Apply changes time out
-
@stephenw10
Kernel erros could relate to virtualisation on Proxmox.I tried to setup new router and time out problem does not occur if there were only few tunnels. After clean installation I was able to continually setup up to 50 P1 with 50 P2 but after reboot and apply changes the time out problem occurred.
Could it be related to nginx memory isssue?
-
It seems more likely it's failing to pull the data from vici/strongswan for some reason. nginx shows it is timing out waiting for that data as far as I can see.
Is there a specific number of tunnels that seems to trigger the issue?
Or is it perhaps hitting a connection number that is failing to parse?
The way connections are numbered was changed significantly in 2.5 to allow for VTI tunnels when a large number exists. https://redmine.pfsense.org/issues/9592
Steve
-
@stephenw10 I currently have 46 tunnels on the failing system.
-
Try running
ipsec statusall
if you can. If that fails it would be interesting. If it doesn't look for a connection number that might be hitting a limit, con100000 maybe.Does it fail with 45 tunnels?
Steve
-
@stephenw10 Yes. It fails to Apply with 45 tunnels all the time. ipsec statusall returns results.
-
Can you try a 2.5.1 RC snapshot and see if it's better there?
-
Sorry, I mean is there a specific number where it doesn't fail? Is it something that clear cut?
Steve
-
@jimp The following release is still exhibiting the issue:
21.05-DEVELOPMENT (amd64)
built on Sat Mar 20 01:04:33 EDT 2021
FreeBSD 12.2-STABLE -
The firs time it showed was when I added 33th tunnel.
-
@richi44 I setup 51 tunnels on Netgate XG-7100 but the problem remains. After Apply changes, which takes more than 4 min Time Out 504 error shows.
Could you help me to solve this problem? This is really bad if I want to make quick changes to my tunnels.
Thank you.