MonashBI/xnat-docker-compose

session expires immediately upon login

Closed this issue · 10 comments

dmd commented

Configured using configure-basic.sh. I log in using admin/admin, and immediately am logged out.

image

image

Logging back in immediately just logs me out again.

dmd commented

Aha. Changing TIMEZONE to America/New_York in docker-compose.yml fixes this.

dmd commented

Hmm, actually, no, it doesn't. If I stop the container and start it again, I start getting the same problem again!

dmd commented

The only change I made to any file was :%s,Australia/Melbourne,America/New_York,g in docker-compose.yml

dmd commented

I've tried (from scratch) with both configure.sh and configure-basic, and can't get logged in for more than a second without being immediately logged out.

On top of that, it looks like configure.sh isn't exposing 80/443, only 8081, when I run it.

dmd commented

Rebuilding doesn't help either.

dmd commented

arrrg Sorry again. Mea culpa. This was due to me having rolled back the VM I've been experimenting with this in, and not realizing that it takes a while for ntpd to fix the time.