Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy not working with v0.7.2 #418

Open
devfox-se opened this issue Oct 26, 2024 · 3 comments
Open

proxy not working with v0.7.2 #418

devfox-se opened this issue Oct 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@devfox-se
Copy link

devfox-se commented Oct 26, 2024

Describe the bug
I am using an AWS EC2 instance as a proxy server (custom configured squid3 server) to send a request to (for example) https://jcrew.com
My code works when I use version 0.7.1 but fails after upgrading to 0.7.3, tested on 0.7.2 just in case and it fails too

To Reproduce
Install 0.7.1

from curl_cffi.requests import Session

request_args = {
    "allow_redirects": True,
    "cookies": {},
    "data": b"",
    "headers": {
        "Accept": "text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8",
        "Accept-Encoding": "gzip, deflate",
        "Accept-Language": "en",
    },
    "impersonate": "chrome120",
    "method": "GET",
    "params": None,
    "proxy": "http://255.255.255.255:3128",
    "url": "https://www.jcrew.com/",
}
with Session() as client:
    r = client.request(**request_args)
    assert r.status_code == 200 # OK

Install 0.7.2 or 0.7.3
For some reason it works without specifying a PROXY server

from curl_cffi.requests import Session

request_args = {
    "allow_redirects": True,
    "cookies": {},
    "data": b"",
    "headers": {
        "Accept": "text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8",
        "Accept-Encoding": "gzip, deflate",
        "Accept-Language": "en",
    },
    "impersonate": "chrome120",
    "method": "GET",
    "params": None,
    "url": "https://www.jcrew.com/",
}
with Session() as client:
    r = client.request(**request_args)
    assert r.status_code == 200 # OK

BUT fails once proxy is specified

from curl_cffi.requests import Session

request_args = {
    "allow_redirects": True,
    "cookies": {},
    "data": b"",
    "headers": {
        "Accept": "text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8",
        "Accept-Encoding": "gzip, deflate",
        "Accept-Language": "en",
    },
    "impersonate": "chrome120",
    "method": "GET",
    "params": None,
    "proxy": "http://255.255.255.255:3128",
    "url": "https://www.jcrew.com/",
}
with Session() as client:
    r = client.request(**request_args)  # ERROR raised
    assert r.status_code == 200

Traceback

Traceback (most recent call last):
  File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/requests/session.py", line 1050, in request
    c.perform()
  File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/curl.py", line 292, in perform
    self._check_error(ret, "perform")
  File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/curl.py", line 137, in _check_error
    raise error
curl_cffi.curl.CurlError: Failed to perform, curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2). See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/devfox/projects/test.py", line 19, in <module>
    r = client.request(**request_args)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/requests/session.py", line 1055, in request
    raise error(str(e), e.code, rsp) from e
curl_cffi.requests.exceptions.HTTPError: Failed to perform, curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2). See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

Expected behavior
The code should work just fine on newer versions

DEBUG logs

For 0.7.1
/Users/devfox/.virtualenvs/auto-scraper/bin/python /Users/devfox/projects/scraper/scratch/check_curl.py 
Trying 18.171.192.193:3128...
Connected to 18.171.192.193 (18.171.192.193) port 3128
CONNECT tunnel: HTTP/1.1 negotiated
allocate connect buffer
Establish HTTP proxy tunnel to www.jcrew.com:443
CONNECT www.jcrew.com:443 HTTP/1.1
Host: www.jcrew.com:443
Proxy-Connection: Keep-Alive

HTTP/1.1 200 Connection established

CONNECT phase completed
CONNECT tunnel established, response 200
ALPN: curl offers h2,http/1.1
Cipher selection: TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305,ECDHE-RSA-AES128-SHA,ECDHE-RSA-AES256-SHA,AES128-GCM-SHA256,AES256-GCM-SHA384,AES128-SHA,AES256-SHA
ALPS: offers h2
SSL OUT b'\x16\x03\x01\x02\x10'
TLSv1.2 (OUT), TLS handshake, Client hello (1):
SSL OUT b'\x01\x00\x02\x0c\x03\x03\xac\xfbl"\xf3\x95^\xb1\x85\xa2\x96\xae \x820\x93dS\xca\xe0h\xea\x9dI\x1f\x0e\xc2\\\xfe\xc1\x0c\xad J\x9a[1@\x8b3\x05\xa5IX\xb0\xdbl\x97}q\xa4\'\x9c/\xd7@\xbd\xc0/\xb6\x8b/`\xaeY\x00 \xaa\xaa\x13\x01\x13\x02\x13\x03\xc0+\xc0/\xc0,\xc00\xcc\xa9\xcc\xa8\xc0\x13\xc0\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\xa3\xaa\xaa\x00\x00\x00\x10\x00\x0e\x00\x0c\x02h2\x08http/1.1\x00-\x00\x02\x01\x01\x00\x1b\x00\x03\x02\x00\x02\x00#\x00\x00\x00\x0b\x00\x02\x01\x00\x00\r\x00\x12\x00\x10\x04\x03\x08\x04\x04\x01\x05\x03\x08\x05\x05\x01\x08\x06\x06\x01\x00\x17\x00\x00Di\x00\x05\x00\x03\x02h2\x00+\x00\x07\x06::\x03\x04\x03\x03\x00\x12\x00\x00\xff\x01\x00\x01\x00\x00\x05\x00\x05\x01\x00\x00\x00\x00\xfe\r\x00\xda\x00\x00\x01\x00\x01\xa2\x00 >\xb8\xe8l\xe9\xb2RG\xa9X\xc6\xea?\xdet\n}\xf9\x7fC\x84]B\xcd\xe0\xd2\xf8U\x9b\x8c\xa5<\x00\xb0\xfd\xa4\x0b\xb5!x\xe7\r]"\x83\x85\xcb\xa6\xec|\'\xbc\xbf\x00t\x08C\x16g\xe3\xf0\t\x92\x98zt\x8a\xb4\xa07\x08\xee\x1b@y\xfbG\xb9.c\xc6w&\x06E]\xac0Zpo\xad\xf6S\xde\xb6\x10\x8d\xef\xbcAs(a\x0b\xffqu.\x9e\x7fipN{\xd5\xd0\xac\xe4\xae\x8dZ\xd6\x1b\xe1B\xada\x08\x0f\x0b\xc4\xfe\xac\x07\xda\xf7Y\xca\xa7\xc8\xd13\xbb)\xc2\xe4\x05r\xed\xa1\x02\xbc\xf7]\xde\xf0\xe5\xc5\xfd\x98?\xba\x1aW\x83E \x88\xd2\xb41P1\xa5\xde\xb6?M\x1b\xf3\x17\x8f\x94)\xd1\x96\x9f\x9e\xd1FztL\xe2\xbe\x86\x03p\x82\x0b\xc0\xd9\nE\x882\xa3\xd5?\x00\x00\x00\x12\x00\x10\x00\x00\rwww.jcrew.com\x003\x00+\x00)\n\n\x00\x01\x00\x00\x1d\x00 \xee@\xf1 \x8f\xa9W[\xd2`)(\x8enu|\xa4gB@M\xf8\x0e\xbc\x85\xd1\xca@\xb4\xdcAA\x00\n\x00\n\x00\x08\n\n\x00\x1d\x00\x17\x00\x18jj\x00\x01\x00'
CAfile: /Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/certifi/cacert.pem
CApath: none
SSL OUT b'\x16\x03\x03\x00z'
TLSv1.2 (IN), TLS handshake, Server hello (2):
SSL OUT b"\x02\x00\x00v\x03\x03(\x1c;\x9e\xe3\xef\xcc\xbf\xe9\xc6\xa1^\xf3\xd4vz;6q\xb8\xb9\xb4\x0c\x975\xe8\xe2\xa2\x8e\x85\xbb\x1c J\x9a[1@\x8b3\x05\xa5IX\xb0\xdbl\x97}q\xa4'\x9c/\xd7@\xbd\xc0/\xb6\x8b/`\xaeY\x13\x02\x00\x00.\x00+\x00\x02\x03\x04\x003\x00$\x00\x1d\x00 \x9f\xc1#\x8b\xab\xc8\x8aw\xcc\x15\xb6\xe5\xf5\xdb\xde\xb8\xcb,O\xc7\x82\x8b\x11\xbbi\x9c\x8f\xaa\xd9\xc6\xa6d"
SSL OUT b'\x14\x03\x03\x00\x01'
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
SSL OUT b'\x01'
SSL OUT b'\x14\x03\x03\x00\x01'
SSL OUT b'\x17\x03\x03\x00.'
TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
SSL OUT b'\x08\x00\x00\x19\x00\x17\x00\x00\x00\x00\x00\n\x00\x06\x00\x04\x00\x17\x00\x1d\x00\x10\x00\x05\x00\x03\x02h2'
SSL OUT b'\x17\x03\x03\x0e6'
TLSv1.3 (IN), TLS handshake, Certificate (11):
SSL OUT b'\x0b\x00\x0e!\x00\x00\x0e\x1d\x00\x07\xa50\x82\x07\xa10\x82\x06\x89\xa0\x03\x02\x01\x02\x02\x10\rV\x862\xb4+(\x12%\xf6\xa1q-\xa1J\x180\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000^1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1\x1d0\x1b\x06\x03U\x04\x03\x13\x14GeoTrust RSA CA 20180\x1e\x17\r240730000000Z\x17\r250403235959Z0o1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x110\x0f\x06\x03U\x04\x08\x13\x08New York1\x110\x0f\x06\x03U\x04\x07\x13\x08New York1"0 \x06\x03U\x04\n\x13\x19J. Crew International Inc1\x160\x14\x06\x03U\x04\x03\x13\rwww.jcrew.com0\x82\x01"0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x82\x01\x0f\x000\x82\x01\n\x02\x82\x01\x01\x00\xb4\xc3\x08,\xe7 \xa7\xd7?\xb6\xb9\xbe\xbd/\xaf\x01\x01Z\xac\xea\xc7\x93!\xcf\x18\xbd\xd2\xacr\x873\x98X\tH_-\xb1\x11\xb3m\xf5\xad\xc7~\x8c\x08XX\xc1\x83\x02\x92\xcfH#\xed\xc2\xa5\t\xc4\xb6\x8e\x85\xb8f\xcc\x0cl\x1c\t0\xef\x05Q\x89u^\xd0\xab\n\x13p\xf0\xa1G\x8f\xdcI\xbd7t\xc0\x07$\x9f\x93\x10\xd1\xd6m\xf3\xd2\x13\x80\x9d\x0c\xaa#\xe4\x1e\xf31[Jqf\xb4\xf6(U\xc3O\xf5\xcd:\xb1\xf9w\xaf\x91K\x02\xd7\x92\r\xa0O\x99\xd7N\xa8\x04-\x1eP\x12\x8at\x83\xd9\x1a4y\xc8q\xf8D\xa1\xbb\xfei\x84\x86C\x88\xbcw\xfc\xcd\xe1i\xc6\xb8\xceTo\xb7\xd0\t\x82\xd0[\xa0\xc8l\x88\xbb\x8c\xc5\xd2\x8cGp\xab\xf9E\xd1\x11A/Gh\t)Q\xe6\x9az?\xe8\xdf\xbb\xbe\xa9\x86r\x01\xc6\x0c\x16\xa9\xb4\x8f\xab\xeb\x8b\x05\x08%\xe0\x92u>\x1a\x0b\x99\xfb\x18|\xb4a\xf4w\xdc\xc0\x1b\xbaK~\xec\xa2\xe6\xe3\xafa\x02\x03\x01\x00\x01\xa3\x82\x04H0\x82\x04D0\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc50\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x7fI\x96`\xc8<\t\xe2\xe1F\xb5\x1b\x11\xcb\x94YB0\xbc\xd80\x82\x01K\x06\x03U\x1d\x11\x04\x82\x01B0\x82\x01>\x82\rwww.jcrew.com\x82\x0eblog.jcrew.com\x82\x0echat.jcrew.com\x82\x0ffonts.jcrew.com\x82\x0fhello.jcrew.com\x82\x10images.jcrew.com\x82\x14interfaces.jcrew.com\x82\x14jc-loyalty.jcrew.com\x82\tjcrew.com\x82\x0ejobs.jcrew.com\x82\x0bm.jcrew.com\x82\x15marketplace.jcrew.com\x82\x12services.jcrew.com\x82\x18stores.factory.jcrew.com\x82\x10stores.jcrew.com\x82\x1astoresqa.factory.jcrew.com\x82\x12storesqa.jcrew.com0>\x06\x03U\x1d \x0470503\x06\x06g\x81\x0c\x01\x02\x020)0\'\x06\x08+\x06\x01\x05\x05\x07\x02\x01\x16\x1bhttp://www.digicert.com/CPS0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x05\xa00\x1d\x06\x03U\x1d%\x04\x160\x14\x06\x08+\x06\x01\x05\x05\x07\x03\x01\x06\x08+\x06\x01\x05\x05\x07\x03\x020>\x06\x03U\x1d\x1f\x0470503\xa01\xa0/\x86-http://cdp.geotrust.com/GeoTrustRSACA2018.crl0u\x06\x08+\x06\x01\x05\x05\x07\x01\x01\x04i0g0&\x06\x08+\x06\x01\x05\x05\x070\x01\x86\x1ahttp://status.geotrust.com0=\x06\x08+\x06\x01\x05\x05\x070\x02\x861http://cacerts.geotrust.com/GeoTrustRSACA2018.crt0\x0c\x06\x03U\x1d\x13\x01\x01\xff\x04\x020\x000\x82\x01}\x06\n+\x06\x01\x04\x01\xd6y\x02\x04\x02\x04\x82\x01m\x04\x82\x01i\x01g\x00u\x00Nu\xa3\'\\\x9a\x10\xc38[l\xd4\xdf?R\xeb\x1d\xf0\xe0\x8e\x1b\x8di\xc0\xb1\xfad\xb1b\x9a9\xdf\x00\x00\x01\x91\x04A\xd8|\x00\x00\x04\x03\x00F0D\x02 p^.)]&\x1bl\xf2\x10Is\xff\xf7H\xd7$\xd3\xee\x1f\xff\xabYN\xe9\x99\xd6\xd5c\xd42\xea\x02 J\xca\x08UV\xc5\xd8\xb2F\xf0\x95\xc7\x08r\xe4\x19\xb0\xc9\xcd\n&\x89\x8aM"\xa5\xbcR\x99\xd0y\xed\x00v\x00}Y\x1e\x12\xe1x*{\x1cag|^\xfd\xf8\xd0\x87\\\x14\xa0N\x95\x9e\xb9\x03/\xd9\x0e\x8c.y\xb8\x00\x00\x01\x91\x04A\xd8/\x00\x00\x04\x03\x00G0E\x02!\x00\xc2\x92\xe1\xcf\xd2\xc2\xdc\xf2\xa0\x08\xd6\x87\xff\xf0\x86\xdav-\x16a\'l\xb2\xa6o\xcf\xba\x9c;\xef\n\x1e\x02 v\x93X\xec\x06\x01\xc4f\xf1\x1f\xd3a\x858A\x01<;\xbd\xb4V*Aq\xc2c\xd4\n =\xef\x18\x00v\x00\xe6\xd21c@w\x8c\xc1\x10A\x06\xd7q\xb9\xce\xc1\xd2@\xf6\x96\x84\x86\xfb\xba\x872\x1d\xfd\x1e7\x8eP\x00\x00\x01\x91\x04A\xd8H\x00\x00\x04\x03\x00G0E\x02!\x00\xdc\x91\xa3z\x10|\x7f\x8a\x84\xb7\xe8\xff\x1c\xfe\xc7\xdf<DU\\\x17*os\xe3\xd6\x17\x11\x7f\x96\xa3^\x02 \t\x05\x91M\xeer\xbb;\xc6\xaf\x880\x0cdF\xab\xa8\xca\xc4c\xe0I\x94\xa5RU\xfe\xe0\xb0(\x17\xbe0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x00I\xedq\xdc*\xda\xdf\xb9G\x96RG|\x84\x94\x11\x1e\x8f\x91\xc1!Aq$\xf8\xcb\x01\xc49\xf9[\xe3\xc3!\x1dv\xb0\xefx\xcehC\xcb\xc6o\xe46\xa4EM\x19M\x81BE\xca\x80=\x98B;\x98\xa1\x8f\xe0\xbb\xa1\xc9z\x06\x9d\x1d\xe6\xfdh\x9b\xac\x94\xfdC|\xa6:\xc3\x915\xcd\xc7r\x81\xd7\x01\xef\xca\xde.\xed\x8f\x04>\x07|Z\xd1\x0c\xc8\x8d%\x84\x1du\xa2[\x9e\xdf\xf4U\xa6[\x0f\xcaq\x9d\x9fK\xe7\xaax\\\xf0\xca\x15\xc6\xa1\xc3\xea+6p\xe3*|\xf2\xcf\xda\xdb*\xa9-(\xa6\xe6\n\xd6\x1f\xb6\x0b&\x14Hs\xf6\x9c\xd5\x98\x95i\xfaB\xca\xc2wd\xc3\xf7`\xb0#,\xbeO$!\x8fP|\x9b\x84\xee\xd9\x8en\x81\xb4\x00\xa4\x94\xbc\x01\x8dB0\xbd\xe0?9y^C\xdc\x06\x19&\xf2a\x1d\xc9\x83\x132\xf8x\xdf\x81\x8e\x9doB\xef\xae+\xd9\xb5jW\xac\x93\xe8\xc5\xdfG\xd9\xcfNz.\xed\x06\x0c\xf9\xfd\xbf\x1a\x08V\x91\x01\xdf\x00\x05\x01\xdb\x01\x00\x01\xd70\x82\x01\xd3\n\x01\x00\xa0\x82\x01\xcc0\x82\x01\xc8\x06\t+\x06\x01\x05\x05\x070\x01\x01\x04\x82\x01\xb90\x82\x01\xb50\x81\x9e\xa2\x16\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc5\x18\x0f20250123024256Z0s0q0I0\t\x06\x05+\x0e\x03\x02\x1a\x05\x00\x04\x14wz{\xa8w\xd6\xf1\x0f\x1c\xe9 !\x96\xfbk\x1an7\xf5\xed\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc5\x02\x10\rV\x862\xb4+(\x12%\xf6\xa1q-\xa1J\x18\x80\x00\x18\x0f20250123022702Z\xa0\x11\x18\x0f20250130012702Z0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x00\x13\x0c\xec+Bf]\x87zl\xf9\xdeG\xd4\x90\xb5\xb4\xbf\x8e\xb50\x19\x0e\x9dE\xc5\xe9\xd5Z:\xae9!0|\xdbR\xd1}|e7\x80\x00|\xa8\xf5\x8ao\x8d\x9fw\x89\x13\xe3\xefxu\xa9\xf9\xd8\x84j\xd1g\xfbb?\x1e\\\x99\x18i|\x04\xb6}\xd3\xa3\\\xd9\xbd\x86<\x91R\xb6S\xe2\xf8\x14\xc1\xf9}+IGl\xbd\x86\x7f\x94u\x05lu`\x0e\xae\'\x98\\\xa0\xd4/o,\x10C\xad\xe9\n\x1f qH0\xcc\xa2\x05Y\r\x94xEBOFi\xb9\xa5\x952\xcf\xfd\xbe4\tG\xeef\xf3\xa6z.\xdf"\x8f\xcd\xc3I\xc3\xdah\xe0\xab2\x15\xf0\xa36UL\xb2\x92\x87\x9e\xa0\x14\x1b\x07\xd4F\x01F\xf9ym\xb5x\x00V\x12\x0eE\x1d\x9eX\xc3x*\xbbi\xd5#\x83f\x9b\xc8(\xdf\x9c\x86=f\xe0&\x91k\x0eh\xb7\xe2\x85SuSZ\n\x95\xc9\xc0\x0e\x12\xf6\xc1\x8c%p\x0f\x03\x0b<\xd8c\xf0\x15\xd3vu2\xb2\r\xc1W+\x00\x04\x8f0\x82\x04\x8b0\x82\x03s\xa0\x03\x02\x01\x02\x02\x10\x05F\xfe\x18#\xf7\xe1\x94\x1d\xa3\x9f\xce\x14\xc4as0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1 0\x1e\x06\x03U\x04\x03\x13\x17DigiCert Global Root CA0\x1e\x17\r171106122345Z\x17\r271106122345Z0^1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1\x1d0\x1b\x06\x03U\x04\x03\x13\x14GeoTrust RSA CA 20180\x82\x01"0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x82\x01\x0f\x000\x82\x01\n\x02\x82\x01\x01\x00\xbf\x8a\xd1cM\xe1\x18\xea\x87]\xe8\x16<\x8f\x7f\xb6\xbe\x87\x177\xa4\x0c\xf81?\x9fET@!\xd7\x9d\x07\x9b\xca\x03#J\xbd\x9b\xed\x85\x02c?\x9f\x85\xb9\xec(\xef\xf2\x86"\xdb\xf8MTA\xc5\xb4B\x7f\xcf3\x17\x01\x0e\x82\x90R\xd3\xc74\xa4\xc1\xa1\x01\xda2\xa0@\xad\x1fY\xe43\xfc\xa0\xc3\x96\xachl\xd3\xe8\x99s\x8c&\x10w\xcb\xb7?92\xe8\xd2Y(\xee\x07\x86\xe2\t;\x85\xf8\xaai\xf6\xa9k\x9fX\xadr\xc8[\x87f\xae\x08\xe0t\xfb-SCb\x83=\x8f\x85L\x11\x97\xdc\x1e\xfcP0\xb8\x83\x082^\\\\\xc4\xe1u J\xeb\xa5\xd6u-\xdc-}|\xe0\xd0\xfe|u\xa1N@\x02\x84\x9a\xd9\rZ.\xa0\xac\xf35\x8a*\xea\xd6ZZl\x8e,\xab\xf6\xde\xfdxG&yz\xaa"\xea\xa9\xe6q\x12\x03\xd3\xf8\xbaS\xd2y\x9c\xbdd\xac\xf6\x1bc\xbbM\x8f8\x02\xf8\xf0W]\xc5\xaa%Z\x0c]\xc50\xfe S\x19l\xe9\xc3\x02\x03\x01\x00\x01\xa3\x82\x01@0\x82\x01<0\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc50\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x03\xdeP5V\xd1L\xbbf\xf0\xa3\xe2\x1b\x1b\xc3\x97\xb2=\xd1U0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x01\x860\x1d\x06\x03U\x1d%\x04\x160\x14\x06\x08+\x06\x01\x05\x05\x07\x03\x01\x06\x08+\x06\x01\x05\x05\x07\x03\x020\x12\x06\x03U\x1d\x13\x01\x01\xff\x04\x080\x06\x01\x01\xff\x02\x01\x0004\x06\x08+\x06\x01\x05\x05\x07\x01\x01\x04(0&0$\x06\x08+\x06\x01\x05\x05\x070\x01\x86\x18http://ocsp.digicert.com0B\x06\x03U\x1d\x1f\x04;0907\xa05\xa03\x861http://crl3.digicert.com/DigiCertGlobalRootCA.crl0=\x06\x03U\x1d \x0460402\x06\x04U\x1d \x000*0(\x06\x08+\x06\x01\x05\x05\x07\x02\x01\x16\x1chttps://www.digicert.com/CPS0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x000\xf1\x87U=\x84\x08\xfc.^j\xba|\xd2\xcd\xd5,\xe3\xbe\x02\xda]\x89w\xed\xf4\xe9V\xc0\x92\xf0*U-E\xf7\x1c*?\x10[\xf3\xe9\xe1\xbe\xe1\xe9\x00%\xb9\xf7\xa3\xc1\x03\x1b\xe3\x9eN\x8e\x92\x1b\t\x95R\xf9\xac\x18\xfd\x1f)\x01\x8b\x17\ns4\xf4g\x12U\xee"\xbc\xcb0\xca\x80\x99?\xfb\xcf\x12\x7f\xcb=\x18G\x85\xd8\x14>O\x0c\x94?{\xf5\x11\xa8Ql\xfb\xa8`0\xa8\x90\xa1\x8bo.E\xdb7\xb6\x1c~\xbd\x16Y!\xb12g\xad\x8d\xa3KI?;\x12\x19,\xfc\x9d\x0f\xff\x8c\xff\x01#\n\xf3\x04\x05\x07\xe5g\x01\x01\xb9\xaf\x81g\xeb)\xcb\xaf\xf8\xfc\x86>\xa4\\s\x84\xf9\xe59s\xac\x19\xf3\x036w\xa0)h\xf5\xf4\xef;\xd3\xee\x88s\n\xac.\x95\xeah"\xd2\xcd\xack\xf8\x1b^S\xc2\x0f\xd6v\xe1u\x0c\xc4\x91%\xc0\x85S\x0e\xe2\x81\xd1\x0e\x180\xc9g\xa4\xdf\xd0\n\x12x\x07@\x05\xb1\x0f\x83SCB;\xe7\xfb\xf1w\xfb\x00\x00'
SSL OUT b'\x17\x03\x03\x01\x19'
TLSv1.3 (IN), TLS handshake, CERT verify (15):
SSL OUT b'\x0f\x00\x01\x04\x08\x04\x01\x00\x0e\x9d\xe19\xf028\xac\x07ua\x14)Y\x02\xc2p\xd8\xc9\xf1\xab\xe0\xcf\xd6\xd7\x92s\xbb\x00@^\x0c\xfc\x82\x7f);\x87\xa1R!c\x97\x7f\xe2\r6g_\x13\xbf\x14\xd0R\xed\x8a\xd2\xf2\x95e|\x19}\xb9\xcc\xdd\x03\x00H\x02U\xc5\xdbC\x80Z\x1d.\xca\x00\xf1\xabo\x1c\x0cF\x10\xd3\x1a \x87\x7f\xb7\xfd#\xc2\xbb\xc5\x0f(\x1b\xbb\xeeH\xc1\xf0\xae\x05;\x9d\xa7\xa0W\x86\xb1e\xc1\n\xa5Q\xf5\x9a\x04\x97\xaa\xed.I\xd6\xb1\xaeG\x9c\x8cX\x8f\x82\xdc\x0c\xe92\x83s#>@\x97\'\xc8\xa2\x08\xd2\xdc\'\x8c\xd4\t\xdal\xcdMg\xd6\xb6\x94/\x9fU\xb3]F1\x1e\xfeS\x06\xa2\xd7I\xab\x9e\xbc7"+\xfa\xf0\xacs\x9a`FT8\xb68\x11\xc8\xe3\xe5h\x89\xdb3\x00\xc0\x90\xfb\xdc\xee\x06\x15%\x18\xb6\x8a4\xa0\xd0{\xeb\xa9\xd1\xb5\xf3\xa0b\x8d\'u\x12\xdeTRxj\x08\x8b=d\xb5\x14\xfd\xb3\xe5\x99\xea\x87\x01B\xa5>\x99\xbd@\xdb'
SSL OUT b'\x17\x03\x03\x00E'
TLSv1.3 (IN), TLS handshake, Finished (20):
SSL OUT b'\x14\x00\x000;\x9e\xa0\x9f\x9a\t\xafi\xc5\x0f?v\x7f\x7f\x00W\x87 ~3\xcd\xf5\x825\x81\xeb\xa8\xcf\xb5\xe9\xfd+\xdd\x13\xd9\x95\xa7\xbb\t\xf8Q"3\xe5lS\xef\xb9'
TLSv1.3 (OUT), TLS handshake, Finished (20):
SSL OUT b'\x14\x00\x000L\xea+\x05\x99\x8fK\x06tR\xd3\xe2]\x18\xa1\x13\xac\x11\xef\x03\nGd\xc3\x84\x05\xcaz%fW\xe2\xd6\xb2\xacX\xe0u\x8eH\xf1\xe0\xa7\x86\x95y\xf1\xe2'
SSL OUT b'\x17\x03\x03\x00E'
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / [blank] / UNDEF
ALPN: server accepted h2
Server certificate:
subject: C=US; ST=New York; L=New York; O=J. Crew International Inc; CN=www.jcrew.com
start date: Jul 30 00:00:00 2024 GMT
expire date: Apr  3 23:59:59 2025 GMT
subjectAltName: host "www.jcrew.com" matched cert's "www.jcrew.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
SSL OUT b'\x17\x03\x03\x00W'
using HTTP/2
[HTTP/2] [1] OPENED stream for https://www.jcrew.com/
[HTTP/2] [1] [:method: GET]
[HTTP/2] [1] [:authority: www.jcrew.com]
[HTTP/2] [1] [:scheme: https]
[HTTP/2] [1] [:path: /]
[HTTP/2] [1] [sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"]
[HTTP/2] [1] [sec-ch-ua-mobile: ?0]
[HTTP/2] [1] [sec-ch-ua-platform: "macOS"]
[HTTP/2] [1] [upgrade-insecure-requests: 1]
[HTTP/2] [1] [user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[HTTP/2] [1] [accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8]
[HTTP/2] [1] [sec-fetch-site: none]
[HTTP/2] [1] [sec-fetch-mode: navigate]
[HTTP/2] [1] [sec-fetch-user: ?1]
[HTTP/2] [1] [sec-fetch-dest: document]
[HTTP/2] [1] [accept-encoding: gzip, deflate]
[HTTP/2] [1] [accept-language: en]
SSL OUT b'\x17\x03\x03\x01\x83'
GET / HTTP/2
Host: www.jcrew.com
sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: en

Request completely sent off
SSL OUT b'\x17\x03\x03\x01\x1a'
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
SSL OUT b"\x04\x00\x01\x05\x00\x01D\x9c\xca\x08\x10\x89\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00&^\x98\xfdp\xba1\xb7\xf5\x12\x8e\xbc\xce\x12\xe1A\xf9\x00\xe6^\xf2\xe1\x1f\xbb\xc0\xf7U\xca\x96\xe7\x06\xb0!W\xbc\x1cWy\xe7\x85\xde\xf9\x1el;\xf51\xcbE\x88\xc9\x94VF\xaeY'\xff\x11)\x89i\xda\xd6mG\x18\x13)\x01\xa8\x16\x11\xd6m\xdb?Q)\xbc1\\\xae\xe5\xea\xcd\xbb>\xa3\xc4\xe8RK\xfc\xae\x9c\xabJ\n=\xa4\xb8\x021\xd7\x12\x1b\xf0\x85\x92\xbd\xfbz!K4\xa7\xcbPB\xb7\xf5\xf4,\x85\x98\x90\xc1\x14\xf6\xf7X\xdc!\x9c\xff<x\xf8\xe3\xc4\xba%^=\x15B\x0by\xfe\xe3\xca:U\xd8\x99{R\xdfT\x1bAow\xd9\xcf\xa6\xf4\xd8\xdb\xa1-\x87\x96\xb1\xbbr_S\xf5\x969\x811\x1f+<V\xd9\xf6\xbes\x87\xc3\rbPL\xeb\x1aG\xe9\xfc\xd3$\x87\xc2\x17\x02\xca\xa1\x18\x81B\xfe\xf7\x7f\xe5\xd3}\xea\xd7\xc7\xbf\x04%q\xddXb\xfdX\xc7\xe4e \x83;\x00\x00"
SSL OUT b'\x17\x03\x03\x01\x1a'
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
SSL OUT b'\x04\x00\x01\x05\x00\x01D\x9c=h\xf7X\x08\x00\x00\x00\x00\x00\x00\x00\x01\x00\xf0\x00\x00&^\x98\xfdp\xba1\xb7\xf5\x12\x8e\xbc\xce\x12\xa9\x16\xb7>\xc4\xe7(F\xfb\xbf\xc2K\x7f\xb2n\xdcR}t\xbc\x08\xe2\x07\xf7d\xc5`\xf8_G\x13\xb7\xca\x8dB[\xd5\xff G\xee\xbd\xf1V\x0f=\x0fxD|W\xf2\x7fC[\xf5\x99s\x9b\x1c\x15h\xbdQ\x01\xe5\x14\x86+\xdd\xf8\xd0\x8dv\x01\\\xf2\x7f\xfd_`\xa4\xedy-\xba\xdb\xca\x1a!\x18k\x06\xfb@\x00\xb35~\xfbq\x86\x07\x9b\xb8\xc4\x8epa\xe1\x15\xd9\x9c\xfb=\xc5\xf7\xe8\x997\xd3(`!\xa6\xcd\xea\x03-\xb2;\x14\xfc\x94e\x85\n\xbc\xeaw\x15l\x91\xbc\xe0TA\xee\x93\xe6\xcaE\xc3\xf2-\x08\xea\xdc\x14\xd3\x0b\xbbb\xc9\x95\xfc%\xd1\xf6t\xefG\xc5[\x9f\xd8\\\xd2\xaf\xaa\x8b\xd4#RZd\xc0\xc8\x13\x12\xc9\x97w>\xb0=\xde\xe5\xa4iF\xe0o\xc0\x8d"\xf2FK\xfd\xacL\xa9o\x86\'\xb0\xfb\xa9qE^9\x0c\x00\x00'
old SSL session ID is stale, removing
SSL OUT b'\x17\x03\x03\x008'
SSL OUT b'\x17\x03\x03\x00\x1a'
SSL OUT b'\x17\x03\x03\x04\xe1'
HTTP/2 302 
...
For 0.8.1b9
/Users/devfox/.virtualenvs/auto-scraper/bin/python /Users/devfox/projects/scraper/scratch/check_curl.py 
Trying 18.171.192.193:3128...
Connected to 18.171.192.193 (18.171.192.193) port 3128
CONNECT tunnel: HTTP/1.1 negotiated
allocate connect buffer
Establish HTTP proxy tunnel to www.jcrew.com:443
CONNECT www.jcrew.com:443 HTTP/1.1
Host: www.jcrew.com:443
Proxy-Connection: Keep-Alive

HTTP/1.1 200 Connection established

CONNECT phase completed
CONNECT tunnel established, response 200
ALPN: curl offers h2,http/1.1
Cipher selection: TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305,ECDHE-RSA-AES128-SHA,ECDHE-RSA-AES256-SHA,AES128-GCM-SHA256,AES256-GCM-SHA384,AES128-SHA,AES256-SHA
ALPS: offers h2
SSL OUT b'\x16\x03\x01\x02\x00'
TLSv1.2 (OUT), TLS handshake, Client hello (1):
SSL OUT b'\x01\x00\x01\xfc\x03\x03\x80n\xe9\xff,13G\x86\r\x01\xca"?K6\xb9F(\xce\xf6\x8fb_?v\x95\xc3\xa3x\xe8\xf7 \xe8\x06G\xfbC\x1d}\xd8\xdcv\xe9^\xc6\xdb@3o\xb2F\xfc(\xb7\x06\xee\xcc\x9b\x8d\xc3\x99\xdd\x85Y\x00 \xda\xda\x13\x01\x13\x02\x13\x03\xc0+\xc0/\xc0,\xc00\xcc\xa9\xcc\xa8\xc0\x13\xc0\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93\xda\xda\x00\x00\x00\n\x00\n\x00\x08\x8a\x8a\x00\x1d\x00\x17\x00\x18\xfe\r\x00\xba\x00\x00\x01\x00\x01z\x00 \xed\xcb\xec\x1f/E\xa6J\x84\xc0A\n[j,\x9f\xe8\xa8\xd2\xb7C\x80\x9c\xfa\xb9G+\x1f4\xf6p;\x00\x90\xe3V\x88G\x9a\x07X+\x10\x17fP\x0b\xa7\x828\x9c\xf6\xff1\xfb\xb9\x9bV\xfe\x0f\xee\xb4.\x0b\xcd(T\xe8\xa7pP@\'\xbb\x8e\xcc\xbe\xc1D:F\xc7\xb6\xf8\xd19x:\x1f\x14-U4%\x1e7\xc8\x0f\xab\xefa\xe4X;\xfa\x0ce\x80\xe1\x83n\xf5\x82\x7f\xd8\xf9\x08\xf1\x9f!ex\xf3\xf4RY:$\xb4\x9c\xccBt\'\xf5\x01\xb3\t\xd0\xeb\xcaB\xdbq\xf7\x1a\x81\\\xc7\x1a\xd8\x1dF\xb1c\xf6oE>4;\xdae(\xe0\xbc(c\xa6\xb9?\x8f\x84\xa4}c\x93xDi\x00\x05\x00\x03\x02h2\x00\x00\x00\x12\x00\x10\x00\x00\rwww.jcrew.com\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00+\x00\x07\x06\n\n\x03\x04\x03\x03\x00\x0b\x00\x02\x01\x00\x00\x1b\x00\x03\x02\x00\x02\x00#\x00\x00\x00\x12\x00\x00\x00-\x00\x02\x01\x01\x003\x00+\x00)\x8a\x8a\x00\x01\x00\x00\x1d\x00 Acov\xc1o\x0b\xbc\xb2>fb@\x002\xaa\xf9\xe4\xfd^\xffU\xe6\x84In\x02\x1e\n\x85\xb1r\x00\x17\x00\x00\xff\x01\x00\x01\x00\x00\r\x00\x12\x00\x10\x04\x03\x08\x04\x04\x01\x05\x03\x08\x05\x05\x01\x08\x06\x06\x01\x00\x10\x00\x0e\x00\x0c\x02h2\x08http/1.1\x1a\x1a\x00\x01\x00\x00\x15\x00\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
CAfile: /Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/certifi/cacert.pem
CApath: none
SSL OUT b'\x16\x03\x03\x00z'
TLSv1.2 (IN), TLS handshake, Server hello (2):
SSL OUT b'\x02\x00\x00v\x03\x03\xce\xda2\xd6\xd9nZ^\xa4\xc9\xec\x97?J\x97\xf1<\xf8\xc1\x9b\x8d\xa4O\xe7T\xc3\xcfk\xb6uQ\x11 \xe8\x06G\xfbC\x1d}\xd8\xdcv\xe9^\xc6\xdb@3o\xb2F\xfc(\xb7\x06\xee\xcc\x9b\x8d\xc3\x99\xdd\x85Y\x13\x02\x00\x00.\x00+\x00\x02\x03\x04\x003\x00$\x00\x1d\x00 ?\xdc\x88\xa8\xdcKR\x15\xba\x1e%m\x98g\x9c\xa2\\\xd9N\x00\xe1\x8f=\x97r\n\x06v)Z\xfe\x01'
SSL OUT b'\x14\x03\x03\x00\x01'
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
SSL OUT b'\x01'
SSL OUT b'\x14\x03\x03\x00\x01'
SSL OUT b'\x17\x03\x03\x00.'
TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
SSL OUT b'\x08\x00\x00\x19\x00\x17\x00\x00\x00\x00\x00\n\x00\x06\x00\x04\x00\x17\x00\x1d\x00\x10\x00\x05\x00\x03\x02h2'
SSL OUT b'\x17\x03\x03\x0e6'
TLSv1.3 (IN), TLS handshake, Certificate (11):
SSL OUT b'\x0b\x00\x0e!\x00\x00\x0e\x1d\x00\x07\xa50\x82\x07\xa10\x82\x06\x89\xa0\x03\x02\x01\x02\x02\x10\rV\x862\xb4+(\x12%\xf6\xa1q-\xa1J\x180\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000^1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1\x1d0\x1b\x06\x03U\x04\x03\x13\x14GeoTrust RSA CA 20180\x1e\x17\r240730000000Z\x17\r250403235959Z0o1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x110\x0f\x06\x03U\x04\x08\x13\x08New York1\x110\x0f\x06\x03U\x04\x07\x13\x08New York1"0 \x06\x03U\x04\n\x13\x19J. Crew International Inc1\x160\x14\x06\x03U\x04\x03\x13\rwww.jcrew.com0\x82\x01"0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x82\x01\x0f\x000\x82\x01\n\x02\x82\x01\x01\x00\xb4\xc3\x08,\xe7 \xa7\xd7?\xb6\xb9\xbe\xbd/\xaf\x01\x01Z\xac\xea\xc7\x93!\xcf\x18\xbd\xd2\xacr\x873\x98X\tH_-\xb1\x11\xb3m\xf5\xad\xc7~\x8c\x08XX\xc1\x83\x02\x92\xcfH#\xed\xc2\xa5\t\xc4\xb6\x8e\x85\xb8f\xcc\x0cl\x1c\t0\xef\x05Q\x89u^\xd0\xab\n\x13p\xf0\xa1G\x8f\xdcI\xbd7t\xc0\x07$\x9f\x93\x10\xd1\xd6m\xf3\xd2\x13\x80\x9d\x0c\xaa#\xe4\x1e\xf31[Jqf\xb4\xf6(U\xc3O\xf5\xcd:\xb1\xf9w\xaf\x91K\x02\xd7\x92\r\xa0O\x99\xd7N\xa8\x04-\x1eP\x12\x8at\x83\xd9\x1a4y\xc8q\xf8D\xa1\xbb\xfei\x84\x86C\x88\xbcw\xfc\xcd\xe1i\xc6\xb8\xceTo\xb7\xd0\t\x82\xd0[\xa0\xc8l\x88\xbb\x8c\xc5\xd2\x8cGp\xab\xf9E\xd1\x11A/Gh\t)Q\xe6\x9az?\xe8\xdf\xbb\xbe\xa9\x86r\x01\xc6\x0c\x16\xa9\xb4\x8f\xab\xeb\x8b\x05\x08%\xe0\x92u>\x1a\x0b\x99\xfb\x18|\xb4a\xf4w\xdc\xc0\x1b\xbaK~\xec\xa2\xe6\xe3\xafa\x02\x03\x01\x00\x01\xa3\x82\x04H0\x82\x04D0\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc50\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x7fI\x96`\xc8<\t\xe2\xe1F\xb5\x1b\x11\xcb\x94YB0\xbc\xd80\x82\x01K\x06\x03U\x1d\x11\x04\x82\x01B0\x82\x01>\x82\rwww.jcrew.com\x82\x0eblog.jcrew.com\x82\x0echat.jcrew.com\x82\x0ffonts.jcrew.com\x82\x0fhello.jcrew.com\x82\x10images.jcrew.com\x82\x14interfaces.jcrew.com\x82\x14jc-loyalty.jcrew.com\x82\tjcrew.com\x82\x0ejobs.jcrew.com\x82\x0bm.jcrew.com\x82\x15marketplace.jcrew.com\x82\x12services.jcrew.com\x82\x18stores.factory.jcrew.com\x82\x10stores.jcrew.com\x82\x1astoresqa.factory.jcrew.com\x82\x12storesqa.jcrew.com0>\x06\x03U\x1d \x0470503\x06\x06g\x81\x0c\x01\x02\x020)0\'\x06\x08+\x06\x01\x05\x05\x07\x02\x01\x16\x1bhttp://www.digicert.com/CPS0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x05\xa00\x1d\x06\x03U\x1d%\x04\x160\x14\x06\x08+\x06\x01\x05\x05\x07\x03\x01\x06\x08+\x06\x01\x05\x05\x07\x03\x020>\x06\x03U\x1d\x1f\x0470503\xa01\xa0/\x86-http://cdp.geotrust.com/GeoTrustRSACA2018.crl0u\x06\x08+\x06\x01\x05\x05\x07\x01\x01\x04i0g0&\x06\x08+\x06\x01\x05\x05\x070\x01\x86\x1ahttp://status.geotrust.com0=\x06\x08+\x06\x01\x05\x05\x070\x02\x861http://cacerts.geotrust.com/GeoTrustRSACA2018.crt0\x0c\x06\x03U\x1d\x13\x01\x01\xff\x04\x020\x000\x82\x01}\x06\n+\x06\x01\x04\x01\xd6y\x02\x04\x02\x04\x82\x01m\x04\x82\x01i\x01g\x00u\x00Nu\xa3\'\\\x9a\x10\xc38[l\xd4\xdf?R\xeb\x1d\xf0\xe0\x8e\x1b\x8di\xc0\xb1\xfad\xb1b\x9a9\xdf\x00\x00\x01\x91\x04A\xd8|\x00\x00\x04\x03\x00F0D\x02 p^.)]&\x1bl\xf2\x10Is\xff\xf7H\xd7$\xd3\xee\x1f\xff\xabYN\xe9\x99\xd6\xd5c\xd42\xea\x02 J\xca\x08UV\xc5\xd8\xb2F\xf0\x95\xc7\x08r\xe4\x19\xb0\xc9\xcd\n&\x89\x8aM"\xa5\xbcR\x99\xd0y\xed\x00v\x00}Y\x1e\x12\xe1x*{\x1cag|^\xfd\xf8\xd0\x87\\\x14\xa0N\x95\x9e\xb9\x03/\xd9\x0e\x8c.y\xb8\x00\x00\x01\x91\x04A\xd8/\x00\x00\x04\x03\x00G0E\x02!\x00\xc2\x92\xe1\xcf\xd2\xc2\xdc\xf2\xa0\x08\xd6\x87\xff\xf0\x86\xdav-\x16a\'l\xb2\xa6o\xcf\xba\x9c;\xef\n\x1e\x02 v\x93X\xec\x06\x01\xc4f\xf1\x1f\xd3a\x858A\x01<;\xbd\xb4V*Aq\xc2c\xd4\n =\xef\x18\x00v\x00\xe6\xd21c@w\x8c\xc1\x10A\x06\xd7q\xb9\xce\xc1\xd2@\xf6\x96\x84\x86\xfb\xba\x872\x1d\xfd\x1e7\x8eP\x00\x00\x01\x91\x04A\xd8H\x00\x00\x04\x03\x00G0E\x02!\x00\xdc\x91\xa3z\x10|\x7f\x8a\x84\xb7\xe8\xff\x1c\xfe\xc7\xdf<DU\\\x17*os\xe3\xd6\x17\x11\x7f\x96\xa3^\x02 \t\x05\x91M\xeer\xbb;\xc6\xaf\x880\x0cdF\xab\xa8\xca\xc4c\xe0I\x94\xa5RU\xfe\xe0\xb0(\x17\xbe0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x00I\xedq\xdc*\xda\xdf\xb9G\x96RG|\x84\x94\x11\x1e\x8f\x91\xc1!Aq$\xf8\xcb\x01\xc49\xf9[\xe3\xc3!\x1dv\xb0\xefx\xcehC\xcb\xc6o\xe46\xa4EM\x19M\x81BE\xca\x80=\x98B;\x98\xa1\x8f\xe0\xbb\xa1\xc9z\x06\x9d\x1d\xe6\xfdh\x9b\xac\x94\xfdC|\xa6:\xc3\x915\xcd\xc7r\x81\xd7\x01\xef\xca\xde.\xed\x8f\x04>\x07|Z\xd1\x0c\xc8\x8d%\x84\x1du\xa2[\x9e\xdf\xf4U\xa6[\x0f\xcaq\x9d\x9fK\xe7\xaax\\\xf0\xca\x15\xc6\xa1\xc3\xea+6p\xe3*|\xf2\xcf\xda\xdb*\xa9-(\xa6\xe6\n\xd6\x1f\xb6\x0b&\x14Hs\xf6\x9c\xd5\x98\x95i\xfaB\xca\xc2wd\xc3\xf7`\xb0#,\xbeO$!\x8fP|\x9b\x84\xee\xd9\x8en\x81\xb4\x00\xa4\x94\xbc\x01\x8dB0\xbd\xe0?9y^C\xdc\x06\x19&\xf2a\x1d\xc9\x83\x132\xf8x\xdf\x81\x8e\x9doB\xef\xae+\xd9\xb5jW\xac\x93\xe8\xc5\xdfG\xd9\xcfNz.\xed\x06\x0c\xf9\xfd\xbf\x1a\x08V\x91\x01\xdf\x00\x05\x01\xdb\x01\x00\x01\xd70\x82\x01\xd3\n\x01\x00\xa0\x82\x01\xcc0\x82\x01\xc8\x06\t+\x06\x01\x05\x05\x070\x01\x01\x04\x82\x01\xb90\x82\x01\xb50\x81\x9e\xa2\x16\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc5\x18\x0f20250123024256Z0s0q0I0\t\x06\x05+\x0e\x03\x02\x1a\x05\x00\x04\x14wz{\xa8w\xd6\xf1\x0f\x1c\xe9 !\x96\xfbk\x1an7\xf5\xed\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc5\x02\x10\rV\x862\xb4+(\x12%\xf6\xa1q-\xa1J\x18\x80\x00\x18\x0f20250123022702Z\xa0\x11\x18\x0f20250130012702Z0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x00\x13\x0c\xec+Bf]\x87zl\xf9\xdeG\xd4\x90\xb5\xb4\xbf\x8e\xb50\x19\x0e\x9dE\xc5\xe9\xd5Z:\xae9!0|\xdbR\xd1}|e7\x80\x00|\xa8\xf5\x8ao\x8d\x9fw\x89\x13\xe3\xefxu\xa9\xf9\xd8\x84j\xd1g\xfbb?\x1e\\\x99\x18i|\x04\xb6}\xd3\xa3\\\xd9\xbd\x86<\x91R\xb6S\xe2\xf8\x14\xc1\xf9}+IGl\xbd\x86\x7f\x94u\x05lu`\x0e\xae\'\x98\\\xa0\xd4/o,\x10C\xad\xe9\n\x1f qH0\xcc\xa2\x05Y\r\x94xEBOFi\xb9\xa5\x952\xcf\xfd\xbe4\tG\xeef\xf3\xa6z.\xdf"\x8f\xcd\xc3I\xc3\xdah\xe0\xab2\x15\xf0\xa36UL\xb2\x92\x87\x9e\xa0\x14\x1b\x07\xd4F\x01F\xf9ym\xb5x\x00V\x12\x0eE\x1d\x9eX\xc3x*\xbbi\xd5#\x83f\x9b\xc8(\xdf\x9c\x86=f\xe0&\x91k\x0eh\xb7\xe2\x85SuSZ\n\x95\xc9\xc0\x0e\x12\xf6\xc1\x8c%p\x0f\x03\x0b<\xd8c\xf0\x15\xd3vu2\xb2\r\xc1W+\x00\x04\x8f0\x82\x04\x8b0\x82\x03s\xa0\x03\x02\x01\x02\x02\x10\x05F\xfe\x18#\xf7\xe1\x94\x1d\xa3\x9f\xce\x14\xc4as0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1 0\x1e\x06\x03U\x04\x03\x13\x17DigiCert Global Root CA0\x1e\x17\r171106122345Z\x17\r271106122345Z0^1\x0b0\t\x06\x03U\x04\x06\x13\x02US1\x150\x13\x06\x03U\x04\n\x13\x0cDigiCert Inc1\x190\x17\x06\x03U\x04\x0b\x13\x10www.digicert.com1\x1d0\x1b\x06\x03U\x04\x03\x13\x14GeoTrust RSA CA 20180\x82\x01"0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\x00\x03\x82\x01\x0f\x000\x82\x01\n\x02\x82\x01\x01\x00\xbf\x8a\xd1cM\xe1\x18\xea\x87]\xe8\x16<\x8f\x7f\xb6\xbe\x87\x177\xa4\x0c\xf81?\x9fET@!\xd7\x9d\x07\x9b\xca\x03#J\xbd\x9b\xed\x85\x02c?\x9f\x85\xb9\xec(\xef\xf2\x86"\xdb\xf8MTA\xc5\xb4B\x7f\xcf3\x17\x01\x0e\x82\x90R\xd3\xc74\xa4\xc1\xa1\x01\xda2\xa0@\xad\x1fY\xe43\xfc\xa0\xc3\x96\xachl\xd3\xe8\x99s\x8c&\x10w\xcb\xb7?92\xe8\xd2Y(\xee\x07\x86\xe2\t;\x85\xf8\xaai\xf6\xa9k\x9fX\xadr\xc8[\x87f\xae\x08\xe0t\xfb-SCb\x83=\x8f\x85L\x11\x97\xdc\x1e\xfcP0\xb8\x83\x082^\\\\\xc4\xe1u J\xeb\xa5\xd6u-\xdc-}|\xe0\xd0\xfe|u\xa1N@\x02\x84\x9a\xd9\rZ.\xa0\xac\xf35\x8a*\xea\xd6ZZl\x8e,\xab\xf6\xde\xfdxG&yz\xaa"\xea\xa9\xe6q\x12\x03\xd3\xf8\xbaS\xd2y\x9c\xbdd\xac\xf6\x1bc\xbbM\x8f8\x02\xf8\xf0W]\xc5\xaa%Z\x0c]\xc50\xfe S\x19l\xe9\xc3\x02\x03\x01\x00\x01\xa3\x82\x01@0\x82\x01<0\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x90X\xff\xb0\x9cu\xa8QTw\xb1\xed\xf2\xa3C\x168\x9el\xc50\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x03\xdeP5V\xd1L\xbbf\xf0\xa3\xe2\x1b\x1b\xc3\x97\xb2=\xd1U0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x01\x860\x1d\x06\x03U\x1d%\x04\x160\x14\x06\x08+\x06\x01\x05\x05\x07\x03\x01\x06\x08+\x06\x01\x05\x05\x07\x03\x020\x12\x06\x03U\x1d\x13\x01\x01\xff\x04\x080\x06\x01\x01\xff\x02\x01\x0004\x06\x08+\x06\x01\x05\x05\x07\x01\x01\x04(0&0$\x06\x08+\x06\x01\x05\x05\x070\x01\x86\x18http://ocsp.digicert.com0B\x06\x03U\x1d\x1f\x04;0907\xa05\xa03\x861http://crl3.digicert.com/DigiCertGlobalRootCA.crl0=\x06\x03U\x1d \x0460402\x06\x04U\x1d \x000*0(\x06\x08+\x06\x01\x05\x05\x07\x02\x01\x16\x1chttps://www.digicert.com/CPS0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x00\x03\x82\x01\x01\x000\xf1\x87U=\x84\x08\xfc.^j\xba|\xd2\xcd\xd5,\xe3\xbe\x02\xda]\x89w\xed\xf4\xe9V\xc0\x92\xf0*U-E\xf7\x1c*?\x10[\xf3\xe9\xe1\xbe\xe1\xe9\x00%\xb9\xf7\xa3\xc1\x03\x1b\xe3\x9eN\x8e\x92\x1b\t\x95R\xf9\xac\x18\xfd\x1f)\x01\x8b\x17\ns4\xf4g\x12U\xee"\xbc\xcb0\xca\x80\x99?\xfb\xcf\x12\x7f\xcb=\x18G\x85\xd8\x14>O\x0c\x94?{\xf5\x11\xa8Ql\xfb\xa8`0\xa8\x90\xa1\x8bo.E\xdb7\xb6\x1c~\xbd\x16Y!\xb12g\xad\x8d\xa3KI?;\x12\x19,\xfc\x9d\x0f\xff\x8c\xff\x01#\n\xf3\x04\x05\x07\xe5g\x01\x01\xb9\xaf\x81g\xeb)\xcb\xaf\xf8\xfc\x86>\xa4\\s\x84\xf9\xe59s\xac\x19\xf3\x036w\xa0)h\xf5\xf4\xef;\xd3\xee\x88s\n\xac.\x95\xeah"\xd2\xcd\xack\xf8\x1b^S\xc2\x0f\xd6v\xe1u\x0c\xc4\x91%\xc0\x85S\x0e\xe2\x81\xd1\x0e\x180\xc9g\xa4\xdf\xd0\n\x12x\x07@\x05\xb1\x0f\x83SCB;\xe7\xfb\xf1w\xfb\x00\x00'
SSL OUT b'\x17\x03\x03\x01\x19'
TLSv1.3 (IN), TLS handshake, CERT verify (15):
SSL OUT b'\x0f\x00\x01\x04\x08\x04\x01\x00;J\x82\xae\xb5\xd3\x1dE\x8b\x003U\xc6 \xed\x02\n\x8b\xd5\xbf9\xa6\xdd\xcc\x86\x9f\xbc\xee\x948\xd5\x9a\x18\x8e\x85\xf4\xd9\xd5`\xec\xf1%*\xdcL\x8a\xc5b.Q$\xa3\x05\x98\x15\x16\xf3\xae\xfa\xec#Z@\x99\xeb\x86:\x93\x82\x08\xed\xc95|\xcfp\xc8=\x15\xb0@\xd4?5\x19^T\xb0\xcd\x98\xf0\xc9\xecB\xed9\x82D\xf9\xdae\x15"(\xfa\xa2\x15\xc1\x9dn\xd4\xec\x9a\x99\x1dN\x0bM@9\xa1\xd9\x8e\xec\x8b\x03\xfc\x94\x1b\x8b\xbe@\xcf#\xac0T\xf1\x85\xea\x8fV\xc7\x7f\xa9\x158-\xe5\xc88\xc3$\x06\x83\x89\x0e\x89\xff\x9d\xec\xa9\xd1\x1ebw \x1b*%\x05?*\x7fx\x95\xfc\x15y\x97\x94\x93\xbe\t~e\xf2\xc8\xd3\xd7[\xbc\x87\x94h\x97\xfd\x8dx=\xa8\x80GNJ\xad\xb4u\xbe\xd3\x12\xebC\xdfz\xcf\x8bJFGONR$A\xdc\x9ci\xd3\xbf$\xe5^;C*\xa3\x11\x95\x8bH\x9f\x03\xe3Z\xb4rT#\xb93\xb0\xee\x9c\xda\xc7'
SSL OUT b'\x17\x03\x03\x00E'
TLSv1.3 (IN), TLS handshake, Finished (20):
SSL OUT b'\x14\x00\x0003nk\xc7\x10pA\x8eC\xa2M\xdd\x9d\x99\x15\x88\x907\xdf\xd1\xc8\xdc\x9b\xa2\xc3\xb3\x1a\xc1\x98\x16\xb0u\xb03\xf1\xb0\x96]\x98\x95"\xec\x8f\xe7\xed&\x81\x07'
TLSv1.3 (OUT), TLS handshake, Finished (20):
SSL OUT b"\x14\x00\x000a\xa7\xba,S\x1d\xc6\x14\xee=\x9bQ\x86\xb5\x1c\x9f\xfa\x01\xf5w\x94qi3\xa1\xf7\x99\xc8\xa6o\xc2@O\xa7HV\x1a\xbb<\xebz\xd7\t'vQ\xf0k"
SSL OUT b'\x17\x03\x03\x00E'
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / [blank] / UNDEF
ALPN: server accepted h2
Server certificate:
subject: C=US; ST=New York; L=New York; O=J. Crew International Inc; CN=www.jcrew.com
start date: Jul 30 00:00:00 2024 GMT
expire date: Apr  3 23:59:59 2025 GMT
subjectAltName: host "www.jcrew.com" matched cert's "www.jcrew.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
SSL certificate verify ok.
SSL OUT b'\x17\x03\x03\x00W'
using HTTP/2
[HTTP/2] [1] OPENED stream for https://www.jcrew.com/
[HTTP/2] [1] [:method: GET]
[HTTP/2] [1] [:authority: www.jcrew.com]
[HTTP/2] [1] [:scheme: https]
[HTTP/2] [1] [:path: /]
[HTTP/2] [1] [sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"]
[HTTP/2] [1] [sec-ch-ua-mobile: ?0]
[HTTP/2] [1] [sec-ch-ua-platform: "macOS"]
[HTTP/2] [1] [upgrade-insecure-requests: 1]
[HTTP/2] [1] [user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
[HTTP/2] [1] [accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8]
[HTTP/2] [1] [sec-fetch-site: none]
[HTTP/2] [1] [sec-fetch-mode: navigate]
[HTTP/2] [1] [sec-fetch-user: ?1]
[HTTP/2] [1] [sec-fetch-dest: document]
[HTTP/2] [1] [accept-encoding: gzip, deflate]
[HTTP/2] [1] [accept-language: en]
[HTTP/2] [1] [content-type: application/octet-stream]
SSL OUT b'\x17\x03\x03\x01\x95'
GET / HTTP/2
Host: www.jcrew.com
sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: en
Content-Type: application/octet-stream

Request completely sent off
SSL OUT b'\x17\x03\x03\x01\x1a'
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
SSL OUT b'\x04\x00\x01\x05\x00\x01D\x9c\xd2nH4\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00&^\x98\xfdp\xba1\xb7\xf5\x12\x8e\xbc\xce\x12\x1f:b\xa6\x18\x92>\xbc\xaa3^\xecM\xf5\x13\xc7!\xe2\x0eh\x06/\xaa\x92\xc9)\xedTq\xc7\xb2iS\x92g\x89!\x82\xdf\x04\x89\xb77\x90\x11\xb5.\x06b\x0f\xebo\xff\x0c5\'\xff\x85^\xdc!\xe5R\x99\x14K\xabC_Me\x04Q\xac\xbc\x0e\xdc[\xf4A\x0b\xfb\'\x8d\xd1p~\x8de\xb1\xe4\xd7p\x1b\xfaL,\x18\x90\x8e\xd7u\x0c\xcaWT\x8c\x0e\x9a\xaa\xd2\xd9a\x82\xa8*\xadH<\xbb\r\xfb\xe4C\xbc,\x10gr\x17\x1a\xaa\xf8F;z\x81\xaaTt\xaf\x8ae\x93\x14\x02\xd0\xa1v|\x97\xc4lh\xde\x13\x12d\x87"\xdf\'`\xd1\xbb[&/\xbf\x1c\x97\xf0w~i{_P\x84/g}\xe2\x8c2\x16\x8f\xe5{n\x8e\x9e!\x84"\xe7J\xda\xdc\xa4\x9d0\x1e\xa6J\xff]T\x96\xab\'.~T\xc3\xe8m\xa3S\xab\rot\xd0\x00\x00'
SSL OUT b'\x17\x03\x03\x01\x1a'
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
SSL OUT b'\x04\x00\x01\x05\x00\x01D\x9c&\xbe\xdb\x0c\x08\x00\x00\x00\x00\x00\x00\x00\x01\x00\xf0\x00\x00&^\x98\xfdp\xba1\xb7\xf5\x12\x8e\xbc\xce\x129`\xa9\x87\xae\xd2\n\x9b\xe8\xff/M\xbb\x9f\xdb\xfd\x93\xb7&\xa0.z)\xa5\xfc\xa0\xcc0\x88\x06\x1a\xf1\xa3\x07\xd2I4\x83*e\x12o\xbe\xfc>@\xa5\xeb\x11\x96\xea\x96I\x11\xef<\xbc$\xec\xd1\xbe<\xe6\xd3\x021\xa9,\x06\x81\xd2\xed:\xd854p\xde\xbb\xda \xb4`d\x8dLa.\xff\xc6\xcf\x8eO\xaa\xf5z\xc6X\xdbS\xcfHQ\xc6\xdbM\x93\x08X\xdd`\x11\x94f\x0e1\xce\xdc\x95\xc0<^\xa8%\xe6*\xa0\x12k\x7fG\xd1Y[L%a\x9e\x7fa\xea\x06\xba\'\xd48\n\xb5\xe6\xf1\x88m\xb4\x03\xb0\xb1\xf0\xf6X$\x14Q"\xf2"[\x0b\xe1cq\xed=M\xf9\xb2H\xf1\x17]\x10\xdeO\xc7\xe0\xe1H+J\xa0t\xa3\xd3\xe2\xeeat\xbd\xb5\x98\x98#\xe4*\x0c6\xfa\x9d\x87Rp~L\xb5:\xdb\xf0\xf9#\xc7p\xc4o\xd9u\x00\x00'
old SSL session ID is stale, removing
SSL OUT b'\x17\x03\x03\x008'
SSL OUT b'\x17\x03\x03\x00\x1a'
SSL OUT b'\x17\x03\x03\x00\x1a'
SSL OUT b'\x17\x03\x03\x00\x1e'
HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Connection #0 to host 18.171.192.193 left intact



Traceback (most recent call last):
File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/requests/session.py", line 571, in request
  c.perform()
File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/curl.py", line 307, in perform
  self._check_error(ret, "perform")
File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/curl.py", line 150, in _check_error
  raise error
curl_cffi.curl.CurlError: Failed to perform, curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2). See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/devfox/projects/scraper/scratch/check_curl.py", line 20, in <module>
  r = client.request(**request_args)  # ERROR raised
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/devfox/.virtualenvs/auto-scraper/lib/python3.12/site-packages/curl_cffi/requests/session.py", line 576, in request
  raise error(str(e), e.code, rsp) from e
curl_cffi.requests.exceptions.HTTPError: Failed to perform, curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2). See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

Process finished with exit code 1

Versions

  • OS: macOS Sequoia
  • curl_cffi version: 0.7.3
@devfox-se devfox-se added the bug Something isn't working label Oct 26, 2024
@lexiforest
Copy link
Owner

Can you still reproduce this with 0.7.4?

@lexiforest lexiforest changed the title Regression after v0.7.1 proxy not working with v0.7.2 Dec 30, 2024
@devfox-se
Copy link
Author

@lexiforest thank you for your response, yes I still have this issue on 0.7.4 whilst the older 0.7.1 still works

@devfox-se
Copy link
Author

@lexiforest I have added debug logs in the description if that will help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants