I suddenly got the following error, any idea why and how to fix it?
await driver.connect()
File "/app/webwhatsapi/async_driver.py", line 62, in connect
return await self._run_async(self._driver.connect)
File "/app/webwhatsapi/async_driver.py", line 40, in _run_async
result = await fut
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/app/webwhatsapi/init.py", line 268, in connect
self.driver.get(self._URL)
File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//web.whatsapp.com/&c=UTF-8&f=regular&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20web.whatsapp.com.
I suddenly got the following error, any idea why and how to fix it?
File "/app/webwhatsapi/async_driver.py", line 62, in connect return await self._run_async(self._driver.connect) File "/app/webwhatsapi/async_driver.py", line 40, in _run_async result = await fut File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/app/webwhatsapi/init.py", line 268, in connect self.driver.get(self._URL) File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get self.execute(Command.GET, {'url': url}) File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/opt/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//web.whatsapp.com/&c=UTF-8&f=regular&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20web.whatsapp.com.