[patch][pgAdmin4] Windows error - The application server could not becontacted occasionally

Поиск
Список
Период
Сортировка
Искать

[patch][pgAdmin4] Windows error - The application server could not becontacted occasionally

От:
Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Дата:
Вложения:
Hi Hackers,

Some of the windows users are facing the error as "The application server could not be contacted" while starting pgAdmin4. The startup logs had nothing. Just that the application timed out.
I was able to simulate the issue for sometime when I started my windows machine, but later it did not throw any error and worked fine.
It turned out that due to the slowness of the Windows OS initially the application took time to setup which was longer than the app start timeout - 30secs and so, timed out.
In the attached patch, I have increased the timeout to 90secs (difficult to figure out the standard timeout). Plus, I have changed the messages at intervals when the app is starting so that it does not look stuck.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"

Re: [patch][pgAdmin4] Windows error - The application server couldnot be contacted occasionally

От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks, applied.

On Tue, Jan 1, 2019 at 10:24 AM Aditya Toshniwal
 wrote:
>
> Hi Hackers,
>
> Some of the windows users are facing the error as "The application server could not be contacted" while starting pgAdmin4. The startup logs had nothing. Just that the application timed out.
> I was able to simulate the issue for sometime when I started my windows machine, but later it did not throw any error and worked fine.
> It turned out that due to the slowness of the Windows OS initially the application took time to setup which was longer than the app start timeout - 30secs and so, timed out.
> In the attached patch, I have increased the timeout to 90secs (difficult to figure out the standard timeout). Plus, I have changed the messages at intervals when the app is starting so that it does not look stuck.
>
> Kindly review.
>
> --
> Thanks and Regards,
> Aditya Toshniwal
> Software Engineer | EnterpriseDB Software Solutions | Pune
> "Don't Complain about Heat, Plant a tree"



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

FAQ