You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to 8.14 my configuration using:
AUTHENTICATION_SOURCES = ['webserver', 'internal']
WEBSERVER_AUTO_CREATE_USER = True
WEBSERVER_REMOTE_USER = "X-Iap-User"
MASTER_PASSWORD_REQUIRED = True
No longer works when connecting to pre configured
The log say:
pgadmin4 email config is {'CHECK_EMAIL_DELIVERABILITY': False, 'ALLOW_SPECIAL_EMAIL_DOMAINS': ]}
pgadmin4 NOTE: Configuring authentication for SERVER mode.
pgadmin4
pgadmin4 pgAdmin 4 - Application Initialisation
pgadmin4 ======================================
pgadmin4
pgadmin4 ----------
pgadmin4 Loading servers with:
pgadmin4 User: [email protected]
pgadmin4 SQLite pgAdmin config: /var/lib/pgadmin/pgadmin4.db
pgadmin4 ----------
pgadmin4 Added 1 Server Group(s) and 1 Server(s).
pgadmin4 postfix/postlog: starting the Postfix mail system
pgadmin4 [2025-01-06 09:30:41 +0000] [1] [INFO] Starting gunicorn 22.0.0
pgadmin4 [2025-01-06 09:30:41 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
pgadmin4 [2025-01-06 09:30:41 +0000] [1] [INFO] Using worker: gthread
pgadmin4 [2025-01-06 09:30:41 +0000] [126] [INFO] Booting worker with pid: 126
pgadmin4 ::ffff:100.920.2.1 - - [06/Jan/2025:09:30:56 +0000] "GET /misc/ping HTTP/1.1" 200 4 "-" "kube-probe/1.31"
pgadmin4 ::ffff:100.920.2.1 - - [06/Jan/2025:09:30:56 +0000] "GET /misc/ping HTTP/1.1" 200 4 "-" "kube-probe/1.31"
pgadmin4 1.191.17.250 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/ HTTP/1.1" 302 229 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.253 - - [06/Jan/2025:09:30:58 +0000] "GET /login?next=/browser/ HTTP/1.1" 302 205 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.241 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/ HTTP/1.1" 200 2889 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.244 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/browser.css?ver=81400 HTTP/1.1" 200 4089 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.241 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/js/messages.js?ver=81400 HTTP/1.1" 200 885 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.38.8 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/js/endpoints.js?ver=81400 HTTP/1.1" 200 3529 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.38.8 - - [06/Jan/2025:09:30:58 +0000] "GET /favicon.ico?ver=81400 HTTP/1.1" 302 245 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.250 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/server/supported_servers.js?ver=81400 HTTP/1.1" 200 289 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.247 - - [06/Jan/2025:09:30:58 +0000] "GET /browser/js/utils.js?ver=81400 HTTP/1.1" 200 2082 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.253 - - [06/Jan/2025:09:30:58 +0000] "GET /user_management/current_user.js?ver=81400 HTTP/1.1" 200 322 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.244 - - [06/Jan/2025:09:30:58 +0000] "GET /tools/translations.js?ver=81400 HTTP/1.1" 200 321 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.253 - - [06/Jan/2025:09:30:59 +0000] "GET /browser/check_corrupted_db_file HTTP/1.1" 200 61 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.244 - - [06/Jan/2025:09:30:59 +0000] "GET /misc/bgprocess/ HTTP/1.1" 200 2 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.250 - - [06/Jan/2025:09:30:59 +0000] "GET /preferences/get_all HTTP/1.1" 200 10268 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.250 - - [06/Jan/2025:09:30:59 +0000] "GET /settings/get_tree_state/ HTTP/1.1" 200 0 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 1.191.17.253 - - [06/Jan/2025:09:30:59 +0000] "GET /browser/nodes/ HTTP/1.1" 200 491 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
pgadmin4 2025-01-06 09:30:59,357: ERROR pgadmin: 'NoneType' object is not subscriptable
pgadmin4 Traceback (most recent call last):
pgadmin4 File "/venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
pgadmin4 rv = self.dispatch_request()
pgadmin4 ^^^^^^^^^^^^^^^^^^^^^^^
pgadmin4 File "/venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
pgadmin4 return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
pgadmin4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pgadmin4 File "/pgadmin4/pgadmin/browser/__init__.py", line 890, in set_master_password
pgadmin4 set_masterpass_check_text(crypt_key)
pgadmin4 File "/pgadmin4/pgadmin/utils/master_password.py", line 94, in set_masterpass_check_text
pgadmin4 masterpass_check = encrypt(MASTERPASS_CHECK_TEXT, password)
pgadmin4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pgadmin4 File "/pgadmin4/pgadmin/utils/crypto.py", line 35, in encrypt
pgadmin4 cipher = Cipher(AES(pad(key)), CFB8(iv), default_backend())
pgadmin4 ^^^^^^^^
pgadmin4 File "/pgadmin4/pgadmin/utils/crypto.py", line 71, in pad
pgadmin4 key = key[:32]
pgadmin4 ~~~^^^^^
pgadmin4 TypeError: 'NoneType' object is not subscriptable
pgadmin4 1.191.17.244 - - [06/Jan/2025:09:30:59 +0000] "POST /browser/master_password HTTP/1.1" 500 101 "https://pgadmin.com/browser/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
The text was updated successfully, but these errors were encountered:
After updating to 8.14 my configuration using:
AUTHENTICATION_SOURCES = ['webserver', 'internal']
WEBSERVER_AUTO_CREATE_USER = True
WEBSERVER_REMOTE_USER = "X-Iap-User"
MASTER_PASSWORD_REQUIRED = True
No longer works when connecting to pre configured
The log say:
The text was updated successfully, but these errors were encountered: