Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-10 Thread Dave Page
Thanks, applied. On Tue, Oct 10, 2017 at 8:13 AM, Harshal Dhumal < harshal.dhu...@enterprisedb.com> wrote: > Hi Dave, > > Please find attached patch (old RM2713). > Also for server group and server module login required checks were missing, > I have added them in same patch > > -- > *Harshal Dhum

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-10 Thread Dave Page
Nice sleuthing! Thanks for the update. On Mon, Oct 9, 2017 at 5:48 PM, David Gilman wrote: > You can probably stand down on this one. The issue was that my PC was > switching back and forth between IPv4 and IPv6 for whatever reason and when > that happened the cookie and my session would get inv

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-10 Thread Harshal Dhumal
Hi Dave, Please find attached patch (old RM2713). Also for server group and server module login required checks were missing, I have added them in same patch -- *Harshal Dhumal* *Sr. Software Engineer* EnterpriseDB India: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Tue, Oc

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Harshal Dhumal
Hi David, Thanks for you input. Session was not invalidated (otherwise execution would not have reached to connection manager); Only value of '_id' was changed for session. If we look at code how '_id' is generat

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread David Gilman
You can probably stand down on this one. The issue was that my PC was switching back and forth between IPv4 and IPv6 for whatever reason and when that happened the cookie and my session would get invalidated. Maybe it is worth making code changes so you don't get Python tracebacks dumped to the err

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Harshal Dhumal
sure Dave -- *Harshal Dhumal* *Sr. Software Engineer* EnterpriseDB India: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Mon, Oct 9, 2017 at 1:16 PM, Dave Page wrote: > Harshal, can you help with this please? > > On Sun, Oct 8, 2017 at 12:39 AM, David Gilman > wrote: > >> I

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Dave Page
Harshal, can you help with this please? On Sun, Oct 8, 2017 at 12:39 AM, David Gilman wrote: > I'm trying out pgadmin4 v2.0 for the first time. It seems that after only > a few minutes (maybe even less than five) my pgadmin4 session will get > logged out and I'll need to log in again and reopen