Giter Site home page Giter Site logo

SSL Cert Error about auto-southwest-check-in HOT 4 CLOSED

jdholtz avatar jdholtz commented on August 28, 2024
SSL Cert Error

from auto-southwest-check-in.

Comments (4)

toddhsimmons avatar toddhsimmons commented on August 28, 2024

I was able to get chromedriver installed and validated it is working. I have chromedriver in /usr/local/bin with the updated config.json

config.json

{
"notification_urls": "",
"notification_level": 1,
"retrieval_interval": 24,
"accounts": [
{
"username": "todd",
"password": "password"
}
],
"chrome_version": 112,
"chromedriver_path": "/usr/local/bin/chromedriver",
"flights": []
}

Output

tsimmon8@UTO-D6JWVF12VJ auto-southwest-check-in % python3 southwest.py --verbose
2023-04-14 22:21:01 DEBUG MainProcess[log]: Initialized the application
2023-04-14 22:21:01 DEBUG MainProcess[main]: Called with 0 arguments
2023-04-14 22:21:01 DEBUG MainProcess[config]: Reading the configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Adding 1 accounts from configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting chrome version to 112
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting custom Chromedriver path
2023-04-14 22:21:01 DEBUG MainProcess[config]: Adding 0 flights from configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting notification level to 1
2023-04-14 22:21:01 DEBUG MainProcess[config]: Using 1 notification services
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting retrieval interval to 24 hours
2023-04-14 22:21:01 DEBUG MainProcess[main]: Monitoring 1 accounts and 0 flights
2023-04-14 22:21:02 DEBUG Process-1[flight_retriever]: Retrieving flights for account
2023-04-14 22:21:02 DEBUG Process-1[webdriver]: Starting webdriver for current session
Process Process-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/flight_retriever.py", line 64, in monitor_account
flights = self._get_flights()
^^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/flight_retriever.py", line 85, in _get_flights
flights = webdriver.get_flights(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/webdriver.py", line 90, in get_flights
driver = self._get_driver()
^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/webdriver.py", line 140, in _get_driver
driver = Chrome(
^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/init.py", line 429, in init
super(Chrome, self).init(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 80, in init
super().init(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 101, in init
self.service.start()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 104, in start
self.assert_process_still_running()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 117, in assert_process_still_running
raise WebDriverException(f"Service {self.path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service /usr/local/bin/chromedriver unexpectedly exited. Status code was: -9

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 28, 2024

Hi. What version of certifi do you have? You can find that out by running pip show certifi. You can try upgrading that to the latest version to see if that fixes the certificate issue (pip install --upgrade certifi).

Iā€™m not sure why the second error is happening, but it might be because of the SSL error too.

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 28, 2024

Hey @toddhsimmons. Have you been able to try my suggestions above yet?

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 28, 2024

Closing this due to inactivity. Please reopen this issue again if the problem still occurs after trying my suggestions.

from auto-southwest-check-in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.