Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12141

chromedriver unexpectedly exited. Status code was: 127 using Airflow-Docker

$
0
0

I have tried several solutions but it's still showing this error:

selenium.common.exceptions.WebDriverException: Message: Service /home/airflow/.cache/selenium/chromedriver/linux64/124.0.6367.155/chromedriver unexpectedly exited. Status code was: 127

My docker-compose.yaml:

FROM apache/airflow:latest# Copy your DAGs into the containerCOPY dags/ /opt/airflow/dags/FROM openjdk:17-slim# please review all the latest versions here:# https://googlechromelabs.github.io/chrome-for-testing/ENV CHROMEDRIVER_VERSION=120.0.6099.7### install chromeRUN apt-get update && apt-get install -y wget && apt-get install -y zipRUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debRUN apt-get install -y ./google-chrome-stable_current_amd64.deb### install chromedriverRUN wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$CHROMEDRIVER_VERSION/linux64/chromedriver-linux64.zip \&& unzip chromedriver-linux64.zip && rm -dfr chromedriver_linux64.zip \&& mv /chromedriver-linux64/chromedriver /home/airflow/.cache/selenium/chromedriver/linux64/124.0.6367.155/ \&& chmod +x /home/airflow/.cache/selenium/chromedriver/linux64/124.0.6367.155/### # REST OF YOUR DOKCERFILE HERE###
  • installing the google-chrome and webdriver using docker-compose.yaml
  • installing through ubuntu

Viewing all articles
Browse latest Browse all 12141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>