[GH-ISSUE #13324] issue: Bug, openwebui keeps on logging me out #16886

Closed
opened 2026-04-19 22:43:04 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @jamesyc on GitHub (Apr 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13324

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v.0.6.6 latest docker image: ghcr.io/open-webui/open-webui:dev

Ollama Version (if applicable)

No response

Operating System

ubunutu 24.04 LTS

Browser (if applicable)

Firefox latest

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Not get logged out when i refresh the page

Actual Behavior

I get logged out randomly

Steps to Reproduce

  1. i did a docker compose pull && docker compose up -d to get latest version and clear the logs
  2. go to the openwebui website, log in to 1 account on firefox, 2nd account in chrome
  3. refresh the page. See that i got logged out

Logs & Screenshots

➜  OpenWebUI docker logs openwebui-openwebui-1
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Generating WEBUI_SECRET_KEY
Loading WEBUI_SECRET_KEY from .webui_secret_key
/app/backend/open_webui
/app/backend
/app
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [open_webui.env] 'ENABLE_DIRECT_CONNECTIONS' loaded from the latest database entry
INFO  [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry
INFO  [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry
INFO  [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry
INFO  [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry
INFO  [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry
INFO  [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry
INFO  [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry
INFO  [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry
INFO  [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry
INFO  [open_webui.env] 'DEFAULT_MODELS' loaded from the latest database entry
INFO  [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
INFO  [open_webui.env] 'MODEL_ORDER_LIST' loaded from the latest database entry
INFO  [open_webui.env] 'USER_PERMISSIONS' loaded from the latest database entry
WARNI [open_webui.env]

WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.

INFO  [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.

 ██████╗ ██████╗ ███████╗███╗   ██╗    ██╗    ██╗███████╗██████╗ ██╗   ██╗██╗
██╔═══██╗██╔══██╗██╔════╝████╗  ██║    ██║    ██║██╔════╝██╔══██╗██║   ██║██║
██║   ██║██████╔╝█████╗  ██╔██╗ ██║    ██║ █╗ ██║█████╗  ██████╔╝██║   ██║██║
██║   ██║██╔═══╝ ██╔══╝  ██║╚██╗██║    ██║███╗██║██╔══╝  ██╔══██╗██║   ██║██║
╚██████╔╝██║     ���██████╗██║ ╚████║    ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
 ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝     ╚══╝╚══╝ ╚══════╝╚═════╝  ╚═════╝ ╚═╝


v0.6.6 - building the best open-source AI user interface.

https://github.com/open-webui/open-webui

Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 22894.67it/s]
INFO:     Started server process [1]
INFO:     Waiting for application startup.
2025-04-29 09:15:04.172 | INFO     | open_webui.utils.logger:start_logger:140 - GLOBAL_LOG_LEVEL: INFO - {}
2025-04-29 09:15:04.239 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {}
2025-04-29 09:15:04.280 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.283 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/start.BctaMORE.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.285 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/QQrUUu-u.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.286 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/Cdll-xsj.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.287 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/app.CppewKqG.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.287 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/C1FmrZbK.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.288 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/vexCXLX9.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.290 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 200 - {}
2025-04-29 09:15:04.290 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/tMLpXUqA.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.331 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 200 - {}
2025-04-29 09:15:04.368 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {}
2025-04-29 09:15:04.390 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.ico HTTP/1.1" 200 - {}
2025-04-29 09:15:04.409 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {}
2025-04-29 09:15:04.437 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.448 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/start.BctaMORE.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.450 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/C1FmrZbK.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.452 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/app.CppewKqG.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.452 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/Cdll-xsj.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.455 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/QQrUUu-u.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.456 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/tMLpXUqA.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.456 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/vexCXLX9.js HTTP/1.1" 200 - {}
2025-04-29 09:15:04.457 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 200 - {}
2025-04-29 09:15:04.481 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {}
2025-04-29 09:15:04.483 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 200 - {}
2025-04-29 09:15:04.569 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {}
2025-04-29 09:15:04.570 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {}
2025-04-29 09:15:04.588 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/ HTTP/1.1" 401 - {}
2025-04-29 09:15:08.053 | INFO     | open_webui.models.auths:authenticate_user:131 - authenticate_user: jiaying.ge@gmail.com - {}
2025-04-29 09:15:08.314 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/auths/signin HTTP/1.1" 200 - {}
2025-04-29 09:15:08.336 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {}
2025-04-29 09:15:08.370 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/changelog HTTP/1.1" 200 - {}
2025-04-29 09:15:08.374 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/channels/ HTTP/1.1" 200 - {}
2025-04-29 09:15:08.376 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {}
2025-04-29 09:15:08.386 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {}
2025-04-29 09:15:08.403 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {}
2025-04-29 09:15:08.408 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {}
2025-04-29 09:15:08.409 | INFO     | open_webui.routers.openai:get_all_models:390 - get_all_models() - {}
2025-04-29 09:15:08.428 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {}
2025-04-29 09:15:08.453 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {}
2025-04-29 09:15:08.454 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-04-29 09:15:08.620 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models HTTP/1.1" 200 - {}
2025-04-29 09:15:08.685 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/banners HTTP/1.1" 200 - {}
2025-04-29 09:15:08.710 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/tools/ HTTP/1.1" 200 - {}
2025-04-29 09:15:08.729 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /ollama/api/version HTTP/1.1" 200 - {}
2025-04-29 09:15:08.742 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {}
2025-04-29 09:15:08.752 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {}
2025-04-29 09:15:13.470 | INFO     | open_webui.models.auths:authenticate_user:131 - authenticate_user: jamesysc94@gmail.com - {}
2025-04-29 09:15:13.703 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/auths/signin HTTP/1.1" 200 - {}
2025-04-29 09:15:13.747 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {}
2025-04-29 09:15:13.926 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/changelog HTTP/1.1" 200 - {}
2025-04-29 09:15:13.932 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {}
2025-04-29 09:15:13.933 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/channels/ HTTP/1.1" 200 - {}
2025-04-29 09:15:13.935 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {}
2025-04-29 09:15:13.981 | INFO     | open_webui.routers.openai:get_all_models:390 - get_all_models() - {}
2025-04-29 09:15:13.984 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {}
2025-04-29 09:15:14.005 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {}
2025-04-29 09:15:14.032 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {}
2025-04-29 09:15:14.033 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-04-29 09:15:14.087 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /assets/fonts/Inter-Variable.ttf HTTP/1.1" 200 - {}
2025-04-29 09:15:14.155 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models HTTP/1.1" 200 - {}
2025-04-29 09:15:14.196 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=2 HTTP/1.1" 200 - {}
2025-04-29 09:15:14.222 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/banners HTTP/1.1" 200 - {}
2025-04-29 09:15:14.253 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/tools/ HTTP/1.1" 200 - {}
2025-04-29 09:15:14.294 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/webhook HTTP/1.1" 200 - {}
2025-04-29 09:15:14.296 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 - {}
2025-04-29 09:15:14.299 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 - {}
2025-04-29 09:15:14.373 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 - {}
2025-04-29 09:15:14.507 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/version/updates HTTP/1.1" 200 - {}
2025-04-29 09:15:14.509 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/version/updates HTTP/1.1" 200 - {}
2025-04-29 09:15:24.255 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {}
2025-04-29 09:15:40.222 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {}
2025-04-29 09:15:46.057 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/models HTTP/1.1" 200 - {}
2025-04-29 09:15:46.059 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/models/base HTTP/1.1" 200 - {}
2025-04-29 09:15:46.061 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /ollama/config HTTP/1.1" 200 - {}
2025-04-29 09:15:46.156 | INFO     | open_webui.routers.openai:get_all_models:390 - get_all_models() - {}
2025-04-29 09:15:46.338 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models/base HTTP/1.1" 200 - {}
2025-04-29 09:15:46.719 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {}
2025-04-29 09:15:50.398 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 179.43.149.114:0 - "GET /.env HTTP/1.1" 200 - {}
2025-04-29 09:16:15.952 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 179.43.149.114:0 - "GET /phpinfo.php HTTP/1.1" 200 - {}
2025-04-29 09:16:17.091 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/models HTTP/1.1" 200 - {}
2025-04-29 09:16:40.293 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {}
2025-04-29 09:16:41.939 | INFO     | open_webui.config:save:246 - Saving 'DEFAULT_MODELS' to the database - {}
2025-04-29 09:16:41.951 | INFO     | open_webui.config:save:246 - Saving 'MODEL_ORDER_LIST' to the database - {}
2025-04-29 09:16:41.962 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/configs/models HTTP/1.1" 200 - {}
2025-04-29 09:16:42.012 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/models/base HTTP/1.1" 200 - {}
2025-04-29 09:16:42.116 | INFO     | open_webui.routers.openai:get_all_models:390 - get_all_models() - {}
2025-04-29 09:16:42.362 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models/base HTTP/1.1" 200 - {}
2025-04-29 09:17:33.495 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 304 - {}
2025-04-29 09:17:33.528 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 304 - {}
2025-04-29 09:17:33.529 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 304 - {}
2025-04-29 09:17:33.615 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {}
2025-04-29 09:17:33.618 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 304 - {}
2025-04-29 09:17:33.619 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.ico HTTP/1.1" 304 - {}
2025-04-29 09:17:33.783 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {}
2025-04-29 09:17:33.785 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {}
2025-04-29 09:17:33.824 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/ HTTP/1.1" 500 - {}
Exception in ASGI application
  + Exception Group Traceback (most recent call last):
  |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
  |     yield
  |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 178, in __call__
  |     async with anyio.create_task_group() as task_group:
  |   File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__
  |     raise BaseExceptionGroup(
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
    |     result = await app(  # type: ignore[func-returns-value]
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
    |     return await self.app(scope, receive, send)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    |     await super().__call__(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__
    |     await self.middleware_stack(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__
    |     await self.app(scope, receive, _send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__
    |     await self.app(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    |     with recv_stream, send_stream, collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/main.py", line 944, in inspect_websocket
    |     return await call_next(request)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    |     raise app_exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    |     with recv_stream, send_stream, collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/main.py", line 923, in check_url
    |     response = await call_next(request)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    |     raise app_exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    |     with recv_stream, send_stream, collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/main.py", line 909, in commit_session_after_request
    |     response = await call_next(request)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    |     raise app_exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    |     with recv_stream, send_stream, collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
    |     response = await call_next(request)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    |     raise app_exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    |     with recv_stream, send_stream, collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/main.py", line 898, in dispatch
    |     response = await call_next(request)
    |                ^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    |     raise app_exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    |     await app(scope, receive, sender)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
    |     await self.middleware_stack(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
    |     await route.handle(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    |     await self.app(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
    |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    |     await app(scope, receive, sender)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
    |     response = await f(request)
    |                ^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
    |     raw_response = await run_endpoint_function(
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
    |     return await dependant.call(**values)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/backend/open_webui/routers/auths.py", line 87, in get_session_user
    |     if int(time.time()) > expires_at:
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | TypeError: '>' not supported between instances of 'int' and 'NoneType'
    +------------------------------------

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    with recv_stream, send_stream, collapse_excgroups():
  File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/main.py", line 944, in inspect_websocket
    return await call_next(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    with recv_stream, send_stream, collapse_excgroups():
  File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/main.py", line 923, in check_url
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    with recv_stream, send_stream, collapse_excgroups():
  File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/main.py", line 909, in commit_session_after_request
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    with recv_stream, send_stream, collapse_excgroups():
  File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__
    with recv_stream, send_stream, collapse_excgroups():
  File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/main.py", line 898, in dispatch
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
    response = await f(request)
               ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/routers/auths.py", line 87, in get_session_user
    if int(time.time()) > expires_at:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'int' and 'NoneType'`

Additional Information

No response

Originally created by @jamesyc on GitHub (Apr 29, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13324 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v.0.6.6 latest docker image: ghcr.io/open-webui/open-webui:dev ### Ollama Version (if applicable) _No response_ ### Operating System ubunutu 24.04 LTS ### Browser (if applicable) Firefox latest ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Not get logged out when i refresh the page ### Actual Behavior I get logged out randomly ### Steps to Reproduce 1. i did a `docker compose pull && docker compose up -d` to get latest version and clear the logs 2. go to the openwebui website, log in to 1 account on firefox, 2nd account in chrome 3. refresh the page. See that i got logged out ### Logs & Screenshots ``` ➜ OpenWebUI docker logs openwebui-openwebui-1 Loading WEBUI_SECRET_KEY from file, not provided as an environment variable. Generating WEBUI_SECRET_KEY Loading WEBUI_SECRET_KEY from .webui_secret_key /app/backend/open_webui /app/backend /app INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [open_webui.env] 'ENABLE_DIRECT_CONNECTIONS' loaded from the latest database entry INFO [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry INFO [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry INFO [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry INFO [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry INFO [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry INFO [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry INFO [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry INFO [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry INFO [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry INFO [open_webui.env] 'DEFAULT_MODELS' loaded from the latest database entry INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry INFO [open_webui.env] 'MODEL_ORDER_LIST' loaded from the latest database entry INFO [open_webui.env] 'USER_PERMISSIONS' loaded from the latest database entry WARNI [open_webui.env] WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS. INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2 WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗ ██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║ ██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║ ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║ ╚██████╔╝██║ ���██████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝ v0.6.6 - building the best open-source AI user interface. https://github.com/open-webui/open-webui Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 22894.67it/s] INFO: Started server process [1] INFO: Waiting for application startup. 2025-04-29 09:15:04.172 | INFO | open_webui.utils.logger:start_logger:140 - GLOBAL_LOG_LEVEL: INFO - {} 2025-04-29 09:15:04.239 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {} 2025-04-29 09:15:04.280 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.283 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/start.BctaMORE.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.285 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/QQrUUu-u.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.286 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/Cdll-xsj.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.287 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/app.CppewKqG.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.287 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/C1FmrZbK.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.288 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/vexCXLX9.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.290 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 200 - {} 2025-04-29 09:15:04.290 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/tMLpXUqA.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.331 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 200 - {} 2025-04-29 09:15:04.368 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {} 2025-04-29 09:15:04.390 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.ico HTTP/1.1" 200 - {} 2025-04-29 09:15:04.409 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {} 2025-04-29 09:15:04.437 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.448 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/start.BctaMORE.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.450 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/C1FmrZbK.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.452 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/entry/app.CppewKqG.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.452 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/Cdll-xsj.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.455 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/QQrUUu-u.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.456 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/tMLpXUqA.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.456 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /_app/immutable/chunks/vexCXLX9.js HTTP/1.1" 200 - {} 2025-04-29 09:15:04.457 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 200 - {} 2025-04-29 09:15:04.481 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {} 2025-04-29 09:15:04.483 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 200 - {} 2025-04-29 09:15:04.569 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {} 2025-04-29 09:15:04.570 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {} 2025-04-29 09:15:04.588 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/ HTTP/1.1" 401 - {} 2025-04-29 09:15:08.053 | INFO | open_webui.models.auths:authenticate_user:131 - authenticate_user: jiaying.ge@gmail.com - {} 2025-04-29 09:15:08.314 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/auths/signin HTTP/1.1" 200 - {} 2025-04-29 09:15:08.336 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {} 2025-04-29 09:15:08.370 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/changelog HTTP/1.1" 200 - {} 2025-04-29 09:15:08.374 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/channels/ HTTP/1.1" 200 - {} 2025-04-29 09:15:08.376 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {} 2025-04-29 09:15:08.386 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {} 2025-04-29 09:15:08.403 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {} 2025-04-29 09:15:08.408 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {} 2025-04-29 09:15:08.409 | INFO | open_webui.routers.openai:get_all_models:390 - get_all_models() - {} 2025-04-29 09:15:08.428 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {} 2025-04-29 09:15:08.453 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {} 2025-04-29 09:15:08.454 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} 2025-04-29 09:15:08.620 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models HTTP/1.1" 200 - {} 2025-04-29 09:15:08.685 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/banners HTTP/1.1" 200 - {} 2025-04-29 09:15:08.710 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/tools/ HTTP/1.1" 200 - {} 2025-04-29 09:15:08.729 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /ollama/api/version HTTP/1.1" 200 - {} 2025-04-29 09:15:08.742 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {} 2025-04-29 09:15:08.752 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {} 2025-04-29 09:15:13.470 | INFO | open_webui.models.auths:authenticate_user:131 - authenticate_user: jamesysc94@gmail.com - {} 2025-04-29 09:15:13.703 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/auths/signin HTTP/1.1" 200 - {} 2025-04-29 09:15:13.747 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {} 2025-04-29 09:15:13.926 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/changelog HTTP/1.1" 200 - {} 2025-04-29 09:15:13.932 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {} 2025-04-29 09:15:13.933 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/channels/ HTTP/1.1" 200 - {} 2025-04-29 09:15:13.935 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {} 2025-04-29 09:15:13.981 | INFO | open_webui.routers.openai:get_all_models:390 - get_all_models() - {} 2025-04-29 09:15:13.984 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {} 2025-04-29 09:15:14.005 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {} 2025-04-29 09:15:14.032 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {} 2025-04-29 09:15:14.033 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} 2025-04-29 09:15:14.087 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /assets/fonts/Inter-Variable.ttf HTTP/1.1" 200 - {} 2025-04-29 09:15:14.155 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models HTTP/1.1" 200 - {} 2025-04-29 09:15:14.196 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/chats/?page=2 HTTP/1.1" 200 - {} 2025-04-29 09:15:14.222 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/banners HTTP/1.1" 200 - {} 2025-04-29 09:15:14.253 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/tools/ HTTP/1.1" 200 - {} 2025-04-29 09:15:14.294 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/webhook HTTP/1.1" 200 - {} 2025-04-29 09:15:14.296 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 - {} 2025-04-29 09:15:14.299 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 - {} 2025-04-29 09:15:14.373 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 - {} 2025-04-29 09:15:14.507 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/version/updates HTTP/1.1" 200 - {} 2025-04-29 09:15:14.509 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/version/updates HTTP/1.1" 200 - {} 2025-04-29 09:15:24.255 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {} 2025-04-29 09:15:40.222 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {} 2025-04-29 09:15:46.057 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/models HTTP/1.1" 200 - {} 2025-04-29 09:15:46.059 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/models/base HTTP/1.1" 200 - {} 2025-04-29 09:15:46.061 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /ollama/config HTTP/1.1" 200 - {} 2025-04-29 09:15:46.156 | INFO | open_webui.routers.openai:get_all_models:390 - get_all_models() - {} 2025-04-29 09:15:46.338 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models/base HTTP/1.1" 200 - {} 2025-04-29 09:15:46.719 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 200 - {} 2025-04-29 09:15:50.398 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 179.43.149.114:0 - "GET /.env HTTP/1.1" 200 - {} 2025-04-29 09:16:15.952 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 179.43.149.114:0 - "GET /phpinfo.php HTTP/1.1" 200 - {} 2025-04-29 09:16:17.091 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/configs/models HTTP/1.1" 200 - {} 2025-04-29 09:16:40.293 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 200 - {} 2025-04-29 09:16:41.939 | INFO | open_webui.config:save:246 - Saving 'DEFAULT_MODELS' to the database - {} 2025-04-29 09:16:41.951 | INFO | open_webui.config:save:246 - Saving 'MODEL_ORDER_LIST' to the database - {} 2025-04-29 09:16:41.962 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "POST /api/v1/configs/models HTTP/1.1" 200 - {} 2025-04-29 09:16:42.012 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/models/base HTTP/1.1" 200 - {} 2025-04-29 09:16:42.116 | INFO | open_webui.routers.openai:get_all_models:390 - get_all_models() - {} 2025-04-29 09:16:42.362 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/models/base HTTP/1.1" 200 - {} 2025-04-29 09:17:33.495 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET / HTTP/1.1" 304 - {} 2025-04-29 09:17:33.528 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/loader.js HTTP/1.1" 304 - {} 2025-04-29 09:17:33.529 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash.png HTTP/1.1" 304 - {} 2025-04-29 09:17:33.615 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /manifest.json HTTP/1.1" 200 - {} 2025-04-29 09:17:33.618 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/splash-dark.png HTTP/1.1" 304 - {} 2025-04-29 09:17:33.619 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.ico HTTP/1.1" 304 - {} 2025-04-29 09:17:33.783 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/config HTTP/1.1" 200 - {} 2025-04-29 09:17:33.785 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /static/favicon.png HTTP/1.1" 304 - {} 2025-04-29 09:17:33.824 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 107.190.244.41:0 - "GET /api/v1/auths/ HTTP/1.1" 500 - {} Exception in ASGI application + Exception Group Traceback (most recent call last): | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 76, in collapse_excgroups | yield | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 178, in __call__ | async with anyio.create_task_group() as task_group: | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi | result = await app( # type: ignore[func-returns-value] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ | return await self.app(scope, receive, send) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__ | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__ | await self.app(scope, receive, _send) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__ | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ | with recv_stream, send_stream, collapse_excgroups(): | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/main.py", line 944, in inspect_websocket | return await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ | with recv_stream, send_stream, collapse_excgroups(): | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/main.py", line 923, in check_url | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ | with recv_stream, send_stream, collapse_excgroups(): | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/main.py", line 909, in commit_session_after_request | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ | with recv_stream, send_stream, collapse_excgroups(): | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ | with recv_stream, send_stream, collapse_excgroups(): | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/main.py", line 898, in dispatch | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app | await app(scope, receive, sender) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app | await route.handle(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app | await wrap_app_handling_exceptions(app, request)(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app | await app(scope, receive, sender) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app | response = await f(request) | ^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app | raw_response = await run_endpoint_function( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function | return await dependant.call(**values) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/backend/open_webui/routers/auths.py", line 87, in get_session_user | if int(time.time()) > expires_at: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | TypeError: '>' not supported between instances of 'int' and 'NoneType' +------------------------------------ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__ await self.middleware_stack(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__ raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__ await self.app(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ with recv_stream, send_stream, collapse_excgroups(): File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/main.py", line 944, in inspect_websocket return await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next raise app_exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ with recv_stream, send_stream, collapse_excgroups(): File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/main.py", line 923, in check_url response = await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next raise app_exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ with recv_stream, send_stream, collapse_excgroups(): File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/main.py", line 909, in commit_session_after_request response = await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next raise app_exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ with recv_stream, send_stream, collapse_excgroups(): File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch response = await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next raise app_exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in __call__ with recv_stream, send_stream, collapse_excgroups(): File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups raise exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/main.py", line 898, in dispatch response = await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 154, in call_next raise app_exc File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app await route.handle(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle await self.app(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app response = await f(request) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/backend/open_webui/routers/auths.py", line 87, in get_session_user if int(time.time()) > expires_at: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '>' not supported between instances of 'int' and 'NoneType'` ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:43:04 -05:00
Author
Owner

@athoik commented on GitHub (Apr 29, 2025):

PR https://github.com/open-webui/open-webui/pull/13313

<!-- gh-comment-id:2838120043 --> @athoik commented on GitHub (Apr 29, 2025): PR https://github.com/open-webui/open-webui/pull/13313
Author
Owner

@jamesyc commented on GitHub (Apr 29, 2025):

Ok, i took a look at that PR. Yep, looks like it should fix the TypeError: '>' not supported between instances of 'int' and 'NoneType' issue, although it looks like a CI build failed for that PR.

How long does it take to update the docker image: ghcr.io/open-webui/open-webui:dev after the PR is checked into main?

<!-- gh-comment-id:2838189245 --> @jamesyc commented on GitHub (Apr 29, 2025): Ok, i took a look at that PR. Yep, looks like it should fix the `TypeError: '>' not supported between instances of 'int' and 'NoneType'` issue, although it looks like a CI build failed for that PR. How long does it take to update the docker `image: ghcr.io/open-webui/open-webui:dev` after the PR is checked into main?
Author
Owner

@tjbck commented on GitHub (Apr 29, 2025):

Addressed.

<!-- gh-comment-id:2839345181 --> @tjbck commented on GitHub (Apr 29, 2025): Addressed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16886