Hi everyone. Just sharing an interesting problem and looking for suggestions.
I recently moved VPS provider. Since then, some executions on n8n are super delayed - i.e. after clicking execute, nothing happens for 1-2 minutes and then the workflow runs at a good speed.
Console shows that the delay is caused due to “TLS Setup”. My set up uses docker with a reverse nginx proxy (SWAG). The set up is identical to the set up my previous VPS had, but with upgraded versions of n8n and SWAG. See the POST request timings from FF Console in the screenshot below.
This only happens when I access n8n via my subdomain. There is no delay (i.e. the problem goes away) when I access n8n from my VPS’s IP and port number for n8n.
Any ideas what would cause this and how to fix? Possibly the problem is with SWAG rather than n8n but thought I would check here first because other containers that are using SWAG have no delay.