Skip to content

Gateway connection hangs in OpenWebUI #50

Closed

Description

@naqerl

After connecting cptr to OpenWebUI I've send the first prompt to describe the repo (in the workspace, which is selected as per docs). After that model answered some nonsense i.e. surely didn't have a proper context.

Then I've sent a prompt Describe tools and context available to you and the model hanged - infinite loading in web UI. Got these logs:

cptr 6827c94:

INFO:     127.0.0.1:54484 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO:     127.0.0.1:54484 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO:     127.0.0.1:54484 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO:     127.0.0.1:54484 - "POST /v1/chat/completions HTTP/1.1" 200 OK
[gateway] Utility task LLM call failed: 
INFO:     127.0.0.1:45344 - "POST /v1/chat/completions HTTP/1.1" 200 OK

OpenWebUI latest docker:

2026-06-15 10:42:06.366 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:56086 - "GET /api/v1/tools/ HTTP/1.1" 200
2026-06-15 10:42:06.411 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:56090 - "POST /api/chat/completions HTTP/1.1" 200
2026-06-15 10:42:06.473 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:56086 - "GET /api/v1/skills/ HTTP/1.1" 200
2026-06-15 10:42:06.670 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:56086 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-06-15 10:42:11.811 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:56100 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-06-15 10:42:27.939 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:33120 - "POST /api/chat/completions HTTP/1.1" 200
2026-06-15 10:42:31.912 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:33120 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-06-15 10:42:32.007 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:33120 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-06-15 10:42:35.391 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:33120 - "GET /api/v1/chats/all/tags HTTP/1.1" 200
2026-06-15 10:42:35.452 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:57970 - "GET /api/v1/chats/f79d47cc-4fda-4420-90e7-625c73429094 HTTP/1.1" 200
2026-06-15 10:42:35.552 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:57970 - "GET /api/v1/chats/all/tags HTTP/1.1" 200
2026-06-15 10:42:41.645 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 100.85.123.55:57986 - "GET /_app/version.json

P.s. chat in the cptr itself works perfectly find and as expected, yet it is not obvious how to open it without knowing a key bind or navigation to the Settings > Keyboard, would be nice to have it in the UI of cptr as well.

P.p.s Found out, that the possible cause could be 400 error during request with tool calls in cptr, as i use OpenCode subscription and deepseek-v4-flash, yet it is OpenAI compatibale, so I continue investigation

Activity

  1. tjbck commented on Jun 15, 2026

    @tjbck
    Contributor

    Should be addressed in the latest main, testing wanted here.

  2. naqerl commented on Jun 15, 2026

    @naqerl
    Author

    400 error fixed! Waiting for the dev image of OpenWebUI to test this and #48 to validate a complete integration too

  3. naqerl commented on Jun 15, 2026

    @naqerl
    Author

    Tested in #48 and confirm this issue solved too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions