[GH-ISSUE #3883] [BUG] Backend Required, unsupported method (frontend only) #13420

Closed
opened 2026-04-19 20:10:19 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @DuckY-Y on GitHub (Jul 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3883

Context

So I've been trying to setup open-webui behind a reverse proxy, in this case Traefik.
Screenshot 2024-07-12 150000
As you can see from the screenshot, this is the page I'm greeted with when accessing webui.
I simply don't understand as to why I'm getting this error when I point Traefik at the internal 8080 port of open-webui?
If I were to uncomment the ports part and visit the site with ip and port specified (e.g. chat.bss:8081), then it works perfectly fine

docker-compose.yaml

  chat-webui:
    build:
      context: ../apps/chat_open-webui/.
      args:
        OLLAMA_BASE_URL: '/ollama'
      dockerfile: Dockerfile
    container_name: chat-webui
    # ports:
    #   - "8081:8080"
    volumes:
      - chat-webui:/app/backend/data
    restart: unless-stopped
    depends_on:
      - traefik
    networks:
      - ai-network
    environment:
      OLLAMA_BASE_URL: http://ollama:11434
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.chat-webui.entrypoints=web"
      - "traefik.http.routers.chat-webui.rule=Host(`chat.bss`)"
      - "traefik.http.services.chat-webui.loadbalancer.server.port=8080"

Environment

  • Open WebUI Version: [latest]
  • Operating System: [Ubuntu 22.04]

Logs

image
No errors reported in logs

Originally created by @DuckY-Y on GitHub (Jul 15, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/3883 ## Context So I've been trying to setup open-webui behind a reverse proxy, in this case Traefik. ![Screenshot 2024-07-12 150000](https://github.com/user-attachments/assets/a86d9301-f1de-4af4-9830-24da453fe09e) As you can see from the screenshot, this is the page I'm greeted with when accessing webui. I simply don't understand as to why I'm getting this error when I point Traefik at the internal 8080 port of open-webui? If I were to uncomment the ports part and visit the site with ip and port specified (e.g. chat.bss:8081), then it works perfectly fine ## docker-compose.yaml ``` chat-webui: build: context: ../apps/chat_open-webui/. args: OLLAMA_BASE_URL: '/ollama' dockerfile: Dockerfile container_name: chat-webui # ports: # - "8081:8080" volumes: - chat-webui:/app/backend/data restart: unless-stopped depends_on: - traefik networks: - ai-network environment: OLLAMA_BASE_URL: http://ollama:11434 labels: - "traefik.enable=true" - "traefik.http.routers.chat-webui.entrypoints=web" - "traefik.http.routers.chat-webui.rule=Host(`chat.bss`)" - "traefik.http.services.chat-webui.loadbalancer.server.port=8080" ``` ## Environment - **Open WebUI Version:** [latest] - **Operating System:** [Ubuntu 22.04] ## Logs ![image](https://github.com/user-attachments/assets/1073db61-6f5a-46a8-999d-6527f64b51b0) No errors reported in logs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#13420