[GH-ISSUE #11235] issue: docker playwright install failing #16155

Closed
opened 2026-04-19 22:10:12 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @dan-petty on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11235

Check Existing Issues

  • I have searched the existing issues and discussions.

Installation Method

Docker

Open WebUI Version

0.5.19-cuda

Ollama Version (if applicable)

0.5.13

Operating System

Windows 11

Browser (if applicable)

No response

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 checked the browser console logs.
  • I have checked the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Specifying environment variable:
RAG_WEB_LOADER_ENGINE: playwright

Playwright will install and be configured for use in web search functionality.

Actual Behavior

Playwright fails to install successfully.

Steps to Reproduce

run

docker run -d -p 3000:8080 -e RAG_WEB_LOADER_ENGINE=playwright --gpus all -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:0.5.19-cuda

Logs & Screenshots

2025-03-05 10:06:32 Installing Playwright browsers...
2025-03-05 10:06:32 Playwright Host validation warning: 
2025-03-05 10:06:32 ╔══════════════════════════════════════════════════════╗
2025-03-05 10:06:32 ║ Host system is missing dependencies to run browsers. ║
2025-03-05 10:06:32 ║ Please install them with the following command:      ║
2025-03-05 10:06:32 ║                                                      ║
2025-03-05 10:06:32 ║     playwright install-deps                          ║
2025-03-05 10:06:32 ║                                                      ║
2025-03-05 10:06:32 ║ Alternatively, use apt:                              ║
2025-03-05 10:06:32 ║     apt-get install libnss3\                         ║
2025-03-05 10:06:32 ║         libnspr4\                                    ║
2025-03-05 10:06:32 ║         libatk1.0-0\                                 ║
2025-03-05 10:06:32 ║         libatk-bridge2.0-0\                          ║
2025-03-05 10:06:32 ║         libcups2\                                    ║
2025-03-05 10:06:32 ║         libxcomposite1\                              ║
2025-03-05 10:06:32 ║         libxdamage1\                                 ║
2025-03-05 10:06:32 ║         libatspi2.0-0                                ║
2025-03-05 10:06:32 ║                                                      ║
2025-03-05 10:06:32 ║ <3 Playwright Team                                   ║
2025-03-05 10:06:32 ╚══════════════════════════════════════════════════════╝
2025-03-05 10:06:32     at validateDependenciesLinux (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/dependencies.js:216:9)
2025-03-05 10:06:32     at async Registry._validateHostRequirements (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:753:43)
2025-03-05 10:06:32     at async Registry._validateHostRequirementsForExecutableIfNeeded (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:851:7)
2025-03-05 10:06:32     at async Registry.validateHostRequirementsForExecutablesIfNeeded (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:840:43)
2025-03-05 10:06:32     at async t.<anonymous> (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/cli/program.js:137:7)
2025-03-05 10:06:32 Installing dependencies...
2025-03-05 10:06:32 Err:1 http://deb.debian.org/debian bookworm InRelease
2025-03-05 10:06:32   405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
2025-03-05 10:06:32   405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
2025-03-05 10:06:32   405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 Reading package lists...
2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease  405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease  405  Method Not Allowed [IP: 10.254.0.5 9080]
2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
2025-03-05 10:06:32 Failed to install browser dependencies
2025-03-05 10:06:32 Error: Installation process exited with code: 100
2025-03-05 10:06:38 [nltk_data] Downloading package punkt_tab to /root/nltk_data...
2025-03-05 10:06:38 [nltk_data]   Package punkt_tab is already up-to-date!

Additional Information

No response

Originally created by @dan-petty on GitHub (Mar 5, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11235 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Installation Method Docker ### Open WebUI Version 0.5.19-cuda ### Ollama Version (if applicable) 0.5.13 ### Operating System Windows 11 ### Browser (if applicable) _No response_ ### 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 checked the browser console logs. - [x] I have checked the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Specifying environment variable: `RAG_WEB_LOADER_ENGINE: playwright` Playwright will install and be configured for use in web search functionality. ### Actual Behavior Playwright fails to install successfully. ### Steps to Reproduce run ``` docker run -d -p 3000:8080 -e RAG_WEB_LOADER_ENGINE=playwright --gpus all -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:0.5.19-cuda ``` ### Logs & Screenshots ``` 2025-03-05 10:06:32 Installing Playwright browsers... 2025-03-05 10:06:32 Playwright Host validation warning: 2025-03-05 10:06:32 ╔══════════════════════════════════════════════════════╗ 2025-03-05 10:06:32 ║ Host system is missing dependencies to run browsers. ║ 2025-03-05 10:06:32 ║ Please install them with the following command: ║ 2025-03-05 10:06:32 ║ ║ 2025-03-05 10:06:32 ║ playwright install-deps ║ 2025-03-05 10:06:32 ║ ║ 2025-03-05 10:06:32 ║ Alternatively, use apt: ║ 2025-03-05 10:06:32 ║ apt-get install libnss3\ ║ 2025-03-05 10:06:32 ║ libnspr4\ ║ 2025-03-05 10:06:32 ║ libatk1.0-0\ ║ 2025-03-05 10:06:32 ║ libatk-bridge2.0-0\ ║ 2025-03-05 10:06:32 ║ libcups2\ ║ 2025-03-05 10:06:32 ║ libxcomposite1\ ║ 2025-03-05 10:06:32 ║ libxdamage1\ ║ 2025-03-05 10:06:32 ║ libatspi2.0-0 ║ 2025-03-05 10:06:32 ║ ║ 2025-03-05 10:06:32 ║ <3 Playwright Team ║ 2025-03-05 10:06:32 ╚══════════════════════════════════════════════════════╝ 2025-03-05 10:06:32 at validateDependenciesLinux (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/dependencies.js:216:9) 2025-03-05 10:06:32 at async Registry._validateHostRequirements (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:753:43) 2025-03-05 10:06:32 at async Registry._validateHostRequirementsForExecutableIfNeeded (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:851:7) 2025-03-05 10:06:32 at async Registry.validateHostRequirementsForExecutablesIfNeeded (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/server/registry/index.js:840:43) 2025-03-05 10:06:32 at async t.<anonymous> (/usr/local/lib/python3.11/site-packages/playwright/driver/package/lib/cli/program.js:137:7) 2025-03-05 10:06:32 Installing dependencies... 2025-03-05 10:06:32 Err:1 http://deb.debian.org/debian bookworm InRelease 2025-03-05 10:06:32 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 Err:2 http://deb.debian.org/debian bookworm-updates InRelease 2025-03-05 10:06:32 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease 2025-03-05 10:06:32 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 Reading package lists... 2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed. 2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed. 2025-03-05 10:06:32 E: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease 405 Method Not Allowed [IP: 10.254.0.5 9080] 2025-03-05 10:06:32 E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed. 2025-03-05 10:06:32 Failed to install browser dependencies 2025-03-05 10:06:32 Error: Installation process exited with code: 100 2025-03-05 10:06:38 [nltk_data] Downloading package punkt_tab to /root/nltk_data... 2025-03-05 10:06:38 [nltk_data] Package punkt_tab is already up-to-date! ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:10:12 -05:00
Author
Owner

@dan-petty commented on GitHub (Mar 5, 2025):

Issue seems to be related to having a http_proxy configured. Now I'm getting different errors:

2025-03-05 10:44:34 playwright._impl._errors.Error: Page.goto: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.washingtonpost.com/the-seven/2025/03/05/what-to-know-for-march-5/
<!-- gh-comment-id:2701651597 --> @dan-petty commented on GitHub (Mar 5, 2025): Issue seems to be related to having a `http_proxy` configured. Now I'm getting different errors: ``` 2025-03-05 10:44:34 playwright._impl._errors.Error: Page.goto: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.washingtonpost.com/the-seven/2025/03/05/what-to-know-for-march-5/ ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16155