| From: | "ABHI PATEL (CRGL-THIRDPARTY(dot)COM)" <ABHI_PATEL(at)CRGL-THIRDPARTY(dot)COM> |
|---|---|
| To: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
| Cc: | "VINODH MUDIPALLI (CRGL-THIRDPARTY(dot)COM)" <BHUPATHI_VINODHMUDIPALLI(at)CRGL-THIRDPARTY(dot)COM>, Chiranjeev Sahoo <Chiranjeev_Sahoo(at)cargill(dot)com>, PRASHANTH NAIK <Prashanth_Naik(at)cargill(dot)com> |
| Subject: | pgAdmin 4 fails to open UI on Azure Virtual Desktop (localhost authorization issue) |
| Date: | 2026-06-22 14:40:16 |
| Message-ID: | SN6PR04MB3933FB136788ECCEE5EBA7B8BEEF2@SN6PR04MB3933.namprd04.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
Hello,
I am facing an issue running pgAdmin 4 (v9.11) on Windows in an Virtual Desktop environment.
PostgreSQL itself is installed and working (psql connects successfully).
pgAdmin starts its internal server, but the UI cannot be accessed.
Observed behavior
* pgAdmin runtime starts successfully:
* * Serving Flask app 'pgadmin'
* * Debug mode: off
* pgAdmin reports:
* The pgAdmin 4 server could not be contacted
* When accessing the local URL manually:
* http://127.0.0.1:<port>/browser/
the browser returns:
Unauthorized
The server could not verify that you are authorized to access the URL requested
Runtime details (excerpt)
Python Path: "C:\Program Files\pgAdmin 4\python\python.exe"
Webapp Path: "C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
Runtime Config File: "C:\Users\a045514\AppData\Roaming\pgadmin4\config.json"
PGADMIN_INT_PORT: 52004
PGADMIN_SERVER_MODE: OFF
The pgAdmin server process is clearly running, but the browser session never initializes successfully.
This appears to be related to localhost / loopback access or session handling in Azure Virtual Desktop-style environments.
Questions
* Are there recommended configuration options (e.g. server mode, auth settings, startup flags) for such environments?
* Are there known limitations or workarounds when pgAdmin's local web server cannot be accessed normally?
Any guidance would be appreciated.
Thanks,
Abhi Patel
[cid:image001(dot)png(at)01DD023B(dot)E4350970][cid:image002(dot)png(at)01DD023B(dot)E4350970]
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashesh Vashi | 2026-06-22 17:50:02 | Re: bug |
| Previous Message | Durumdara | 2026-06-22 09:59:11 | Function - Go to the DataBase object |