[DOCKER] SPRING: sessionCSRFToken is null for request
Long story short, after a power outage the controller couldn't connect to the internet and neither I could login on it (Operation failed, please check network connection).
After deleting data and logs folder, reinstalling the docker (but now as host, not bridge) and resetting all my omada devices I couldn't login to it, as right after I did it, I immediately would get kicked out from dashboard to the login page.
Looking again at logs, right after attempting to login in this message is printed "sessionCSRFToken is null for request /img/svg/PaginationLeftDisabled.svg", after a little search it seems to be an issue with Spring, so maybe something changed on the last update? Because if I login from private window it does work as it should.
The controller is running on a RPI4b 8GB w/ RPI OS Lite 64bit.
This is my docker compose file, straight up from the official docker controller github page:
version: "3.1"
services:
omada-controller:
container_name: omada-controller
image: mbentley/omada-controller:latest
restart: unless-stopped
ulimits:
nofile:
soft: 4096
hard: 8192
stop_grace_period: 60s
network_mode: host
environment:
- PUID=508
- PGID=508
- MANAGE_HTTP_PORT=8088
- MANAGE_HTTPS_PORT=8043
- PORTAL_HTTP_PORT=8088
- PORTAL_HTTPS_PORT=8843
- PORT_APP_DISCOVERY=27001
- PORT_ADOPT_V1=29812
- PORT_UPGRADE_V1=29813
- PORT_MANAGER_V1=29811
- PORT_MANAGER_V2=29814
- PORT_DISCOVERY=29810
- PORT_TRANSFER_V2=29815
- PORT_RTTY=29816
- SHOW_SERVER_LOGS=true
- SHOW_MONGODB_LOGS=false
- SSL_CERT_NAME=tls.crt
- SSL_KEY_NAME=tls.key
- TZ=Etc/UTC
volumes:
- omada-data:/opt/tplink/EAPController/data
- omada-logs:/opt/tplink/EAPController/logs
volumes:
omada-data:
omada-logs:
Pastebin link, idk why a support forum doesn't allow to paste logs for troubleshooting...
https://paste bin. com/egbCrRHj