Internal Server Error

Hi Leute,

hoffe mir kann geholfen werden. Ich benutze dpage/pgadmin4 Version 4.6.2 (latest) von dockerhub im docker container. Ich habe nach einiger Zeit, mal Stunden bzw Tage mit sso login über keycloak einen “internal server error”, starte ich den Container neu funktioniert es wieder. Jemand eine Idee wie ich das Problem in Griff bekomme?

meine zusätzliche (config_local.py)

# -*- coding: utf-8 -*-

##########################################################################
# OAuth 2.0 Configuration
##########################################################################

AUTHENTICATION_SOURCES = ['oauth2', 'internal']
OAUTH2_AUTO_CREATE_USER = True
OAUTH2_CONFIG = [{
'OAUTH2_NAME': 'sso',
'OAUTH2_DISPLAY_NAME': 'SSO',
'OAUTH2_CLIENT_ID': 'pgadmin',
'OAUTH2_CLIENT_SECRET': 'xxx',
'OAUTH2_TOKEN_URL': 'https://xxx',
'OAUTH2_AUTHORIZATION_URL': 'https://xxx',
'OAUTH2_API_BASE_URL': 'xxx',
'OAUTH2_USERINFO_ENDPOINT': 'xxx',
'OAUTH2_BUTTON_COLOR': '#3253a8',
}
]
##########################################################################
# Master password required
##########################################################################

MASTER_PASSWORD_REQUIRED = False

##########################################################################
# Ldap auto create user
##########################################################################

LDAP_AUTO_CREATE_USER = False

Error Log

127.0.0.1 - - [30/Nov/2021:09:10:25 +0000] "GET /dashboard/dashboard_stats/6/16385?chart_names=session_stats,tps_stats,ti_stats,to_stats,bio_stats HTTP/1.1" 200 271 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
127.0.0.1 - - [30/Nov/2021:09:10:26 +0000] "GET /dashboard/dashboard_stats/6/16385?chart_names=session_stats,tps_stats,ti_stats,to_stats,bio_stats HTTP/1.1" 200 271 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:10:27 +0000] "POST /misc/cleanup HTTP/1.1" 200 0 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:10:27 +0000] "GET /dashboard/dashboard_stats/6/16385?chart_names=session_stats,tps_stats,ti_stats,to_stats,bio_stats HTTP/1.1" 200 271 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:10:28 +0000] "GET /dashboard/dashboard_stats/6/16385?chart_names=session_stats,tps_stats,ti_stats,to_stats,bio_stats HTTP/1.1" 200 271 "/browser/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:14:26 +0000] "DELETE /datagrid/close/3945818 HTTP/1.1" 200 74 "/datagrid/panel/3945818?is_query_tool=true&sgid=6&sid=6&server_type=pg&did=16385" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
127.0.0.1 - - [30/Nov/2021:09:14:26 +0000] "DELETE /datagrid/close/7260576 HTTP/1.1" 200 74 "/datagrid/panel/7260576?is_query_tool=false&cmd_type=3&obj_type=table&obj_id=16400&sgid=6&sid=6&did=16385&server_type=pg" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
[2021-11-30 09:40:59 +0000] [89] [ERROR] Error handling request /authenticate/login 
Traceback (most recent call last): 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 271, in handle 
    keepalive = self.handle_request(req, conn) 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 323, in handle_request 
    respiter = self.wsgi(environ, resp.start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/pgadmin4/pgAdmin4.py", line 77, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 43, in __call__ 
    return super(_SocketIOMiddleware, self).__call__(environ, 
  File "/venv/lib/python3.9/site-packages/engineio/middleware.py", line 74, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app 
    response = self.handle_exception(e) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception 
    reraise(exc_type, exc_value, tb) 
  File "/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise 
    raise value 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app 
    response = self.full_dispatch_request() 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1953, in full_dispatch_request 
    return self.finalize_request(rv) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1970, in finalize_request 
    response = self.process_response(response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2269, in process_response 
    self.session_interface.save_session(self, ctx.session, response) 
  File "/pgadmin4/pgadmin/utils/session.py", line 307, in save_session 
    self.manager.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 166, in put 
    self.parent.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 270, in put 
    dump( 
_pickle.PicklingError: Can't pickle <class 'wtforms.form.Meta'>: attribute lookup Meta on wtforms.form failed 
::ffff:10.42.5.0 - - [30/Nov/2021:09:40:59 +0000] "POST /authenticate/login HTTP/1.1" 500 0 "-" "-" 
127.0.0.1 - - [30/Nov/2021:09:40:59 +0000] "GET /favicon.ico HTTP/1.1" 302 265 "/authenticate/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:40:59 +0000] "GET /static/favicon.ico?ver=60200 HTTP/1.1" 200 0 "/authenticate/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:00 +0000] "GET /favicon.ico HTTP/1.1" 302 265 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
[2021-11-30 09:41:14 +0000] [89] [ERROR] Error handling request /authenticate/login 
Traceback (most recent call last): 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 271, in handle 
    keepalive = self.handle_request(req, conn) 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 323, in handle_request 
    respiter = self.wsgi(environ, resp.start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/pgadmin4/pgAdmin4.py", line 77, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 43, in __call__ 
    return super(_SocketIOMiddleware, self).__call__(environ, 
  File "/venv/lib/python3.9/site-packages/engineio/middleware.py", line 74, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app 
    response = self.handle_exception(e) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception 
    reraise(exc_type, exc_value, tb) 
  File "/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise 
    raise value 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app 
    response = self.full_dispatch_request() 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1953, in full_dispatch_request 
    return self.finalize_request(rv) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1970, in finalize_request 
    response = self.process_response(response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2269, in process_response 
    self.session_interface.save_session(self, ctx.session, response) 
  File "/pgadmin4/pgadmin/utils/session.py", line 307, in save_session 
    self.manager.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 166, in put 
    self.parent.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 270, in put 
    dump( 
_pickle.PicklingError: Can't pickle <class 'wtforms.form.Meta'>: attribute lookup Meta on wtforms.form failed 
::ffff:10.42.5.0 - - [30/Nov/2021:09:41:14 +0000] "POST /authenticate/login HTTP/1.1" 500 0 "-" "-" 
127.0.0.1 - - [30/Nov/2021:09:41:14 +0000] "GET /favicon.ico HTTP/1.1" 302 265 "/authenticate/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:14 +0000] "GET /static/favicon.ico?ver=60200 HTTP/1.1" 200 0 "/authenticate/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:15 +0000] "GET /favicon.ico HTTP/1.1" 302 265 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:15 +0000] "GET /static/favicon.ico?ver=60200 HTTP/1.1" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET / HTTP/1.1" 302 237 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /login?next=%2F HTTP/1.1" 200 1675 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/vendor/require/require.min.js?ver=60200 HTTP/1.1" 200 6956 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/pgadmin.style.css?ver=60200 HTTP/1.1" 200 43259 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/style.css?ver=60200 HTTP/1.1" 200 100688 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/pgadmin_commons.js?ver=60200 HTTP/1.1" 200 66689 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/pgadmin.css?ver=60200 HTTP/1.1" 200 55954 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/vendor.main.js?ver=60200 HTTP/1.1" 200 240851 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/vendor.others.js?ver=60200 HTTP/1.1" 200 825515 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/img/login.svg?ver=60200 HTTP/1.1" 200 0 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/pgadmin.js.map HTTP/1.1" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/fonts/Roboto-Regular..ttf HTTP/1.1" 200 0 "/static/js/generated/pgadmin.style.css?ver=60200" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/pgadmin.style.js.map HTTP/1.1" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:18 +0000] "GET /static/js/generated/style.js.map HTTP/1.1" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:19 +0000] "GET /favicon.ico?ver=60200 HTTP/1.1" 302 265 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:41:19 +0000] "GET /favicon.ico?ver=60200 HTTP/1.1" 302 265 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
[2021-11-30 09:41:21 +0000] [89] [ERROR] Error handling request /authenticate/login 
Traceback (most recent call last): 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 271, in handle 
    keepalive = self.handle_request(req, conn) 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 323, in handle_request 
    respiter = self.wsgi(environ, resp.start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/pgadmin4/pgAdmin4.py", line 77, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 43, in __call__ 
    return super(_SocketIOMiddleware, self).__call__(environ, 
  File "/venv/lib/python3.9/site-packages/engineio/middleware.py", line 74, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app 
    response = self.handle_exception(e) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception 
    reraise(exc_type, exc_value, tb) 
  File "/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise 
    raise value 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app 
    response = self.full_dispatch_request() 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1953, in full_dispatch_request 
    return self.finalize_request(rv) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1970, in finalize_request 
    response = self.process_response(response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2269, in process_response 
    self.session_interface.save_session(self, ctx.session, response) 
  File "/pgadmin4/pgadmin/utils/session.py", line 307, in save_session 
    self.manager.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 166, in put 
    self.parent.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 270, in put 
    dump( 
_pickle.PicklingError: Can't pickle <class 'wtforms.form.Meta'>: attribute lookup Meta on wtforms.form failed 
::ffff:10.42.5.0 - - [30/Nov/2021:09:41:21 +0000] "POST /authenticate/login HTTP/1.1" 500 0 "-" "-" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET / HTTP/1.1" 302 237 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /login?next=%2F HTTP/1.1" 200 1675 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /static/js/generated/pgadmin.style.css?ver=60200 HTTP/1.1" 200 43259 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /static/js/generated/pgadmin.css?ver=60200 HTTP/1.1" 200 55954 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /static/js/generated/style.css?ver=60200 HTTP/1.1" 200 100688 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /static/vendor/require/require.min.js?ver=60200 HTTP/1.1" 200 6956 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:43 +0000] "GET /static/js/generated/vendor.main.js?ver=60200 HTTP/1.1" 200 240851 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:44 +0000] "GET /static/js/generated/pgadmin_commons.js?ver=60200 HTTP/1.1" 200 66689 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:44 +0000] "GET /static/js/generated/vendor.others.js?ver=60200 HTTP/1.1" 200 825515 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:44 +0000] "GET /static/img/login.svg?ver=60200 HTTP/1.1" 200 0 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:46 +0000] "GET /static/js/generated/fonts/Roboto-Regular..ttf HTTP/1.1" 200 0 "/static/js/generated/pgadmin.style.css?ver=60200" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:48 +0000] "GET /favicon.ico?ver=60200 HTTP/1.1" 302 265 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
127.0.0.1 - - [30/Nov/2021:09:53:48 +0000] "GET /static/favicon.ico?ver=60200 HTTP/1.1" 200 0 "/login?next=%2F" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 
[2021-11-30 09:53:49 +0000] [89] [ERROR] Error handling request /authenticate/login 
Traceback (most recent call last): 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 271, in handle 
    keepalive = self.handle_request(req, conn) 
  File "/venv/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 323, in handle_request 
    respiter = self.wsgi(environ, resp.start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/pgadmin4/pgAdmin4.py", line 77, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__ 
    return self.app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 43, in __call__ 
    return super(_SocketIOMiddleware, self).__call__(environ, 
  File "/venv/lib/python3.9/site-packages/engineio/middleware.py", line 74, in __call__ 
    return self.wsgi_app(environ, start_response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app 
    response = self.handle_exception(e) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception 
    reraise(exc_type, exc_value, tb) 
  File "/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise 
    raise value 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app 
    response = self.full_dispatch_request() 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1953, in full_dispatch_request 
    return self.finalize_request(rv) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 1970, in finalize_request 
    response = self.process_response(response) 
  File "/venv/lib/python3.9/site-packages/flask/app.py", line 2269, in process_response 
    self.session_interface.save_session(self, ctx.session, response) 
  File "/pgadmin4/pgadmin/utils/session.py", line 307, in save_session 
    self.manager.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 166, in put 
    self.parent.put(session) 
  File "/pgadmin4/pgadmin/utils/session.py", line 270, in put 
    dump( 
_pickle.PicklingError: Can't pickle <class 'wtforms.form.Meta'>: attribute lookup Meta on wtforms.form failed 
::ffff:10.42.5.0 - - [30/Nov/2021:09:53:49 +0000] "POST /authenticate/login HTTP/1.1" 500 0 "-" "-" 
127.0.0.1 - - [30/Nov/2021:09:53:49 +0000] "GET /favicon.ico HTTP/1.1" 302 265 "/authenticate/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" 

Grüße Sebastian

Die
PicklingErrors

bringt vielleicht das System mit. Was bedeutet “4.6.2 latest”? Ist das eine Stable Version?

Ich benutze pgadmin spätestens seit v 4 nicht mehr. Vlt solltest Du auf github dazu fragen.
Oder probehalber die vorige Version mal testen.

Danke habe ich gemacht, kann geschlossen oder gelöscht werden.