FlorianREGAZ / Python-Tls-Client

Advanced HTTP Library
MIT License
660 stars 136 forks source link

tls_client.exceptions.TLSClientExeption: failed to do request||| unknown extension with id 22 provided #60

Closed louissiu198 closed 1 year ago

louissiu198 commented 1 year ago

tls_client.exceptions.TLSClientExeption: failed to do request||| unknown extension with id 22 provided i 'got this error with tls client for session.post session = tls_client.Session(

client_identifier="chrome110",

        ja3_string=self.getJA3(headers),
        h2_settings={"HEADER_TABLE_SIZE": 65536,"MAX_CONCURRENT_STREAMS": 1000,"INITIAL_WINDOW_SIZE": 6291456,"MAX_HEADER_LIST_SIZE": 262144},
        h2_settings_order=["HEADER_TABLE_SIZE","MAX_CONCURRENT_STREAMS","INITIAL_WINDOW_SIZE","MAX_HEADER_LIST_SIZE"],
        supported_signature_algorithms=["ECDSAWithP256AndSHA256","PSSWithSHA256","PKCS1WithSHA256","ECDSAWithP384AndSHA384","PSSWithSHA384","PKCS1WithSHA384","PSSWithSHA512","PKCS1WithSHA512",],
        supported_versions=["GREASE", "1.3", "1.2"],
        key_share_curves=["GREASE", "X25519"],
        cert_compression_algo="brotli",
        connection_flow=15663105
    )
    response = session.post(
        url="",
        headers=headers,
        proxy="")
louissiu198 commented 1 year ago

how to fix thx

SancheZzz69 commented 1 year ago

Same here. Did you solve it?

louissiu198 commented 1 year ago

i fixed it lmafo i thought my self so dumb