Python Forum

Full Version: Request doesnt work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When you will run your program in Dbug mode there you will see requests.exceptions.ConnectTimeout

This exception occurs when the connection to the server takes too long, and the maximum number of retries is exceeded.

There could be several reasons for this issue:-

1.> Poor network connectivity.
2.> Issues with Anti-Virus or Security Software.
3.> Python Environment: Ensure that your Python environment is set up correctly, and there are no issues with the installed packages, including requests and urllib3.

Try to make requests to other websites (not just Google) to see if the issue is specific to Google.

Check if any other Python scripts or applications running on your machine or not.
Pages: 1 2