ERPNext Conference 2019* ERPNext.com Blog

Session is Expiring /Time Out


#1

Hi, I’ve updated to v11 and facing session expiring issues:


Please guide for this.


#2


#3

OS is Debain. While versions details are: ERPNext: v11.1.42 (master), Frappe Framework: v11.1.37 (master).
Also have tried this: https://github.com/frappe/bench/wiki/Setting-HTTP-timeout


#4

The problem is looking in Nginx. Need anyone expert opinion to solve this issue.


#5

Not necessarily. Try looking in the “System Settings” under the “Security” section for the “Session Expiry” setting and make sure it has not been corrupted or altered. It should look something like this:

image

BKM


#6

It’s same:


#7

How fast are the sessions expiring?

BKM


#8

Sometime within 2-3 seconds, and sometime, after 60 seconds. There’s no regularity but we can’t do any work.
I guess, I have found the issue but don’t know how to solve. We are using Debain on a VM hosted by Hyper V (2012 R2). I unplugged the network cable and it started working fine on host PC and on Debain.


#9

How did you start up your bench (i.e. bench start, bench setup production)?