Skip to content

Failed to setup Chrome driver #281

Open

Description

@cometta
optillm  | [Web Search Error]: Web search error: Failed to setup Chrome driver: Message: Service /home/appuser/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver unexpectedly ex
ited. Status code was: 127
optillm  |
optillm  | 2025-11-21 02:47:10,817 - INFO - Checking if state is terminal: False

i check the file exist in the docker container: /home/appuser/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver

host machine is linux

Activity

  1. codelion commented on Nov 21, 2025

    @codelion
    Member

    Can you run it locally? It doesn't run in headless mode by default. You have to enter captchas that pop up time to time so it opens an actual browser and does the search.

  2. cometta commented on Nov 21, 2025

    @cometta
    Author

    on host mac no issue. only host linux has issue . inconvenient to run directly on locally, too many dependencies

  3. codelion commented on Jan 28, 2026

    @codelion
    Member

    The Dockerfile would need to install Chrome and its dependencies for it to use the web_search plugin,

      # Install Chrome and dependencies                                                                                                                                    
      RUN apt-get update && \                                                                                                                                              
          apt-get install -y --no-install-recommends \                                                                                                                     
          wget gnupg \                                                                                                                                                     
          libnss3 libgconf-2-4 libxss1 libasound2 \                                                                                                                        
          libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 \                                                                                                                
          libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 \                                                                                                            
          libgbm1 libpango-1.0-0 libcairo2 && \                                                                                                                            
          wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \                                                                              
          echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \                                    
          apt-get update && \                                                                                                                                              
          apt-get install -y google-chrome-stable && \                                                                                                                     
          apt-get clean && rm -rf /var/lib/apt/lists/*  
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions