Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify node api ssl handshake error; alert no 40

Shopify node api ssl handshake error; alert no 40

hconner158
Shopify Partner
2 0 0

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.png

Replies 0 (0)