mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
Infinite loading screen #137
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 @mfnalex on GitHub (Oct 7, 2021).
After installing via docker-compose, I cannot login using the demo credentials - the loading animation just keeps repeating forever and ever. The logs are showing nothing.
@Syndamia commented on GitHub (Oct 7, 2021):
Could be a duplicate of #135 and #111. Are you sure that the
BASE_URLinsidedocker-compose.ymlis the same as the address you're trying to host it at (better explained in https://github.com/plankanban/planka/issues/158#issuecomment-933566242)?@mfnalex commented on GitHub (Oct 8, 2021):
the BASE_URL is set correctly to the public domain name, however I'm using a reverse proxy to localhost. It works fine without the proxy, but... that's not a vialable solution. Are there any headers the proxy must keep to make it work?
@loranger commented on GitHub (Oct 11, 2021):
I had difficulties to make planka work using docker behind my traefik reverse-proxy, but now everything works flawlessly.
I did a quick summary here. I hope it would help
@dbrennand commented on GitHub (Oct 21, 2021):
Having the correct value for the
BASE_URLis very important. Most likely as in the other issues linked by @Syndamia your browser can't connect to the websocket. You can verify this by checking your browser's console logs.If you're using a reverse proxy and it handles terminating TLS, then you should have the
BASE_URLenvironment variable ashttps://domain.tld.What do you have it set to currently @mfnalex?
In my case, I had to alter the
trustProxyvalue. Please see PR #164 which is now merged 🥳 and #163.@mfnalex commented on GitHub (Oct 21, 2021):
Sorry, I currently don't have planka installed anymore. I'll try again on my testing server when I have time and will report back then. Feel free to close this issue for now.
@raimundomartins commented on GitHub (Jan 29, 2022):
I have the same issue,
BASE_URL=https://planka.foo.tldis copy-pasted into browser, andTRUST_PROXY=1. I'm using caddy as a reverse proxy (not docker) with a config of the sortswhere 8004 is the port I set in the docker-compose.yml.
EDIT: So, I have another server that is exposed to the internet and I don't have this issue. I guess I can't run planka if I'm behind NAT?
@noriakisana commented on GitHub (Feb 28, 2022):
when you are using an proxy, please remove the port. (worked for me with traefik). if you want, i can send you my docker-compose.yml later :D
@Alumniminium commented on GitHub (Apr 13, 2022):
client/src/constants/Config.jshas a fked if statement that makes websocket requests go to localhost:1337, fix the URL there or set it in ENV (REACT_APP_SERVER_BASE_URL)@pointjalta commented on GitHub (Jul 13, 2022):
Has anyone discovered what issue causing the problem? I just can't find a way yet on how to fi this ...
@Giorgio-Germani commented on GitHub (Aug 11, 2022):
Here is my docker config that worked in combination with portainer and nginx proxy manager:
Make sure you have the https domain set as base_url and websocket enabled in nginx proxy manager.
version: '3'
services:
planka:
image: ghcr.io/plankanban/planka:latest
command: >
bash -c
"for i in
seq 1 30; do./start.sh &&
s=
? && break || s=?;echo "Tried $$i times. Waiting 5 seconds...";
sleep 5;
done; (exit $$s)"
restart: unless-stopped
volumes:
- user-avatars:/app/public/user-avatars
- project-background-images:/app/public/project-background-images
- attachments:/app/private/attachments
ports:
- 3000:1337
environment:
- BASE_URL=https://planka.domain.com
- TRUST_PROXY=0
- DATABASE_URL=postgresql://postgres@postgres/planka
- SECRET_KEY=123randomlygenerated123
depends_on:
- postgres
postgres:
image: postgres:alpine
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
user-avatars:
project-background-images:
attachments:
db-data:
@frogman544 commented on GitHub (Aug 30, 2022):
Hey man! Can you also add the nginx part? Cheers!
@guilhermenovais commented on GitHub (May 7, 2025):
For anyone trying to run this behind Nginx Proxy Manager, make sure you have the Websockets Support option enabled on your Proxy Host
@danish-mar commented on GitHub (Jul 24, 2025):
Hey! I ran into the same WebSocket connection issue when trying to self-host Planka on my LAN using Docker. The frontend loaded perfectly, but WebSockets kept failing with:
After digging into it, I found that the culprit was the
SOCKET_ONLY_ALLOW_ORIGINSrestriction inside Sails.js. By default, it only allowslocalhost, which silently blocks socket connections from other origins like192.168.x.x.To fix it, I updated my
docker-compose.ymlto include this in theenvironmentblock:This immediately fixed the WebSocket connection issue. It might help to add a quick note about
SOCKET_ONLY_ALLOW_ORIGINSin the setup docs, especially for people deploying on home or internal networks.Thanks for the awesome project! 💜