[DOCKER] SPRING: sessionCSRFToken is null for request

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

[DOCKER] SPRING: sessionCSRFToken is null for request

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
[DOCKER] SPRING: sessionCSRFToken is null for request
[DOCKER] SPRING: sessionCSRFToken is null for request
2023-10-05 01:55:55 - last edited 2023-11-16 23:25:59
Tags: #Docker
Hardware Version:
Firmware Version: Latest

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

 

  0      
  0      
#1
Options
1 Accepted Solution
[DOCKER] SPRING: sessionCSRFToken is null for request-Solution
2023-11-16 23:25:41 - last edited 2023-11-16 23:25:59

 Quick update in case anyone endup here, this is a bug on the controller and hopefully it'll be fixed on the following updates.

This is the thread where other people have this issue too:

https://github.com/mbentley/docker-omada-controller/issues/342

Recommended Solution
  1  
  1  
#3
Options
2 Reply
Re:[DOCKER] SPRING: sessionCSRFToken is null for request
2023-10-05 14:29:35

  @Chris_45 Hi Chris, I have a few sites on Docker based PI clones as well--usually power failure is all about corrupted filesystems.  However, if the controller is up and doing it's thing, it might be as easy as clearing your browser cache (or use a different browser from your normal one and see if the login now works).

 

FWIW, I run my Controllers in host mode, because that way they look and behave a lot like OC200's.

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#2
Options
[DOCKER] SPRING: sessionCSRFToken is null for request-Solution
2023-11-16 23:25:41 - last edited 2023-11-16 23:25:59

 Quick update in case anyone endup here, this is a bug on the controller and hopefully it'll be fixed on the following updates.

This is the thread where other people have this issue too:

https://github.com/mbentley/docker-omada-controller/issues/342

Recommended Solution
  1  
  1  
#3
Options

Information

Helpful: 0

Views: 532

Replies: 2

Tags

Docker
Related Articles