Forums

timeout: Timed out receiving message from renderer: 299.074

.

File "/home/kevinbetting/Kevinbetting/src/manage.py", line 22, in <module>
    main()
  File "/home/kevinbetting/Kevinbetting/src/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "/home/kevinbetting/Kevinbetting/src/Website/management/commands/update_matchs_a_venir.py", line 349, in handle
    all_match = get_all_matchs(day)
  File "/home/kevinbetting/Kevinbetting/src/Website/management/commands/update_matchs_a_venir.py", line 19, in get_all_matchs
    driver.get(f"https://www.matchendirect.fr/resultat-foot-{date}/")
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 437, in get
    self.execute(Command.GET, {'url': url})
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
    self.error_handler.check_response(response)
  File "/home/kevinbetting/Kevinbetting/.env/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 299.074
  (Session info: headless chrome=90.0.4430.212)
Stacktrace:
#0 0x55e1d76abe89 <unknown>

Hello, this is my bash cosole error that I'm getting whenever i try to run selenium code. how can i resolve this? For information, this selenium code was working last week ... But since Wednesday i have this error.

Are you in the tarpit when you get that message? How are you running the code?

Hello , same problem again ... My code was working this week . But since today, it's not working . For information, i'm not in the tarpit

Maybe you could add some prints to update_matchs_a_venir.py management command to check where it fails and what is the state of the code then?