High CPU usage after HTTPS is enabled
Hey! I just installed a fresh Dokploy 0.21.8. After enabling HTTPS for my domain,
dist/server.mjs
starts consistently using around 20% of the CPU. If I disable the HTTPS certificate, the CPU usage drops back to normal. I don't have any containers. On 0.21.7, I didn't have this issue. Any idea why this might be happening? Also, how can I install the previous version (0.21.7) of Dokploy?
Video:
https://i.imgur.com/3IaJhcn.mp44 Replies
What application is it that you are running? HTTPS is handled via Traefik and not immediately by Dokploy, it would appear more so that it is the application itself having an issue with being approached via HTTPS?
I don't have any applications, just a blank project. I'm only changing the server domain. I assume that
dist/server.mjs
is the Dokploy web interface(?)I was indeed mistaken; what happens if you run it for a while while keeping https enabled and checking back in like an hour?
It always stays at ~20% load no matter how long I keep the HTTPS certificate enabled 🤷🏻♂️
Now I tried assigning another domain to my server and enabled HTTPS, and it seems to work fine — the CPU is back to normal at 2%. I assume there were some issues with the ACME challenge (even though the certificate was assigned, the domain worked fine, and there were no errors in the logs). I also tried deleting
acme.json
and restarting the server — it didn't help; the CPU load stayed at 20% for that domain.