Before submitting a bug report: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project.
Collaborate respectfully: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively. Remember, Open WebUI is a volunteer-driven project managed by a single maintainer and supported by contributors who also have full-time jobs. We appreciate your time and ask that you respect ours.
Contributing: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI.
Bug reproducibility: If a bug cannot be reproduced with a :main or :dev Docker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help!
Note: Please remove the notes above when submitting your post. Thank you for your understanding and support!
Installation Method
Behind a company firewall and trying to build the docker image using the provided proxies isn't working. Note, proxies typically work, however there appears to be some embedded fetch/pull commands that isn't referencing them.
Environment
Open WebUI Version: v0.4.8
Ollama (if applicable): NA
Operating System: x86_64 GNU/Linux
Browser (if applicable): NA
Confirmation:
[Y] I have read and followed all the instructions provided in the README.md.
[Y] I am on the latest version of both Open WebUI and Ollama.
[NA] I have included the browser console logs.
[Y] I have included the Docker container logs.
[ Y] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
Build the image successfully using the command docker build -t image_a ..
Actual Behavior:
It's failing due to some github fetch/import trying to call onnxruntime-node.
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
Just need to add proxy envs in the dockerfile before and after the npm ci commands
I've found theres some issues with node and not working correctly with proxies. I did this on a prior version of open-webui (somewhere around v0.3.6) but i'm not sure if something happened since then.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Originally created by @rmiranda87 on GitHub (Dec 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7817
# Bug Report
## Important Notes
- **Before submitting a bug report**: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project.
- **Collaborate respectfully**: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively. Remember, Open WebUI is a volunteer-driven project managed by a single maintainer and supported by contributors who also have full-time jobs. We appreciate your time and ask that you respect ours.
- **Contributing**: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI.
- **Bug reproducibility**: If a bug cannot be reproduced with a `:main` or `:dev` Docker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help!
Note: Please remove the notes above when submitting your post. Thank you for your understanding and support!
---
## Installation Method
Behind a company firewall and trying to build the docker image using the provided proxies isn't working. Note, proxies typically work, however there appears to be some embedded fetch/pull commands that isn't referencing them.
## Environment
- **Open WebUI Version:** v0.4.8
- **Ollama (if applicable):** NA
- **Operating System:** x86_64 GNU/Linux
- **Browser (if applicable):** NA
**Confirmation:**
- [Y] I have read and followed all the instructions provided in the README.md.
- [Y] I am on the latest version of both Open WebUI and Ollama.
- [NA] I have included the browser console logs.
- [Y] I have included the Docker container logs.
- [ Y] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Build the image successfully using the command `docker build -t image_a .`.
## Actual Behavior:
It's failing due to some github fetch/import trying to call onnxruntime-node.
## Description
**Bug Summary:**
[Provide a brief but clear summary of the bug]
## Reproduction Details
**Steps to Reproduce:**
Just need to add proxy envs in the dockerfile before and after the npm ci commands
```
ENV http_proxy=http://webproxy.abc.com:80
ENV https_proxy=http://webproxy.abc.com:80
```
## Logs and Screenshots
**Browser Console Logs:**
N/A
**Docker Container Logs:**
> [build 6/8] RUN npm ci --no-audit --no-optional --prefer-offline --omit=optional:
0.604 npm warn config optional Use `--omit=optional` to exclude optional dependencies, or
0.604 npm warn config `--include=optional` to include them.
0.604 npm warn config
0.604 npm warn config Default value does install optional deps unless otherwise omitted.
24.44 npm error code 1
24.44 npm error path /app/node_modules/onnxruntime-node
24.44 npm error command failed
24.44 npm error command sh -c node ./script/install
24.44 npm error Downloading "https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/onnxruntime-linux-x64-gpu-1.19.2.tgz"...
24.44 npm error node:internal/deps/undici/undici:13178
24.44 npm error Error.captureStackTrace(err);
24.44 npm error ^
24.44 npm error
24.44 npm error TypeError: fetch failed
24.44 npm error at node:internal/deps/undici/undici:13178:13
24.44 npm error at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
24.44 npm error [cause]: Error: getaddrinfo ENOTFOUND github.com
24.44 npm error at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
24.44 npm error errno: -3008,
24.44 npm error code: 'ENOTFOUND',
24.44 npm error syscall: 'getaddrinfo',
24.44 npm error hostname: 'github.com'
24.44 npm error }
24.44 npm error }
**Screenshots/Screen Recordings (if applicable):**
logs above
## Additional Information
I've found theres some issues with node and not working correctly with proxies. I did this on a prior version of open-webui (somewhere around v0.3.6) but i'm not sure if something happened since then.
## Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rmiranda87 on GitHub (Dec 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7817
Bug Report
Important Notes
Before submitting a bug report: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project.
Collaborate respectfully: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively. Remember, Open WebUI is a volunteer-driven project managed by a single maintainer and supported by contributors who also have full-time jobs. We appreciate your time and ask that you respect ours.
Contributing: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI.
Bug reproducibility: If a bug cannot be reproduced with a
:mainor:devDocker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help!Note: Please remove the notes above when submitting your post. Thank you for your understanding and support!
Installation Method
Behind a company firewall and trying to build the docker image using the provided proxies isn't working. Note, proxies typically work, however there appears to be some embedded fetch/pull commands that isn't referencing them.
Environment
Open WebUI Version: v0.4.8
Ollama (if applicable): NA
Operating System: x86_64 GNU/Linux
Browser (if applicable): NA
Confirmation:
Expected Behavior:
Build the image successfully using the command
docker build -t image_a ..Actual Behavior:
It's failing due to some github fetch/import trying to call onnxruntime-node.
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
Just need to add proxy envs in the dockerfile before and after the npm ci commands
Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
logs above
Additional Information
I've found theres some issues with node and not working correctly with proxies. I did this on a prior version of open-webui (somewhere around v0.3.6) but i'm not sure if something happened since then.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!