File "/home/teamip/mysite/", line 50, in __init__ self.driver.get("") File "/home/teamip/mysite/env/lib/python3.9/site-packages/selenium/webdriver/remote/", line 442, in get self.execute(Command.GET, {'url': url}) File "/home/teamip/mysite/env/lib/python3.9/site-packages/selenium/webdriver/remote/", line 430, in execute self.error_handler.check_response(response) File "/home/teamip/mysite/env/lib/python3.9/site-packages/selenium/webdriver/remote/", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_TUNNEL_CONNECTION_FAILED

this is my bash cosole error that I'm getting whenever i try to run selenium code. how can i resolve this?

That looks like your proxy settings may be incorrect. What do you get when you run this in that console?

echo $http_proxy


do i have to upgrade my pythonanywhere account in order to run selenium code? And i have checked this example code from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_argument("--no-sandbox") chrome_options.add_argument("--headless") chrome_options.add_argument("--disable-gpu") browser = webdriver.Chrome(options=chrome_options) try: browser.get("") print("Page title was '{}'".format(browser.title)) finally: browser.quit() its running fine , I'm getting output for this code

Example code from selenium help page should work on the free account, as is whitelisted. See

can you whitelist this site it have all the proper documentation required

We can't whitelist that as it's not open. There is login required.