tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

2 #249

Open rajacsp opened 4 years ago

rajacsp commented 4 years ago
2019-08-16 19:51:26 base _execute_context INFO {} 
2019-08-16 19:52:28 app log_exception ERROR Exception on /apply/adrules/by/category [GET] 
Traceback (most recent call last):
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/ubuntu/kwikee/projects/category_search/rest_api/category_controller.py", line 775, in applu_ads_rule_on_brands_by_category
    tr_flag = dbs.update_ad_rule_for_category_in_db(category)
  File "/home/ubuntu/kwikee/projects/category_search/services/db_service.py", line 858, in update_ad_rule_for_category_in_db
    brand_list = ad_util.has_ads_multiple_for_brands(brand_list)
  File "/home/ubuntu/kwikee/projects/category_search/utils/ad_util.py", line 57, in has_ads_multiple_for_brands
    driver = webdriver.Firefox(options = options, executable_path = gecko_driver_path)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
    keep_alive=True)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

2019-08-16 19:52:28 _internal _log INFO 127.0.0.1 - - [16/Aug/2019 19:52:28] "GET /apply/adrules/by/category?category=cookies HTTP/1.0" 500 -