Re: Session Timeout - Query Tool hangs indefinitely due to login required

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: Florian Burka <fburka(at)noidea(dot)de>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Session Timeout - Query Tool hangs indefinitely due to login required
Date: 2017-10-19 09:32:22
Message-ID: CAKKotZQqODQnzPOsqTjbQt98YpGQeV=CctaEX=1MjWtV2OazVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

​Please report this issue

here
​ ​
<https://redmine.postgresql.org/projects/pgadmin4>
with the steps required to re-produce the issue ​.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

On Wed, Oct 18, 2017 at 6:11 PM, Florian Burka <fburka(at)noidea(dot)de> wrote:

> 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
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Frank Limpert 2017-10-19 14:12:37 Search objects?
Previous Message Murtuza Zabuawala 2017-10-19 09:25:07 Re: Trust prompts for blank password even after save