Reconnect option for server or database
Sometimes in pgadmin in Docker when you left the application running and there is no activity for some time, the server connection drops (we use VPN connection and sometimes the VPN disconnect). Here is an example, I open a connection to a database and work into the database for some time. Then, I left the browser with the pgadmin tab open for 1 hour or so and then when I try to operate with the database, I receive the message "Connection to the server has been lost.". Trying to refresh I receive the message "no password supplied" and the message is Ok. But I need to disconnect to the server and again connect.
If there is a chance to have an option from left click button, where you can reconnect to the server and provide the password again, will be nice to do it in one click, or if there is no connection for that kind of case (no password supplied), the pgadmin shows the password popup in order to provide again the password.
Thanks!
Hi @ohelit Which version of pgAdmin you are using? Can you share the pgAdmin logs with the above reproducible steps.
Hi
These logs are from the container:
`192- - [20/Nov/2024:03:54:21 -0500] "GET /sqleditor/status/1222271 HTTP/1.1" 500 95 "/sqleditor/panel/1222271?is_query_tool=true&sgid=3&sid=116&did=489075&database_name=ar" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
192 - - [20/Nov/2024:03:54:21 -0500] "GET /browser/database/children/3/116/489075 HTTP/1.1" 500 171 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"`
Here is the information about the server:
Thanks
Tested and verified on snapshot build: https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2025-08-11/ Package: arm64 Environment: macOs Sonoma 14.7.6
As part of the fix, one can right click and refresh on the server node to get latest status.