[GH-ISSUE #14118] issue:Langdock API Integration Fails with 404 Server Connection Error #55816

Closed
opened 2026-05-05 18:06:42 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @hajiabadi-finbridge on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14118

Check Existing Issues

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

Installation Method

Git Clone

Open WebUI Version

0.6.10

Ollama Version (if applicable)

No response

Operating System

macOS Sonoma (15.5) - Running on Docker

Browser (if applicable)

Arc (Chromium based) as well as Chrome Version 136.0.7103.114

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

When adding a Langdock API (officially supporting OpenAI API) as a tool server in Open WebUI, it should connect and respond correctly when the model is selected and queried. If the connection is disabled in settings, it should be either hidden or disabled.

Actual Behavior

When clicking the load button (circular arrows) for Langdock API, I get the error:

404: Open WebUI: Server Connection Error

Similarly, when specifying a model and asking questions, the same 404 error appears. The browser shows:

Unexpected error: HTTP Error: 404

This happens despite:

  • Using the same API key as a friend who successfully runs Langdock on their Open WebUI setup.
  • Generating a new API key with no improvement.
  • Adding the API via both the admin console and user console.
  • Curling the Langdock API URL with the API key inside the Docker container works fine.
  • Accessing the Langdock API via Python script works perfectly with the same key and URL.

Steps to Reproduce

  1. Install Open WebUI 0.6.10 on Docker (macOS 15.5).
  2. Set up Ollama and Gemini API integrations — they work fine.
  3. Add Langdock API integration using the OpenAI-compatible API key and endpoint.
  4. Click the load button (circular arrows) for Langdock API in the UI.
  5. Observe the 404 Server Connection Error both on load and on querying the model.

Logs & Screenshots

Image

Image

Browser Logs:

Image

Docker Logs:

docker_logs.txt

Additional Information

No response

Originally created by @hajiabadi-finbridge on GitHub (May 21, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14118 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.10 ### Ollama Version (if applicable) _No response_ ### Operating System macOS Sonoma (15.5) - Running on Docker ### Browser (if applicable) Arc (Chromium based) as well as Chrome Version 136.0.7103.114 ### 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 When adding a Langdock API (officially supporting OpenAI API) as a tool server in Open WebUI, it should connect and respond correctly when the model is selected and queried. If the connection is disabled in settings, it should be either hidden or disabled. ### Actual Behavior When clicking the load button (circular arrows) for Langdock API, I get the error: ``` 404: Open WebUI: Server Connection Error ``` Similarly, when specifying a model and asking questions, the same 404 error appears. The browser shows: ``` Unexpected error: HTTP Error: 404 ``` This happens despite: * Using the same API key as a friend who successfully runs Langdock on their Open WebUI setup. * Generating a new API key with no improvement. * Adding the API via both the admin console and user console. * Curling the Langdock API URL with the API key inside the Docker container works fine. * Accessing the Langdock API via Python script works perfectly with the same key and URL. ### Steps to Reproduce 1. Install Open WebUI 0.6.10 on Docker (macOS 15.5). 2. Set up Ollama and Gemini API integrations — they work fine. 3. Add Langdock API integration using the OpenAI-compatible API key and endpoint. 4. Click the load button (circular arrows) for Langdock API in the UI. 5. Observe the 404 Server Connection Error both on load and on querying the model. ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/9969d286-fca5-4adb-97f7-ac358b269210) ![Image](https://github.com/user-attachments/assets/87bb5e9c-51fb-49e1-9bb2-ae22e8054a0c) Browser Logs: ![Image](https://github.com/user-attachments/assets/3a870998-f7d4-4f6d-9b77-9d9ec3271687) Docker Logs: [docker_logs.txt](https://github.com/user-attachments/files/20361741/docker_logs.txt) ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 18:06:43 -05:00
Author
Owner

@hajiabadi-finbridge commented on GitHub (May 21, 2025):

fixed it by myself. apparently the link reference was wrong. instead of https://api.langdock.com/openai/eu/v1/chat/completionsone only needs https://api.langdock.com/openai/eu/v1

<!-- gh-comment-id:2896853797 --> @hajiabadi-finbridge commented on GitHub (May 21, 2025): fixed it by myself. apparently the link reference was wrong. instead of `https://api.langdock.com/openai/eu/v1/chat/completions`one only needs `https://api.langdock.com/openai/eu/v1`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#55816