requests icon indicating copy to clipboard operation
requests copied to clipboard

Version 2.32.3 takes a long time for "connectionpool:Starting"

Open florianhitz opened this issue 9 months ago • 2 comments

Using version 2.32.3 takes a very long time (in the order of minutes) at:

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): some/url.com

However, downgrading to version 2.32.2 solves this problem.

Reproduction Steps

import requests

url = 'some/url.com'
requests.get(url, timeout=some_timeout)

System Information

{ "chardet": { "version": null }, "charset_normalizer": { "version": "3.4.1" }, "cryptography": { "version": "" }, "idna": { "version": "3.10" }, "implementation": { "name": "CPython", "version": "3.11.10" }, "platform": { "release": "23.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.32.3" }, "system_ssl": { "version": "30400010" }, "urllib3": { "version": "2.3.0" }, "using_charset_normalizer": true, "using_pyopenssl": false }

florianhitz avatar Mar 06 '25 10:03 florianhitz

I'm experiencing the same issue. It still persists in the latest version 2.32.4.

turkhero avatar Jul 24 '25 17:07 turkhero

have you done that ?

sejalkailashyadav avatar Aug 04 '25 06:08 sejalkailashyadav