Session Timeout - Query Tool hangs indefinitely due to login required

Поиск
Список
Период
Сортировка
От Florian Burka
Тема Session Timeout - Query Tool hangs indefinitely due to login required
Дата
Msg-id CANHV1zBL2xrbMSqVZi95di-FhnD3iSuR1rUei51gBF-PbAb_=g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Session Timeout - Query Tool hangs indefinitely due to login required  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
Список 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

В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Faded text in pgAdmin 4 2.0/Win Server 2008r2
Следующее
От: JaeWon Lee
Дата:
Сообщение: .pgpass not working (CentOS7, pgAgent_96 )