Sessions expire randomly

Hello,

I’m trying to work with the Tyk dashboard and I can’t get very far with it right now. I created a user and an API, but I keep losing my session. Also, I think this or something similar is preventing me from creating an API key. Below is a snippet of my logs:

time="Aug 31 15:42:55" level=error msg="Session key not found" error="redigo: nil returned" 
time="Aug 31 15:42:55" level=error msg="Could not get session" error="redigo: nil returned" 
time="Aug 31 15:42:55" level=error msg="Session key not found" error="redigo: nil returned" 
time="Aug 31 15:42:55" level=error msg="Session key not found" error="redigo: nil returned" 
time="Aug 31 15:42:55" level=error msg="Could not get session in GetCurrentUser" error="redigo: nil returned" 
time="Aug 31 15:42:55" level=warning msg="Login opened from: [::1]:52544" 
time="Aug 31 15:42:55" level=error msg="Session key not found" error="redigo: nil returned" 

I did find one other post related to this, but that doesn’t apply as I’ve tested it in two different browsers with the second only have the dashboard loaded in it and the same issue occurs. Not sure what additional information you’ll need, but I’m using host networking (Docker installation) on a single VM and all of the containers (Redis, MongoDB, Tyk) are running on the same box.

facing the same issue:

l=warning msg="Login page opened from: 10.0.14.98:55902"
time="Oct 17 14:14:01" level=error msg="Could not get session" error="redigo: nil returned"
time="Oct 17 14:14:01" level=error msg="Could not delete dashboard session in LogoutHandler" 
error="redigo: nil returned"
time="Oct 17 14:14:01" level=warning msg="Login page opened from: 10.0.0.82:35402"
time="Oct 17 14:25:25" level=error msg="Could not get session" error="redigo: nil returned"
time="Oct 17 14:25:25" level=error msg="Could not delete dashboard session in LogoutHandler" 
error="redigo: nil returned"
time="Oct 17 14:25:25" level=warning msg="Login page opened from: 10.0.14.67:34590"

I’m facing this error, too. Did you solve this somehow?

Currently I’m not able to login to the Tyk dashboard.

Hi,

The redigo redis module hasn’t been used in tyk for some years now. What version of the dashboard are you using?

Cheers,
Pete