Session Timeout - Query Tool hangs indefinitely due to login required

From: Florian Burka <fburka(at)noidea(dot)de>
To: pgadmin-support(at)postgresql(dot)org
Subject: Session Timeout - Query Tool hangs indefinitely due to login required
Date: 2017-10-18 12:41:32
Message-ID: CANHV1zBL2xrbMSqVZi95di-FhnD3iSuR1rUei51gBF-PbAb_=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,
I get logged out from time to time which leads to my current query and all
ui state being lost.

If I happen to try a query I just get a spinner and 'Initializing the query
execution!' that hangs forever,
if I navigate I get a blue popup with: 'Please log in to access this page.'.

In the console I see that my requests get redirected to
http://localhost:81/login?next=%2Fdashboard%2Fsession_stats%2F1%2F16384
and as a result I get a
Uncaught SyntaxError: Unexpected token < in JSON at position 0 at
JSON.parse (<anonymous>)

There seems to be quite a short session timeout and/or no working keepalive
(if I put my browser tab into the background)

pgAdmin 4
Version: 2.0
Python Version: 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623
(Red Hat 4.8.5-16)]
Flask Version: 0.11.1
Application Mode: Server (run in docker)
Browser: Chrome Version 62.0.3202.62 (Official Build) (64-bit) on Ubuntu

Is there any way to increase that timeout or at least some auto-save
feature to not loose the sql worksheet?

Thanks for that great piece of software! :-)
Regards,
Florian

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message JaeWon Lee 2017-10-18 14:52:01 .pgpass not working (CentOS7, pgAgent_96 )
Previous Message Dave Page 2017-10-18 12:18:13 Re: Faded text in pgAdmin 4 2.0/Win Server 2008r2