Skip to content

SSL Handshake issue; SSL alert no:40 #665

Open
@hughes6

Description

@hughes6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions