mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
ERROR: [Errno -2] Name or service not known #1886
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zubu007 on GitHub (Aug 26, 2024).
Bug Report
Installation Method
I cloned the git repo and edited the docker-compose.yaml file according to my needs and started with
docker compose upEnvironment
Open WebUI Version: latest from the git repo?
Operating System: Ubuntu 20.04
Confirmation:
Expected Behavior:
The app to start without any problems.
Actual Behavior:
The app shuts down and tries to restart in an infiniely loop. The main line of error is
ERROR: [Errno -2] Name or service not knownDescription
I am trying to get openwebui running on an apache 2.0 server on ubuntu. I have used reverse proxy to route the app from port 5173 to homepage. I would like to have the authentication use the SSO. So I have configured my side of the authentication as the authentication works for a different app.
To configure the authentication for openwebui, I am forwarding the X-forwarded-email and the X-forwarded-username according to the documentation in the docker-compose.yaml file. I am attaching the contents of the file below as well as the error.
The authentication is done by my university server so only the email and the username is sent to the openwebui and it should receive it without any problems.
Bug Summary:
I am unable to find the actual bug even with
- 'GLOBAL_LOG_LEVEL=debug'in the yaml file.Logs and Screenshots
Docker Container Logs:
** docker-compose.yaml file
Screenshots/Screen Recordings (if applicable):

Additional Information
The app works fine without the last 4 lines of the environment part of the yaml file. So I am guessing it is not handling the webui-auth well. There is no problem with sending the x-forwarded-email and x-forwarded-user as I have tried it with another app with accepts it without any problem.
If you need any more information let me know.
@silentoplayz commented on GitHub (Aug 26, 2024):
@zubu007 Ignore the comments above at all costs. These are bot accounts attempting to spread some form of unwanted malware.