Shopify-api-node icon indicating copy to clipboard operation
Shopify-api-node copied to clipboard

SSL Handshake issue; SSL alert no:40

Open hughes6 opened this issue 1 year ago • 1 comments

Error fetching orders: RequestError: write EPROTO 30030000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1590:SSL alert number 40

I'm experiencing an SSL/TLS handshake failure (EPROTO) when trying to fetch orders from my Shopify store using Node.js. The error indicates that there may be an issue with the SSL/TLS connection, which I suspect is related to the ciphers and TLS versions being used. To troubleshoot the problem, I attempted several fixes: I updated my Node.js aTLS 1.2 compatible version, configured my HTTPS agent to specify strong ciphers and enforce TLS 1.2, and temporarily disabled certificate validation to isolate the issue. Additionally, I enabled debug logging for TLS connections to gather more information about the handshake process, but the issue persists. Ive attached an image of my code below. Any help would be greatly appreciated! Screenshot 2024-10-07 133938

hughes6 avatar Oct 07 '24 19:10 hughes6

Facing similar issue

taksuparth avatar Oct 22 '24 10:10 taksuparth