mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 11:21:03 +03:00
After updating to the latest version, Planka needs exactly one minute to load #313
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Forceu on GitHub (May 25, 2023).
Since updating to the latest Docker image, I have the problem that Planka needs extremely long to load every time you open it in a new tab. This happens on desktop and mobile devices. I attached the waterfall below, the issue seems to be the loading of the file main.8ad7c1cf.js
Interestingly enough, if I try to open the file directly, it loads instantly, both with the browser and with curl. Also it appears to be exactly 1 minute, is there maybe a timeout happening?
@meltyshev commented on GitHub (May 25, 2023):
Hi! This is very strange, the file itself weighs less than a megabyte and there is no timeout on loading. Is that version deployed on localhost?
@Forceu commented on GitHub (May 25, 2023):
It is behind an nginx proxy. I recreated the docker container on my desktop and there it loads immediately. Were there any changes related to any protocols in the last versions?
Attached you find my nginx config. It contains the option
client_body_timeout 60for the socket connection - so I assume this is where the 60 seconds come from.@meltyshev commented on GitHub (May 25, 2023):
I cannot check the nginx config right now 😔 Please try to remove this line and see how it goes. But so far I don't understand why it applies to one file...
I'll try to contact Daniel, he might be able to figure out what the problem is right away.
@daniel-hiller commented on GitHub (May 25, 2023):
Hi, please check the Nginx error log.
/var/log/nginx/planka-error.log
I checked your configuration on my test system.
Planka loads quickly as usual.
The only difference from our example configuration I found is that we enable http2.
listen 443 ssl http2; listen [::]:443 ssl http2;@Forceu commented on GitHub (May 26, 2023):
Okay, it might have just been a problem with my nginx config. IPv6 was disabled on my server, but the server was still listening on IPv6 with the nginx config for planka
After removing the
listen [::]:80/443lines it works. I assume this is not a bug with your app, sorry about that. But also thanks a lot for your help!