I encounter a bug in pgadmin 4 while running query.
I am running ssh tunneling and forwarding the port to 127.0.0.1. PgAdmin 4 server connection's hostname is set to "localhost" and port is configured to the port being forwarded.
Connection to db is working fine BUT query execution is not responding and View data feature is not working.
However the issue seems solved if the hostname change to "127.0.0.1".