Danny-Dasilva / CycleTLS

Spoof TLS/JA3 fingerprints in GO and Javascript
GNU General Public License v3.0
823 stars 163 forks source link

uTlsConn.Handshake() error: remote error: tls: handshake failure #315

Closed NewStartMe closed 5 months ago

NewStartMe commented 5 months ago

Description

(async () => { // Initiate CycleTLS const cycleTLS = await initCycleTLS();

// Send request
const response = await cycleTLS('https://xxx', {
    body: 'xxx',
    ja3: ja3,
    userAgent: userAgent,
    headers: headers,
    cookies: cookies
    // proxy: 'http://username:password@hostname.com:443'
}, 'post');

console.log('status:', response.status, 'success:', response.body);
// Cleanly exit CycleTLS
cycleTLS.exit();

})(); i used in this way,but got error about.[ status: 0 success: ->uTlsConn.Handshake() error: remote error: tls: handshake failure ]

Issue Type

Others

Operating System

Mac OS

Node Version

Other

Golang Version

Other

Relevant Log Output

No response

lif0 commented 5 months ago

you may be sending an incorrect ja3, which is why the remote service responds with an error

lif0 commented 5 months ago

if you send me the ja3 you are spoof, maybe I can help you.

NewStartMe commented 5 months ago

if you send me the ja3 you are spoof, maybe I can help you.

You're right. Problem solved. Thank you very much!

lif0 commented 5 months ago

@Danny-Dasilva hi, i think this issue can be closed.