[GH-ISSUE #13690] issue: nginx reverse proxy TypeError: Failed to fetch #71604

Closed
opened 2026-05-13 03:34:19 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @EntropyYue on GitHub (May 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13690

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

0.6.7

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

Edge

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

Normal return model output

Actual Behavior

TypeError: Failed to fetch

Image

Steps to Reproduce

Using nginx as a reverse proxy for open-webui service, here is my nginx configuration

events {
    worker_connections 1024;
}

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    ssl_certificate /etc/ssl/nginx/cert.pem;
    ssl_certificate_key /etc/ssl/nginx/cert.key;

    server {
        listen 443 ssl;
        server_name wsl.localhost;

        location / {
            proxy_pass http://open-webui:8080;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }
}

Logs & Screenshots

Image

Additional Information

No response

Originally created by @EntropyYue on GitHub (May 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13690 ### 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 0.6.7 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) Edge ### 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 Normal return model output ### Actual Behavior TypeError: Failed to fetch ![Image](https://github.com/user-attachments/assets/de750286-a17b-4629-a270-8d360eab9e2c) ### Steps to Reproduce Using nginx as a reverse proxy for open-webui service, here is my nginx configuration ```nginx events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; ssl_certificate /etc/ssl/nginx/cert.pem; ssl_certificate_key /etc/ssl/nginx/cert.key; server { listen 443 ssl; server_name wsl.localhost; location / { proxy_pass http://open-webui:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } } ``` ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/3505405c-2f0d-46e8-b713-37ab6d6d3b3a) ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-13 03:34:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#71604