-
Notifications
You must be signed in to change notification settings - Fork 4
[Bug]: failed to do request: Get "https://get.ja3.zone/": tls: unknown ClientHelloID: Custom-1' #38
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
Labels
bug
Something isn't working
Comments
Hi @tngo-tool98, requestPayload = {
"followRedirects": False,
"insecureSkipVerify": False,
"withoutCookieJar": False,
"withDefaultCookieJar": False,
"isByteRequest": False,
"forceHttp1": False,
"catchPanics": False,
"withDebug": False,
"withRandomTLSExtensionOrder": False,
"timeoutSeconds": 30,
"timeoutMilliseconds": 0,
"sessionId": "2my-session-id",
"certificatePinningHosts": {},
"customTlsClient": {
"ja3String": "771,2570-4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,2570-0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-2570-21,2570-29-23-24,0",
"h2Settings": {
"HEADER_TABLE_SIZE": 65536,
"MAX_CONCURRENT_STREAMS": 1000,
"INITIAL_WINDOW_SIZE": 6291456,
"MAX_HEADER_LIST_SIZE": 262144
},
"h2SettingsOrder": [
"HEADER_TABLE_SIZE",
"MAX_CONCURRENT_STREAMS",
"INITIAL_WINDOW_SIZE",
"MAX_HEADER_LIST_SIZE"
],
"supportedSignatureAlgorithms": [
"ECDSAWithP256AndSHA256",
"PSSWithSHA256",
"PKCS1WithSHA256",
"ECDSAWithP384AndSHA384",
"PSSWithSHA384",
"PKCS1WithSHA384",
"PSSWithSHA512",
"PKCS1WithSHA512",
],
"supportedVersions": ["GREASE", "1.3", "1.2"],
"keyShareCurves": ["GREASE", "X25519"],
"certCompressionAlgos": ["brotli"],
"alpnProtocols": ["h2", "http/1.1"],
"alpsProtocols": ["h2"],
"pseudoHeaderOrder": [
":method",
":authority",
":scheme",
":path"
],
"connectionFlow": 15663105,
"priorityFrames": [],
"headerPriority": None,
},
"proxyUrl": "",
"isRotatingProxy": False,
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36",
"accept-encoding": "gzip, deflate, br",
"accept-language": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7"
},
"headerOrder": [
"accept",
"user-agent",
"accept-encoding",
"accept-language"
],
"requestUrl": "https://microsoft.com",
"requestMethod": "GET",
"requestBody": "",
"requestCookies": []
}
r = tls_requests.get("https://get.ja3.zone/", **requestPayload) or client = tls_requests.Client(**requestPayload)
r = client.get(url)
print(client.config.to_payload())
{'catchPanics': False,
'certificatePinningHosts': {},
'customTlsClient': {'ja3String': '771,2570-4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,2570-0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-2570-21,2570-29-23-24,0',
'h2Settings': {'HEADER_TABLE_SIZE': 65536,
'MAX_CONCURRENT_STREAMS': 1000,
'INITIAL_WINDOW_SIZE': 6291456,
'MAX_HEADER_LIST_SIZE': 262144},
'h2SettingsOrder': ['HEADER_TABLE_SIZE',
'MAX_CONCURRENT_STREAMS',
'INITIAL_WINDOW_SIZE',
'MAX_HEADER_LIST_SIZE'],
'supportedSignatureAlgorithms': ['ECDSAWithP256AndSHA256',
'PSSWithSHA256',
'PKCS1WithSHA256',
'ECDSAWithP384AndSHA384',
'PSSWithSHA384',
'PKCS1WithSHA384',
'PSSWithSHA512',
'PKCS1WithSHA512'],
'supportedVersions': ['GREASE', '1.3', '1.2'],
'keyShareCurves': ['GREASE', 'X25519'],
'certCompressionAlgos': ['brotli'],
'alpnProtocols': ['h2', 'http/1.1'],
'alpsProtocols': ['h2'],
'pseudoHeaderOrder': [':method', ':authority', ':scheme', ':path'],
'connectionFlow': 15663105,
'priorityFrames': [],
'headerPriority': None},
'followRedirects': False,
'forceHttp1': False,
'headerOrder': ['accept', 'user-agent', 'accept-encoding', 'accept-language'],
'headers': {'accept': '*/*',
'connection': 'keep-alive',
'user-agent': 'Python-TLS-Requests/1.1.4',
'accept-encoding': 'gzip, deflate, br, zstd'},
'insecureSkipVerify': False,
'isByteRequest': False,
'isByteResponse': True,
'isRotatingProxy': False,
'proxyUrl': '',
'requestBody': None,
'requestCookies': [],
'requestMethod': None,
'requestUrl': None,
'sessionId': '01e2b030-ac99-4d7d-bb2f-0da1ce2c8996',
'timeoutSeconds': 30,
'tlsClientIdentifier': None,
'withDebug': False,
'withDefaultCookieJar': False,
'withRandomTLSExtensionOrder': True,
'withoutCookieJar': False} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
TLS Requests version
wrapper-tls-requests==1.1.4
Issue description
Steps to reproduce / Code Sample
When I try to use a custom profile with the code above, I get the following error message
I already rechecked it by using the shared library: https://github.com/bogdanfinn/tls-client/blob/master/cffi_dist/example_python/example_custom_client.py, and it worked.
Could you please re-test it? I really don't know what’s wrong with my collected TLS fingerprint.
The text was updated successfully, but these errors were encountered: