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

SSL Handshake issue; SSL alert no:40 #665

Open
ferretcheese opened this issue Oct 7, 2024 · 1 comment
Open

SSL Handshake issue; SSL alert no:40 #665

ferretcheese opened this issue Oct 7, 2024 · 1 comment

Comments

@ferretcheese
Copy link

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

@taksuparth
Copy link

Facing similar issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants