Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect option for server or database #8149

Open
ohelit opened this issue Nov 19, 2024 · 2 comments
Open

Reconnect option for server or database #8149

ohelit opened this issue Nov 19, 2024 · 2 comments

Comments

@ohelit
Copy link

ohelit commented Nov 19, 2024

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.

image

image

image

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!

@ohelit ohelit added the Feature label Nov 19, 2024
@anilsahoo20
Copy link
Contributor

anilsahoo20 commented Nov 20, 2024

Hi @ohelit
Which version of pgAdmin you are using?
Can you share the pgAdmin logs with the above reproducible steps.

@ohelit
Copy link
Author

ohelit commented Nov 20, 2024

Hi

These logs are from the container:
image

`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:
image

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants